夏思筠 2022-12-11 11:32 采纳率: 0%
浏览 18

Ubantu编译安卓8.0出现Could not find or load main class

使用Ubantu22.4编译安卓8.0的时候遇到如下错误,各位有遇到过的吗?有解决方案?
build/core/base_rules.mk:466: warning: overriding commands for target out/host/linux-x86/cts/android-cts/testcases/libcrash-jni.so' build/core/base_rules.mk:466: warning: ignoring old commands for target out/host/linux-x86/cts/android-cts/testcases/libcrash-jni.so'
build/core/base_rules.mk:466: warning: overriding commands for target out/target/product/generic_x86_64/testcases/libcrash-jni/libcrash-jni.so' build/core/base_rules.mk:466: warning: ignoring old commands for target out/target/product/generic_x86_64/testcases/libcrash-jni/libcrash-jni.so'
build/core/base_rules.mk:466: warning: overriding commands for target out/target/product/generic_x86_64/testcases/hello_world_test/hello_world_test' build/core/base_rules.mk:466: warning: ignoring old commands for target out/target/product/generic_x86_64/testcases/hello_world_test/hello_world_test'
./test/vts/utils/python/archive/Android.mk:28: warning: overriding commands for target default' ./test/vts/runners/host/tcp_server/Android.mk:19: warning: ignoring old commands for target default'
./test/vts/utils/python/coverage/Android.mk:28: warning: overriding commands for target default' ./test/vts/utils/python/archive/Android.mk:28: warning: ignoring old commands for target default'
[ 0% 1/80714] JarJar: out/target/common/obj/JAVA_LIBRARIES/libphonenumber-platform_intermediates/classes-jarjar.jar
FAILED: out/target/common/obj/JAVA_LIBRARIES/libphonenumber-platform_intermediates/classes-jarjar.jar
/bin/bash -c "java -jar out/host/linux-x86/framework/jarjar.jar process external/libphonenumber/jarjar-rules.txt out/target/common/obj/JAVA_LIBRARIES/libphonenumber-platform_intermediates/classes-full-debug.jar out/target/common/obj/JAVA_LIBRARIES/libphonenumber-platform_intermediates/classes-jarjar.jar"
Error: Could not find or load main class com.tonicsystems.jarjar.Main
ninja: build stopped: subcommand failed.
11:28:05 ninja failed with: exit status 1
make: *** [build/core/main.mk:21: run_soong_ui] Error 1

  • 写回答

1条回答 默认 最新

  • 「已注销」 2022-12-12 10:32
    关注

    报错不用怕,把报错发给我

    评论

报告相同问题?

问题事件

  • 创建了问题 12月11日

悬赏问题

  • ¥15 爬虫爬取网站的一些信息
  • ¥15 关于vue2中methods使用call修改this指向的问题
  • ¥15 idea自动补全键位冲突
  • ¥15 请教一下写代码,代码好难
  • ¥15 iis10中如何阻止别人网站重定向到我的网站
  • ¥15 滑块验证码移动速度不一致问题
  • ¥15 Utunbu中vscode下cern root工作台中写的程序root的头文件无法包含
  • ¥15 麒麟V10桌面版SP1如何配置bonding
  • ¥15 Marscode IDE 如何预览新建的 HTML 文件
  • ¥15 K8S部署二进制集群过程中calico一直报错