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
I am trying the slim bindings approach for Forms (5.0.0.2515) and have added the Xamarin.Binding.Helpers Nuget to both my Android Binding Library and to the .Android project as per the instructions. (VS for Mac - Tried 2019 and 2022)
I am using the latest version of the Mapbox library (10.8.0).
When I run the app it launches fine, but when my Custom Renderer tries to call the init of the Binding library I get the below exception:
{Java.Lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/maps/MapView; ---> Java.Lang.ClassNotFoundException: Didn't find class "com.mapbox.maps.MapView" on path: DexPathList[[zip file "/data/app/com.test.mapboxtest-ggWWGq9F42iegDtVSeLtXA==/b…}
The error is thrown from the following line in the generated API Definition file:
Hi Jonathan,
I am trying the slim bindings approach for Forms (5.0.0.2515) and have added the Xamarin.Binding.Helpers Nuget to both my Android Binding Library and to the .Android project as per the instructions. (VS for Mac - Tried 2019 and 2022)
I am using the latest version of the Mapbox library (10.8.0).
When I run the app it launches fine, but when my Custom Renderer tries to call the init of the Binding library I get the below exception:
{Java.Lang.NoClassDefFoundError: Failed resolution of: Lcom/mapbox/maps/MapView; ---> Java.Lang.ClassNotFoundException: Didn't find class "com.mapbox.maps.MapView" on path: DexPathList[[zip file "/data/app/com.test.mapboxtest-ggWWGq9F42iegDtVSeLtXA==/b…}
The error is thrown from the following line in the generated API Definition file:
_members.InstanceMethods.FinishCreateInstance
(__id, this,__args);
The full method that is generated:
I can see the "package.targets" file is generated in "obj/debug/xbh" and all the aar's are copied to the "artefacts" subdirectory
any pointers on how to resolve this would be greatly appreciated!
The text was updated successfully, but these errors were encountered: