When upgrading to Xamarin.Forms 3.5 (which installs dependency Xamarin.Android.Support.* 28.0.0.1) can no longer build Droid project
Project successfully builds following upgrade
Project fails to build with errors
@daveclarke Can you make sure that you've cleaned your project (maybe delete the bin/obj folders) and try again? If that fails, could you send us a reproduction? Thanks!
@samhouts (& @pauldipietro) thanks for following up so promptly. Yes I had deleted all the bin/obj folders. After looking at the build output in more detail I found that I was using an old version of the Android SDK Build Tools. Installing the latest version of the build tools resolved the issue for me.
Hooray! Thank you for letting us know. If you have any further issues, we're here to help!
I am getting this exact error. I didn't have the build tools installed at all. I installed them.
Then the next error was this:
"java.exe exited with code 2"
I utilized this article and enabled multi-dex on to fix the error.
https://forums.xamarin.com/discussion/97803/getting-error-java-exe-exited-with-code-2
Most helpful comment
@samhouts (& @pauldipietro) thanks for following up so promptly. Yes I had deleted all the bin/obj folders. After looking at the build output in more detail I found that I was using an old version of the Android SDK Build Tools. Installing the latest version of the build tools resolved the issue for me.