AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class'
http://android.2317887.n4.nabble.com/AttributeError-JNIFromJavaP-object-has-no-attribute-fully-qualified-class-td288152.html
1 post
|
In reply to this post by Md Masuqur Rahman
在 2015年1月29日星期四 UTC+8上午1:54:34,Md Masuqur Rahman写道:
> Facing build problem of android-5.0.2_r1 version > > Following are my PC Configuration: > > - Fedora 20 > - openjdk-1.7.0.75 > - Python 2.7.7 > > Please help me to find out the problem. > > During build its shows Following Error: > > target thumb C++: gpu_command_buffer_common_gyp <= external/chromium_org/gpu/command_buffer/common/gles2_cmd_format.cc > Traceback (most recent call last): > File "../../base/android/jni_generator/jni_generator.py", line 1511, in <module> > sys.exit(main(sys.argv)) > File "../../base/android/jni_generator/jni_generator.py", line 1507, in main > GenerateJNIHeader(input_file, output_file, options) > File "../../base/android/jni_generator/jni_generator.py", line 1392, in GenerateJNIHeader > jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options) > File "../../base/android/jni_generator/jni_generator.py", line 643, in CreateFromClass > jni_from_javap = JNIFromJavaP(stdout.split('\n'), options) > File "../../base/android/jni_generator/jni_generator.py", line 568, in __init__ > self.fully_qualified_class = self.fully_qualified_class.replace('.', '/') > AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class' > make: *** [out/target/product/generic/obj/GYP/shared_intermediates/android_webview/jni/CancellationSignal_jni.h] Error 1 > make: *** Waiting for unfinished jobs.... > Traceback (most recent call last): > File "../../base/android/jni_generator/jni_generator.py", line 1511, in <module> > sys.exit(main(sys.argv)) > File "../../base/android/jni_generator/jni_generator.py", line 1507, in main > GenerateJNIHeader(input_file, output_file, options) > File "../../base/android/jni_generator/jni_generator.py", line 1392, in GenerateJNIHeader > jni_from_javap = JNIFromJavaP.CreateFromClass(input_file, options) > File "../../base/android/jni_generator/jni_generator.py", line 643, in CreateFromClass > jni_from_javap = JNIFromJavaP(stdout.split('\n'), options) > File "../../base/android/jni_generator/jni_generator.py", line 568, in __init__ > self.fully_qualified_class = self.fully_qualified_class.replace('.', '/') > AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class' > make: *** [out/target/product/generic/obj/GYP/shared_intermediates/ui/gl/jni/Surface_jni.h] Error 1 > > > Thanks > Md Masuqur Rahman ... [show rest of quote]
... [show rest of quote]
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. -- -- |
posted on 2016-01-20 11:35 Shawn X.Y. Bai 阅读(1103) 评论(0) 编辑 收藏 举报