NoClassDefFoundError: Failed resolution of: Landroid/support/v7/appcompat/R$styleable
at android.support.v7.app.AppCompatDelegateImplV7.createSubDecor(AppCompatDelegateImplV7.java:336)
I get this error when trying to execute an Android app on a Genymotion VM simulator at API level 25
That class is not directly referenced by my code. There are classes in the android-support-v7-appcompat.jar that do.
For example:
android/support/v7/graphics/drawable/DrawerArrowDrawable
android/support/v7/widget/Toolbar
android/support/v7/view/ActionBarPolicy
The class is documented in the Android docs:
https://developer.android.com/reference/android/support/v7/appcompat/package-summary.html
Where is the definition of the R class when I execute my app? I expect the Android system to provide it.
Do I need to provide a jar file in the libs folder that has the R.class?
Note: I am using Eclipse, not Android Studio because AS does not run very well on my older/smaller/slower PC.
I have done lots of searches online and downloaded lots of jar files searching for a solution. No luck so far.
I have a tool to search jar files for classes and to search a selected class for all the references it makes and report on if the referenced classes are available on its classpath.
The R.java file is created by a development tool. Was it used to create the R class I'm having problems with?
Did the developer of the android.support.v7.appcompat package use a tool to create the R class? If so, where is it?