Javah Android Studio Error: Unable to access android.support.v7.app.ActionBarActivity class file for android.support.v7.app.ActionBarActivity not found

I follow this guide to using NDK with Android Studio: http://www.ph0b.com/android-studio-gradle-and-ndk-integration/

I have Androidroid 0.9.3 installed, installed on windows 8, and I follow each step of the tutorial in the video, and in the step of creating the jni folder, I do this on the Android terminal:

D: \ ANDROID \ workspace \ NDKSample \ app \ src \ main> javah -d jni -classpath D: \ ANDROID \ kits \ sdk \ platform \ android-19 \ android.jar; D: \ ANDROID \ workspace \ NDKSample \ app \ build \ intermediates \ classes \ debug com.jihv.gildas.ndksample.MainActivity

and I have this error:

Error: cannot access android.support.v7.app.ActionBarActivity class file for android.support.v7.app.ActionBarActivity not found

Any help would be greatly appreciated.

thank

+4
2

jar classpath. D:\ANDROID\kits\sdk\extras\android\support\v7\appcompat\libs. android-support-v7-appcompat.jar android-support-v4.jar.

+7

android-support-v7-appcompat.jar, android-support-v4.jar android.jar,

D:\ANDROID\workspace\NDKSample\app\src\main > javah -d jni -classpath D:\ANDROID\kits\sdk\platform\android-19\android.jar; D:\ANDROID\kits\SDK\Extras\Android\\v7\AppCompat\\Android--v7-appcompat.jar; D:\Android\\SDK\Extras\Android\\v7\AppCompat\\Android--v4.jar; D:\ANDROID\workspace\NDKSample\app\build\intermediates\classes\debug com.jihv.gildas.ndksample.MainActivity

+2

All Articles