开发者

javah not able to find android classes

开发者 https://www.devze.com 2023-01-26 16:08 出处:网络
When calling javah on a .java file in my android project, javah was unable to find the android classes (specifically android.graphics.Bitmap).

When calling javah on a .java file in my android project, javah was unable to find the android classes (specifically android.graphics.Bitmap).

here's the terminal output:

thomas@THOMASDESKLINUX:~$ javah -classpath .:/home/thomas/Documents/LinuxProgramming/EclipseWorkspace/RenderScene/b开发者_运维技巧in org.me.renderscene.Billboard
javadoc: error - In doclet class com.sun.tools.javah.MainDoclet,  method start has thrown an exception java.lang.reflect.InvocationTargetException
com.sun.tools.javac.code.Symbol$CompletionFailure: class file for android.graphics.Bitmap not found
1 error

help appreciated!


you need to add {android-sdk-path}\platforms\android-8\android.jar also to the classpath

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号