MG Android build process hangs indefinitely

Hi everyone,

I’m having a problem compiling any MG Android project after a fresh install of VS 2019 on Windows 7. When I create a brand new Android project and immediately press ‘build’, the compilation process starts but then hangs indefinitely and never finishes.

I’ve tried this both in a default MG Android project and a couple of my own projects I’m trying to update, and the same thing always happens. There’s no error - the build just gets stuck and never goes anywhere. Here’s an excerpt of a detailed build log in Visual Studio:

1>Done executing task "ConvertResourcesCases".
1>Task "Touch"
1>  Creating "obj\Debug\100\stamp\_ConvertResourcesCases.stamp" because "AlwaysCreate" was specified.
1>Done executing task "Touch".
1>Done building target "_ConvertResourcesCases" in project "Project1.csproj".
1>Target "_CalculateResourceFileName" in file "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Aapt2.targets" from project "C:\Users\George\Documents\Visual Studio 2019\Projects\Project1\Project1\Project1.csproj" (target "_CompileResources" depends on it):
1>Done building target "_CalculateResourceFileName" in project "Project1.csproj".
1>Target "_CompileResources" in file "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Aapt2.targets" from project "C:\Users\George\Documents\Visual Studio 2019\Projects\Project1\Project1\Project1.csproj" (target "_PrepareUpdateAndroidResgen" depends on it):
1>Building target "_CompileResources" completely.
1>Output file "obj\Debug\100\flat\drawable_icon.png.flat" does not exist.
1>Using "Aapt2Compile" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Build.Tasks.dll".
1>Task "Aapt2Compile"
1>  Executing compile -o C:\Users\George\Documents\Visual Studio 2019\Projects\Project1\Project1\obj\Debug\100\flat\ C:\Users\George\Documents\Visual Studio 2019\Projects\Project1\Project1\obj\Debug\100\res\drawable\icon.png
1>  Executing compile -o C:\Users\George\Documents\Visual Studio 2019\Projects\Project1\Project1\obj\Debug\100\flat\ C:\Users\George\Documents\Visual Studio 2019\Projects\Project1\Project1\obj\Debug\100\res\values\strings.xml

No clues as to why it just stops here (always on the ‘Aapt2Compile’ step). I should also say that I have Android Studio installed as well - is there any way this could interfere with the Xamarin install and cause problems for the MG build?

Thanks for your help.

Just wondering if anyone else has windows 7, and can confirm whether a simple default MG Android project compiles for them or not?