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.

    --
    --
  • 相关阅读:
    Eclipse用法与技巧——导入工程时报错(already exist in the workspace)
    小F的2013应届校招历程小结
    java知识积累——单元测试和JUnit(二)
    vue 中的 .sync 修饰符 与 this.$emit('update:key', value)
    vue 中的 provide/inject
    2011/08/27 刷机器,遭遇白苹果,不可连接ipod服务器 的解决
    传输文件过程中遇到异常被中断
    窗体的置顶显示
    将截图图片放入内存(剪贴板)中
    WPF加载相对路径的图片的解决方法
  • 原文地址:https://www.cnblogs.com/lake-of-embedded-system/p/5144585.html
Copyright © 2011-2022 走看看