AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class'

网上写的原因:

1.问题分析:开始装了openjdk7,后面又装了jdk1.6.很可能是系统有jdk1.6.0 和jdk1.7不兼容导致。 

解决方法:卸载jdk1.6.0  即删除rm -rf jdk1.6.0_45/  并去除环境变量,编译正常。
2. If your environment variable CLASSPATH is set, the javap command would try to look in the CLASSPATH instead of the current dir. Thus no class is found. You may try to unset CLASSPATH and build again.(帖子链接:https://groups.google.com/forum/#!msg/android-building/HoNt0qixSfI/65fETnZPw_IJ)(需要梯子才打开该链接)

因为本人电脑里只有一个openjdk,所以不是第一种情况。所以在编译前unset CLASSPATH是我 的解决方法。

猜你喜欢

转载自blog.csdn.net/b1480521874/article/details/80107105