AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class'
2016-01-20 11:35
1026 查看
http://android.2317887.n4.nabble.com/AttributeError-JNIFromJavaP-object-has-no-attribute-fully-qualified-class-td288152.html
di ai
Reply | Threaded | More
Mar 03, 2015; 12:59pm
di ai
Reply | Threaded | More
Mar 03, 2015; 12:59pm
Re: AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class'
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. -- -- |
相关文章推荐
- Objective-C收起键盘方法总结
- Object [object Object] has no method 'tree'
- Objective-C处理空字符串和页面传值及自定义拷贝
- 重写成员“log4net.Util.ReadOnlyPropertiesDictionary.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)”时违反了继承安全性规则
- Objective-C中的@dynamic
- Andorid动画——属性动画
- iOS开发之Objective-C与JavaScript交互操作
- objective c,copy, mutableCopy区别
- Java中json数据问题.报错 A JSONObject text must begin with '{'
- VB6 安装完成,添加Windows Common Controls 6.0控件,报错Object Library Not Registered
- OC - 类的基本定义与方法的使用
- IOS开发--常用工具类收集整理(Objective-C)(持续更新)
- java中Array/List/Map/Object与Json互相转换详解
- 原型链与Object和Function
- page object
- objc_setAssociatedObject 使用
- Objective-C的hook方案(一): Method Swizzling
- 所有类的超类:Object类
- oc AssociatedObject (oc)
- jQuery.isEmptyObject() 函数详解