Hello All,
We are successfully applied "android_L5.0.0_1.0.0-ga_core_
source" patches to Android source repository "android-5.0.2_r1" as per Android_User_Guides .
When we tried to build the evk_6sl-eng or evk_6sl-usr following error will come , please help me sort out this issue.
...
including ./tools/external/fat32lib/Android.mk ...
dex2oatd I 2425 2425 art/dex2oat/dex2oat.cc:1239] out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --boot-image=out/target/product/generic/dex_bootjars/system/framework/boot.art --dex-file=out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex.input --dex-location=/system/app/BasicDreams/BasicDreams.apk --oat-file=out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex --android-root=out/target/product/generic/system --instruction-set=arm --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-include-debug-symbols
dex2oatd E 2425 2425 art/runtime/gc/heap.cc:421] 0x56298768
dex2oatd F 2425 2425 art/runtime/gc/heap.cc:422] There's a gap between the image space and the main space
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] Runtime aborting...
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] (Aborting thread was not attached to runtime!)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #00 pc 00006a22 /home/accord/Android_Source/out/host/linux-x86/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int, ucontext*)+82)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #01 pc 00004141 /home/accord/Android_Source/out/host/linux-x86/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int, ucontext*)+33)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #02 pc 0036f689 /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, char const*, art::mirror::ArtMethod*)+121)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #03 pc 0033a99d /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+301)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #04 pc 0033a869 /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+41)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #05 pc 003394e8 /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (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&)+40)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #06 pc 003329d8 /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::Runtime::Abort()+168)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #07 pc 000f6209 /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::LogMessage::~LogMessage()+393)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #08 pc 001eb8ab /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::gc::Heap::Heap(unsigned int, unsigned int, unsigned int, unsigned int, double, double, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, art::InstructionSet, art::gc::CollectorType, art::gc::CollectorType, unsigned int, unsigned int, bool, unsigned int, unsigned int, bool, bool, bool, bool, bool, bool, bool, bool, bool, unsigned long long)+5707)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #09 pc 003331f2 /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::Runtime::Init(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+1298)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #10 pc 00332cad /home/accord/Android_Source/out/host/linux-x86/lib/libartd.so (art::Runtime::Create(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+93)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #11 pc 0001ea1a /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd (art::Dex2Oat::CreateRuntime(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, art::InstructionSet)+42)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #12 pc 0001655f /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd (art::Dex2Oat::Create(art::Dex2Oat**, std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, art::CompilerOptions const&, art::Compiler::Kind, art::InstructionSet, art::InstructionSetFeatures, art::VerificationResults*, art::DexFileToMethodInlinerMap*, unsigned int)+143)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #13 pc 00010290 /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd (art::dex2oat(int, char**)+11296)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #14 pc 0000d660 /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd (main+32)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #15 pc 00019a82 /lib/i386-linux-gnu/libc-2.19.so (__libc_start_main+242)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] native: #16 pc 0000ccc0 /home/accord/Android_Source/out/host/linux-x86/bin/dex2oatd (???)
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] Dumping all threads without appropriate locks held: thread list lock mutator lock
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] All threads:
dex2oatd F 2425 2425 art/runtime/runtime.cc:284] DALVIK THREADS (0):
dex2oatd F 2425 2425 art/runtime/runtime.cc:284]
make: *** [out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex] Aborted (core dumped)
make: *** Deleting file `out/target/product/generic/obj/APPS/BasicDreams_intermediates/arm/package.odex'
Regards,
Kishore P
Solved! Go to Solution.
Hello Gusarambula,
I referred following thread to resolve the issue.
Using WITH_DEXPREOPT in imx6 Android Lollipop build
Regards,
Kishore P
Hello Kishore Poojari,
Are you still experiencing issues?
I’m sorry to hear that you’re having issues building Android. There are several variables involved when building Android. I would ask you to please double-check that the required packages listed on the Android User’s Guide. ? I would recommend checking that all packages required are available and that the patches were applied.
In some occasions the patches may not be applied due to permission denial from the system. Would you please double check that the patches were applied? Even if it shows the message “Success” please review the log briefly just to confirm there weren’t any errors.
If you could provide more details that would be great, like for example, does the error shows quickly or after several hours? If possible please attach the log file created.
Hello Gusarambula,
I referred following thread to resolve the issue.
Using WITH_DEXPREOPT in imx6 Android Lollipop build
Regards,
Kishore P