java.lang.NoClassDefFoundError: Failed resolution of: Lorg/osmdroid/bonuspack/R$layout;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by 2ndGAB
, 1 year ago
Failed resolution of: Lorg/osmdroid/DefaultResourceProxyImpl;
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/osmdroid/bonuspack/R$layout;
at org.osmdroid.bonuspack.overlays.Marker.(Marker.java:101)
at org.osmdroid.bonuspack.overlays.Marker.(Marker.java:67)
at org.osmdroid.bonuspack.kml.KmlPoint.buildOverlay(KmlPoint.java:86)
at org.osmdroid.bonuspack.kml.KmlPlacemark.buildOverlay(KmlPlacemark.java:124)
at org.osmdroid.bonuspack.kml.KmlFolder.buildOverlay(KmlFolder.java:160)
at org.osmdroid.bonuspack.kml.KmlFolder.buildOverlay(KmlFolder.java:160)
at com.example.demo.osmdroid.MainActivity.updateKML(MainActivity.java:107)
at com.example.demo.osmdroid.MainActivity.access$3(MainActivity.java:102)
at com.example.demo.osmdroid.MainActivity$putKML.onPostExecute(MainActivity.java:98)
at com.example.demo.osmdroid.MainActivity$putKML.onPostExecute(MainActivity.java:1)
at android.os.AsyncTask.finish(AsyncTask.java:651)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.