Search code examples
firebasexamarin.formsxamarin.android

Android in Xamarin.Forms can't compile after changing target framework


I have a Xamarin.Forms application. I changed the Target Framework version of the Android project from 10.0 (Q) to 12.0 (S). After that, I get error

"java.exe" exited with code 1.

I cannot find any solution that would work for me.

ADDED: OK, now I know it is Xamarin.FireBase.Analytics.Impl package that I need for Google Analytics that causes the error. But I don't know how to go around it...


Solution

  • For those who may have same issue, try to check the version of your package or remove the Xamarin.FireBase.Analytics.Impl like this one did.