ubuntu 16.04 编译 android 6.0 错误
16lz
2021-01-23
错误:
rebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8//x86_64-linux/bin/ld: error: unsupported reloc 42/43 against global symbol Always crash in aleatory code and never finish compile code without error
clang: error: linker command failed with exit code 1 (use -v to see invocation)
暂时解决办法:
I've replaced prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/bin/ld with the symlink to /usr/bin/ld.gold, and this fixed the compilation issue. I'm sure if the result is actually working, however
更多相关文章
- 解决Cocos2d-x3.1编译生成Android程序出现Android NDK:Aborting.
- Android Studio打包时出现transformClassesWithDexForRelease错
- android studio 打包release出现的错误
- Android 内核编绎错误解决方案
- eclipse添加android插件错误处理方法
- Android Custom Dialog错误Unable to add window -- token null
- 【android】android 开发错误集锦4月
- Android requires compiler compliance level 5.0 or 6.0. 错误
- Mono for Android 设计器错误:Disconnected from layout renderer