或者:

Error: Cannot determine signature for Bitmap


原因: javah 无法识别Android的bitmap

The Bitmap class belongs to the package "android.graphics.Bitmap", the javah tool does not recognize Android classes, so you must add the classpath option to javah command.


解决方法:

windows:

javah -classpath C:\PROGRA~2\Android\android-sdk\platforms\android-8\android.jar;. com.test.JniTest

linux/mac:

javah -classpath /Users/Android/android-sdk/platforms/android-xy/android.jar:. com.test.JniTest
参考:

http://stackoverflow.com/questions/22106539/android-ndk-javah-cannot-find-signature-for-bitmap?lq=1

http://stackoverflow.com/questions/7635624/android-javah-doesnt-find-my-class/7635758#7635758

更多相关文章

  1. android webview 中网页数据与js交互
  2. android studio 生成 release aar
  3. 参考注释郭霖老师的Android相机程序
  4. 【Android平台】 Alljoyn学习笔记四 Android(安卓)Core API参考
  5. Android的ListView,数据更新后自动scroll到底部。
  6. Android非UI线程访问UI线程的方法总结
  7. Windows下Eclipse 安装 android maven插件教程
  8. 2011.06.03(2)——— android 1.6 launcher研究之自定义ViewGroup
  9. 2011.06.03(2)——— android 1.6 launcher研究之自定义ViewGroup

随机推荐

  1. Android上传开源项目(Library)到Jcenter
  2. AS-->Android(安卓)Studio直接打开/导入/
  3. android 安全退出应用程序
  4. Android(安卓)ViewPager和Fragment实现仿
  5. android:duplicateParentState
  6. Xamarin.Android(安卓)自定义VideoView
  7. android2.3中webkit在webview的一个更新
  8. android 中findViewById()为null的可能原
  9. Android(安卓)PreferenceActivity浅析
  10. 自己编译 tess-two几个库文件用于android