javah 错误: 无法访问android.app.Activity问题解决

时间:2024-01-14 20:44:38

cd /Users/musictom/Documents/source/ky/app/build/intermediates/classes/debug

javah -jni -classpath /Users/musictom/Library/Android/sdk/platforms/android-25/android.jar:$ANDROID_HOME/extras/android/support/v4/android-support-v4.jar:$ANDROID_HOME/extras/android/support/v7/appcompat/libs/android-support-v7-appcompat.jar:/Users/musictom/Documents/source/ky/app/build/intermediates/classes/debug  -o ~/Native.h com.example.musictom.ky.Native