Xamarin.Android Version (eg: 6.0):
Android 10
Operating System & Version (eg: Mac OSX 10.11):
Windows 10, visual studio 19 16.7.2
Google Play Services Version
Xamarin.Firebase.Firestore v121.4.3-preview02
also tried (71.1705.4)
Describe your Issue
Immediately after adding this package, I get the build error MSB6006: "java.exe" exited with code 1. Which points to the Xamarin.Android.D8.targets(79,5) file and line 79 is the beginning D8 compiler code.
Edit:
after some investigation, i found that the issue is caused by having these packages at the same time:
<PackageReference Include="Xamarin.GooglePlayServices.Ads"> <Version>119.1.0-preview02</Version> </PackageReference>
and
<PackageReference Include="Xamarin.Firebase.Firestore"> <Version>121.4.3-preview02</Version> </PackageReference>
These two packages seem to be referencing different versions on Xamarin.GoogleplayServices.Base and that causes this error. I am forced to use that Xamarin.GooglePlayServices.Ads version because other versions cause this error ( #369 ). Any other version of Xamarin.Firebase.Firestore isn't working well
Relevant information
Add relevant project settings from *.csproj file:
Packages used:
<PackageReference Include="Acr.UserDialogs">
<Version>7.1.0.446</Version>
</PackageReference>
<PackageReference Include="IntelliAbb.Xamarin.Controls">
<Version>1.0.148</Version>
</PackageReference>
<PackageReference Include="PCLStorage">
<Version>1.0.2</Version>
</PackageReference>
<PackageReference Include="Plugin.InAppBilling">
<Version>2.0.0</Version>
</PackageReference>
<PackageReference Include="Plugin.LocalNotification">
<Version>5.0.6</Version>
</PackageReference>
<PackageReference Include="Plugin.Permissions">
<Version>6.0.1</Version>
</PackageReference>
<PackageReference Include="sqlite-net-pcl">
<Version>1.7.335</Version>
</PackageReference>
<PackageReference Include="Xam.Plugin.LatestVersion">
<Version>1.1.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Fragment">
<Version>1.2.4.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Fragment">
<Version>1.2.4.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Migration">
<Version>1.0.6.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.Essentials">
<Version>1.5.3.2</Version>
</PackageReference>
<PackageReference Include="Xamarin.Firebase.Firestore">
<Version>121.4.3-preview02</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms">
<Version>4.8.0.1269</Version>
</PackageReference>
<PackageReference Include="Xamarin.GooglePlayServices.Ads">
<Version>119.1.0-preview02</Version>
</PackageReference>
<PackageReference Include="Xamarin.AndroidX.Migration" Version="1.0.0-preview03" />
Build settings (tools)
<AndroidDexTool>d8</AndroidDexTool>
Steps to Reproduce (with link to sample solution if possible):
install these two packages in the project then build & deploy.
<PackageReference Include="Xamarin.GooglePlayServices.Ads"> <Version>119.1.0-preview02</Version> </PackageReference>
and
<PackageReference Include="Xamarin.Firebase.Firestore"> <Version>121.4.3-preview02</Version> </PackageReference>
Include any relevant Exception Stack traces, build logs, adb logs:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(79,5): error MSB6006: "java.exe" exited with code 1.
Xamarin.Android Version (eg: 6.0):
Android 10
Operating System & Version (eg: Mac OSX 10.11):
Windows 10, visual studio 19 16.7.2
Google Play Services Version
Xamarin.Firebase.Firestore v121.4.3-preview02
also tried (71.1705.4)
Describe your Issue
Immediately after adding this package, I get the build error MSB6006: "java.exe" exited with code 1. Which points to the Xamarin.Android.D8.targets(79,5) file and line 79 is the beginning D8 compiler code.
Edit:
after some investigation, i found that the issue is caused by having these packages at the same time:
<PackageReference Include="Xamarin.GooglePlayServices.Ads"> <Version>119.1.0-preview02</Version> </PackageReference>and
<PackageReference Include="Xamarin.Firebase.Firestore"> <Version>121.4.3-preview02</Version> </PackageReference>These two packages seem to be referencing different versions on
Xamarin.GoogleplayServices.Baseand that causes this error. I am forced to use that Xamarin.GooglePlayServices.Ads version because other versions cause this error ( #369 ). Any other version ofXamarin.Firebase.Firestoreisn't working wellRelevant information
Add relevant project settings from
*.csprojfile:Packages used:
Build settings (tools)
Steps to Reproduce (with link to sample solution if possible):
install these two packages in the project then build & deploy.
<PackageReference Include="Xamarin.GooglePlayServices.Ads"> <Version>119.1.0-preview02</Version> </PackageReference>and
<PackageReference Include="Xamarin.Firebase.Firestore"> <Version>121.4.3-preview02</Version> </PackageReference>Include any relevant Exception Stack traces, build logs, adb logs:
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.D8.targets(79,5): error MSB6006: "java.exe" exited with code 1.