zoukankan      html  css  js  c++  java
  • 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

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

    di ai
    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(' '), 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(' '), 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

    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.

    --
    --
  • 相关阅读:
    java 内部类
    webservice restful rpc
    linux 修改文件权限chmod
    java ThreadLocal的理解
    转:Eclipse常用开发插件
    Eclipse安装插件支持jQuery智能提示
    转:VS2008 vs2010中JQUERY智能提醒
    jquery ui和jquery easy ui的区别
    线程池
    java连接数据库URL
  • 原文地址:https://www.cnblogs.com/lake-of-embedded-system/p/5144585.html
Copyright © 2011-2022 走看看