When I install both Xamarin.Firebase.AppIndexing
and Xamarin.Firebase.Analytics
in my Xamain.Andriod
project, the build is always failed.
The build output
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2068,3): error MSB6006: "java.exe" exited with code 2.
If I uninstall AppIndexing or Analytics, the solution can be built again.
Can anyone help me to solve it? Thanks!