You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.
When I try to build my Xamarin.Android project, I get the following error:
error XA4212: Type Com.Mapbox.Services.Android.Location.LostLocationEngine implements Android.Runtime.IJavaObject but does not inherit Java.Lang.Object or Java.Lang.Throwable. This is not supported.
I was successful mitigating this error by putting the following in my project file: <PropertyGroup> <AndroidErrorOnCustomJavaObject>false</AndroidErrorOnCustomJavaObject> </PropertyGroup>
But if I do that, the app just crashes with: "'java.exe' exited with code 1".
The text was updated successfully, but these errors were encountered:
Error in obj\Debug\90\lp\1\jl\gson.jar:com/google/gson/annotations/JsonAdapter.class:
Type com.google.gson.annotations.JsonAdapter is defined multiple times: obj\Debug\90\lp\1\jl\gson.jar:com/google/gson/annotations/JsonAdapter.class, obj\Debug\90\lp\2\jl\gson-2.8.0.jar:com/google/gson/annotations/JsonAdapter.class
When I try to build my Xamarin.Android project, I get the following error:
error XA4212: Type
Com.Mapbox.Services.Android.Location.LostLocationEngine
implementsAndroid.Runtime.IJavaObject
but does not inheritJava.Lang.Object
orJava.Lang.Throwable
. This is not supported.I was successful mitigating this error by putting the following in my project file:
<PropertyGroup> <AndroidErrorOnCustomJavaObject>false</AndroidErrorOnCustomJavaObject> </PropertyGroup>
But if I do that, the app just crashes with: "'java.exe' exited with code 1".
The text was updated successfully, but these errors were encountered: