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

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.

--

--

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

时间: 2024-10-13 10:36:38

AttributeError: 'JNIFromJavaP' object has no attribute 'fully_qualified_class'的相关文章

AttributeError: &#39;module&#39; object has no attribute &#39;dumps&#39;

报错: [[email protected] ~]# ./json.py DATA: [{'a': 'A', 'c': 3.0, 'b': (2, 4)}] Traceback (most recent call last): File "./json.py", line 4, in <module> import json File "/root/json.py", line 8, in <module> data_string = jso

Python脚本报错AttributeError: ‘module’ object has no attribute’xxx’解决方法

最近在编写Python脚本过程中遇到一个问题比较奇怪:Python脚本完全正常没问题,但执行总报错"AttributeError: 'module' object has no attribute 'xxx'".这其实是.pyc文件存在问题. 问题定位: 查看import库的源文件,发现源文件存在且没有错误,同时存在源文件的.pyc文件 问题解决方法: 1. 命名py脚本时,不要与python预留字,模块名等相同 2. 删除该库的.pyc文件(因为py脚本每次运行时均会生成.pyc文件

AttributeError: &#39;dict_values&#39; object has no attribute &#39;translate&#39;

/***************************************************************************************** * AttributeError: 'dict_values' object has no attribute 'translate' * 说明: * 由于目前使用的是Python3,在解读MySQL的ORM库的时候,结果直接遇到这个错误. * * 2016-10-13 深圳 南山平山村 曾剑锋 **********

[Python]attributeError:&#39;module&#39; object has no attribute &#39;dump&#39;

[问题] [代码] 文件名:pickle.py # coding=utf-8 #持久存储 import pickle #b 以二进制的模式打开文件 with open('mydata.pickle','wb') as mysavedata: #用dump保存数据 pickle.dump([1,2,'three'],mysavedata) #b 以二进制的模式打开文件 with open('mydata.pickle','rb') as myreaddata: #使用load恢复数据 list =

python3 AttributeError: &#39;NoneType&#39; object has no attribute &#39;split&#39;

1 from wsgiref.simple_server import make_server 2 3 def RunServer(environ, start_response): 4 start_response('200 ok',[('Content-Type','text/html')]) 5 return '<h1>Hello world</h1>' 6 7 if __name__ == '__main__': 8 httpd = make_server('127.0.0

Faq_flask : AttributeError: ‘module’ object has no attribute ‘autoescape’

原文地址: http://www.suzf.net/thread-0613-153.html 转载须注明原始出处 前些天从 "spider_net" 上找了一篇文章 , 大致就是利用 highcharts + flask + mysql 构建的一个简单的监控系统 ,经过几番挣扎终于还是给捣持出来了 , 现在总结一下 , 分享给大家 .   o_O 部分报错信息: * Detected change in 'flask_web.py', reloading* Restarting wit

flask_route错误:AttributeError: &#39;function&#39; object has no attribute &#39;route&#39;

问题: 路由完全正确,当只有一个名为home的函数处理这个路由时候,下一个路由处理函数,总是提示没有这个rotue属性 Traceback (most recent call last): File "E:/workspace/wei-move/manage.py", line 3, in <module> from app import app File "E:\workspace\wei-move\app\__init__.py", line 10,

解决window7 x64位Anaconda启动报错:AttributeError: &#39;_NamespacePath&#39; object has no attribute &#39;sort&#39;

最近论文需要用到python做数据分析,python语法简单,但是Windows下安装第三方包恶心的要命,statsmodels用pip死活安装不上,网上查了说包相互依赖windows下的pip不能下载全,还有好几个其他的统计包也是如此,整晕了算. 看网上有些python大牛推荐Anaconda,可以解决包的问题,于是卸载本地的python,从官网上下了个Anconda玩玩,结果遇到新问题. 问题如下: An unexpected error has occurred. Please consi

AttributeError: &#39;str&#39; object has no attribute &#39;copy&#39;

在使用Python Networkx 中的relabel_nodes函数时,出现: AttributeError: 'str' object has no attribute 'copy' 找了半天也没发现错误出现在哪里,通过比较发现: 如果在定义图的类型时候使用G=nx.MultiDiGraph()就会出现这个错误,改为G=nx.Graph()错误消失. 目测是relabel_nodes函数不支持MultiDiGraph. 附: 1 def relabel_nodes(G, mapping,