首页
社区
课程
招聘
[已解决] 编译aosp8.1.0时报错 50.00雪花
发表于: 2023-5-4 15:19 8605

[已解决] 编译aosp8.1.0时报错 50.00雪花

2023-5-4 15:19
8605

用kali编译aosp8.1.0_r1时报如下错误,求解

 

0% 1/41639] Ensuring Jack server is installed and started
Jack server already installed in "/root/.jack-server"
Server is already running
[ 0% 2/41639] target thumb C++: libv8src <= external/v8/src/compiler/graph.cc
[ 0% 3/41639] target thumb C++: libv8src <= external/v8/src/compiler/instruction-scheduler.cc
[ 0% 4/41639] target thumb C++: libv8src <= external/v8/src/compiler/graph-visualizer.cc
[ 0% 5/41639] target thumb C++: libv8src <= external/v8/src/compiler/instruction.cc
[ 0% 6/41639] target thumb C++: libv8src <= external/v8/src/compiler/instruction-selector.cc
[ 0% 7/41639] build out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex
FAILED: out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex
/bin/bash -c "(mkdir -p out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/ && rm -f out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex ) && (find out/target/common/obj/APPS/HTMLViewer_intermediates/ -maxdepth 1 -name \"classes.dex\" | sort | xargs zip -qjX out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex ) && (mv out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex.input ) && (rm -f out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex ) && (mkdir -p out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\":e\" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --class-loader-context=\"&\" --boot-image=out/target/product/generic/dex_bootjars/system/framework/boot.art --dex-file=out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex.input --dex-location=/system/app/HTMLViewer/HTMLViewer.apk --oat-file=out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex --android-root=out/target/product/generic/system --instruction-set=arm --instruction-set-variant=generic --instruction-set-features=default --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-inline-from=core-oj.jar --compiler-filter=quicken ) && (rm out/target/product/generic/obj/APPS/HTMLViewer_intermediates/oat/arm/package.odex.input )"
dex2oatd F 05-04 15:08:49 48054 48054 utils.cc:762] ANDROID_DATA not set and /data does not exist
Runtime aborting...
Dumping all threads without appropriate locks held: thread list lock mutator lock
All threads:
DALVIK THREADS (0):
"dex2oatd" prio=5 (not attached)
| sysTid=48054 nice=0 cgrp=default
| state=R schedstat=( 33603630 21122886 185 ) utm=1 stm=1 core=1 HZ=100
native: #00 pc 00000000004f55f9 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::DumpNativeStack(std::1::basic_ostream<char, std::1::char_traits<char>>&, int, BacktraceMap, char const, art::ArtMethod, void)+217)
native: #01 pc 00000000005eda90 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::ThreadList::DumpUnattachedThreads(std::1::basic_ostream<char, std::1::char_traits<char>>&, bool)+352)
native: art::DumpNativeStack(std::1::basic_ostream<char, std::1::char_traits<char> >&, int, BacktraceMap, char const, art::ArtMethod, void)
native: art/runtime/native_stack_dump.cc:300
native: #02 pc 00000000005ed860 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::ThreadList::Dump(std::1::basic_ostream<char, std::1::char_traits<char>>&, bool)+288)
native: art::DumpUnattachedThread(std::1::basic_ostream<char, std::1::char_traits<char> >&, int, bool)
native: art/runtime/thread_list.cc:166
native: art::ThreadList::DumpUnattachedThreads(std::1::basic_ostream<char, std::1::char_traits<char> >&, bool)
native: art/runtime/thread_list.cc:189
native: art::ThreadList::Dump(std::1::basic_ostream<char, std::1::char_traits<char> >&, bool)
native: art/runtime/thread_list.cc:267
native: #03 pc 00000000005c423b /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::AbortState::Dump(std::1::basic_ostream<char, std::1::char_traits<char>>&) const+299)
native: art::AbortState::Dump(std::1::basic_ostream<char, std::1::char_traits<char> >&) const
native: art/runtime/runtime.cc:428
native: #04 pc 00000000005b5174 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::Runtime::Abort(char const)+100)
native: art::Dumpable<art::AbortState>::Dump(std::1::basic_ostream<char, std::1::char_traits<char> >&) const
native: art/runtime/base/dumpable.h:39
native: std::1::basic_ostream<char, std::1::char_traits<char> >& art::operator<< <art::AbortState>(std::1::basic_ostream<char, std::1::char_traits<char> >&, art::Dumpable<art::AbortState> const&)
native: art/runtime/base/dumpable.h:50
native: art::Runtime::Abort(char const
)
native: art/runtime/runtime.cc:525
native: #05 pc 000000000000976a /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libbase.so (android::base::LogMessage::~LogMessage()+858)
native: std::1::function<void (char const*)>::operator()(char const) const
native: external/libcxx/include/functional:1915
native: android::base::LogMessage::~LogMessage()
native: system/core/base/logging.cpp:433
native: #06 pc 0000000000609029 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::GetAndroidDir(char const
, char const)+233)
native: #07 pc 000000000060948f /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::GetDalvikCache(char const
)+63)
native: art::GetAndroidDir(char const, char const)
native: art/runtime/utils.cc:762
native: art::GetAndroidData()
native: art/runtime/utils.cc:776
native: art::GetDalvikCache(char const)
native: art/runtime/utils.cc:817
native: #08 pc 000000000034ef93 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::gc::space::PruneDalvikCache(art::InstructionSet)+67)
native: art::gc::space::PruneDalvikCache(art::InstructionSet)
native: art/runtime/gc/space/image_space_fs.h:95
native: #09 pc 000000000034ceef /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::gc::space::ImageSpace::CreateBootImage(char const
, art::InstructionSet, bool, std::
1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char>>)+3935)
native: art::gc::space::ImageSpace::CreateBootImage(char const
, art::InstructionSet, bool, std::
1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char> >*)
native: art/runtime/gc/space/image_space.cc:1630
native: #10 pc 000000000034f39e /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::gc::space::ImageSpace::LoadBootImage(std::
1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char>> const&, art::InstructionSet, std::1::vector<art::gc::space::ImageSpace*, std::__1::allocator<art::gc::space::ImageSpace*>>, unsigned char**)+622)
native: art::gc::space::ImageSpace::LoadBootImage(std::1::basic_string<char, std::1::char_traits<char>, std::1::allocator<char> > const&, art::InstructionSet, std::1::vector<art::gc::space::ImageSpace
, std::1::allocator<art::gc::space::ImageSpace*> >, unsigned char*)
native: art/runtime/gc/space/image_space.cc:1668
native: #11 pc 0000000000316e6b /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (art::gc::Heap::Heap(unsigned long, unsigned long, unsigned long, unsigned long, double, double, unsigned long, unsigned long, std::
1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char>> const&, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, art::gc::space::LargeObjectSpaceType, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned long, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned long)+1851)
native: art::gc::Heap::Heap(unsigned long, unsigned long, unsigned long, unsigned long, double, double, unsigned long, unsigned long, std::
1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char> > const&, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, art::gc::space::LargeObjectSpaceType, unsigned long, unsigned long, unsigned long, bool, unsigned long, unsigned long, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned long)
native: art/runtime/gc/heap.cc:318
native: #12 pc 00000000005b7bec /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime4InitEONS_18RuntimeArgumentMapE+9500)
native: art::Runtime::Init(art::RuntimeArgumentMap&&)
native: art/runtime/runtime.cc:1162
native: #13 pc 00000000005b567a /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime6CreateEONS_18RuntimeArgumentMapE+74)
native: art::Runtime::Create(art::RuntimeArgumentMap&&)
native: art/runtime/runtime.cc:617
native: #14 pc 000000000001d711 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat13CreateRuntimeEONS_18RuntimeArgumentMapE+65)
native: art::Dex2Oat::CreateRuntime(art::RuntimeArgumentMap&&)
native: art/dex2oat/dex2oat.cc:2636
native: #15 pc 0000000000011e71 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/bin/dex2oatd (art::Dex2Oat::Setup()+2977)
native: art::Dex2Oat::Setup()
native: art/dex2oat/dex2oat.cc:1564
native: #16 pc 000000000000be74 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/bin/dex2oatd (main+756)
native: art::Dex2oat(int, char**)
native: art/dex2oat/dex2oat.cc:3117
native: main
native: art/dex2oat/dex2oat.cc:3139
native: #17 pc 0000000000001189 /usr/lib/x86_64-linux-gnu/libc.so.6 (???)
native: #18 pc 0000000000001244 /usr/lib/x86_64-linux-gnu/libc.so.6 (
libc_start_main+132)
native: ??
native: ??:0
native: #19 pc 000000000000ba58 /root/Desktop/COMPILE/aosp810r1/aosp810r1/out/host/linux-x86/bin/dex2oatd (???)


[招生]系统0day安全班,企业级设备固件漏洞挖掘,Linux平台漏洞挖掘!

收藏
免费 0
支持
分享
最新回复 (3)
雪    币: 439
活跃值: (1263)
能力值: ( LV3,RANK:30 )
在线值:
发帖
回帖
粉丝
2
kali默认的shell好像是zsh,换成bash试试。
2023-5-5 07:53
0
雪    币: 18
活跃值: (117)
能力值: ( LV3,RANK:20 )
在线值:
发帖
回帖
粉丝
3
解决了吗 哥们
2024-7-20 18:06
0
雪    币: 27
活跃值: (1080)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
4
我的评价是别用kali
2024-7-20 19:37
0
游客
登录 | 注册 方可回帖
返回
//