Javah Error android.app.Activity not found Try adding to your classpath: -classpath <android-sdk-location>/platforms/android-8.jar