I have an application that uses analytics and Theme.AppCompat.Dialog, so, I use Xamarin.Android.Support.v7.AppCompat
The app is works.
Now, I want to add google ads. I did another test project and it works.
The "package nuget : Xamarin.GooglePlayServices.Ads" includes Xamarin.Android.Support.v4
When I add this to my real project, I can not build the app.
I have this error: "java.exe" exited with code 1.
In the output:
1>C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2118,3): error MSB6006: "java.exe" exited with code 1.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
I read everything I have seen in the forum related to that error but I have not fixed. Any advice?