Android编译预制过高版本app导致编译错误解决

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lb5761311/article/details/90294373

先上错误代码

No private recovery resources for TARGET_DEVICE rk3399_firefly_mipi_box
Starting build with ninja
ninja: Entering directory `.'
[ 50% 1/2] build out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex
FAILED: /bin/bash -c "(rm -f out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex ) && (mkdir -p out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -classpath --runtime-arg \"&\" --boot-image=out/target/product/rk3399_firefly_mipi_box/dex_bootjars/system/framework/boot.art --dex-file=packages/apps/VehicleRobot/VehicleRobot.apk --dex-location=/system/app/VehicleRobot/VehicleRobot.apk --oat-file=out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex --android-root=out/target/product/rk3399_firefly_mipi_box/system --instruction-set=arm --instruction-set-variant=cortex-a15 --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --abort-on-hard-verifier-error --no-inline-from=core-oj.jar   --compile-pic )"
dex2oatd F  1760  1762 art/runtime/class_linker.cc:6620] Check failed: vtable_entry != other_entry && !name_comparator.HasSameNameAndSignature( other_entry->GetInterfaceMethodIfProxy(pointer_size)) vtable entries 1049 and 1054 are identical for java.lang.Class<android.support.v7.widget.MenuPopupWindow$MenuDropDownListView> in method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) and int android.support.v7.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean)
dex2oatd F 1760 1762 art/runtime/runtime.cc:422]Runtime aborting...
Aborting thread:
"Compiler driver thread pool worker thread 0" prio=5 tid=2 Runnable (still starting up)
  | group="" sCount=0 dsCount=0 obj=(nil) self=0x7fdde40008c0
  | sysTid=1762 nice=0 cgrp=default sched=0/0 handle=0x7fdde8907700
  | state=R schedstat=( 285833776 96819 28 ) utm=28 stm=0 core=0 HZ=100
  | stack=0x7fdde8807000-0x7fdde8809000 stackSize=1028KB
  | held mutexes= "abort lock" "mutator lock"(shared held)
  native: #00 pc 000000000051de9d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+253)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)
  native:    /proc/self/cwd/art/runtime/utils.cc:1122 (discriminator 1)
  native: #01 pc 00000000004f6aa5  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+421)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*) const
  native:    /proc/self/cwd/art/runtime/thread.cc:1532 (discriminator 1)
  native: #02 pc 00000000004e5e2a  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+90)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*) const
  native:    /proc/self/cwd/art/runtime/runtime.cc:382
  native: #03 pc 00000000004e5cff  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+207)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
  native:    /proc/self/cwd/art/runtime/runtime.cc:368
  native: #04 pc 00000000004d94d4  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+132)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
  native:    /proc/self/cwd/art/runtime/base/dumpable.h:38
  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:    /proc/self/cwd/art/runtime/base/dumpable.h:49
  native:   art::Runtime::Abort(char const*)
  native:    /proc/self/cwd/art/runtime/runtime.cc:422
  native: #05 pc 000000000017b352  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10LogMessageD1Ev+1330)
  native:   ~LogMessage
  native:    /proc/self/cwd/art/runtime/base/logging.cc:231 (discriminator 1)
  native: #06 pc 00000000001c6b6d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker20LinkInterfaceMethodsEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEERKNSt3__113unordered_mapImNS0_17MethodTranslationENS7_4hashImEENS7_8equal_toImEENS7_9allocatorINS7_4pairIKmS9_EEEEEEPbPPNS_9ArtMethodE+20061)
  native:   art::CheckVTableHasNoDuplicates(art::Thread*, art::Handle<art::mirror::Class>, unsigned long)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:6618 (discriminator 10)
  native:   art::SanityCheckVTable(art::Thread*, art::Handle<art::mirror::Class>, unsigned long)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:6631 (discriminator 10)
  native:   art::ClassLinker::LinkInterfaceMethods(art::Thread*, art::Handle<art::mirror::Class>, std::__1::unordered_map<unsigned long, art::ClassLinker::MethodTranslation, std::__1::hash<unsigned long>, std::__1::equal_to<unsigned long>, std::__1::allocator<std::__1::pair<unsigned long const, art::ClassLinker::MethodTranslation> > > const&, bool*, art::ArtMethod**)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:7264 (discriminator 10)
  native: #07 pc 00000000001bf2e7  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11LinkMethodsEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEENS3_INS4_11ObjectArrayIS5_EEEEPbPPNS_9ArtMethodE+183)
  native:   art::ClassLinker::LinkMethods(art::Thread*, art::Handle<art::mirror::Class>, art::Handle<art::mirror::ObjectArray<art::mirror::Class> >, bool*, art::ArtMethod**)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:5575 (discriminator 2)
  native: #08 pc 00000000001afc9d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker9LinkClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror5ClassEEENS5_INS6_11ObjectArrayIS7_EEEEPNS_13MutableHandleIS7_EE+637)
  native:   art::ClassLinker::LinkClass(art::Thread*, char const*, art::Handle<art::mirror::Class>, art::Handle<art::mirror::ObjectArray<art::mirror::Class> >, art::MutableHandle<art::mirror::Class>*)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:5118 (discriminator 2)
  native: #09 pc 00000000001ac0f9  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE+777)
  native:   art::ClassLinker::DefineClass(art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::DexFile::ClassDef const&)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:2555 (discriminator 2)
  native: #10 pc 00000000001abc86  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+1286)
  native:   art::ClassLinker::FindClassInPathClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::mirror::Class**)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:2334
  native: #11 pc 00000000001ac8f0  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+400)
  native:   art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:2401 (discriminator 1)
  native: #12 pc 000000000019b6dc  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11ResolveTypeERKNS_7DexFileEtNS_6HandleINS_6mirror8DexCacheEEENS4_INS5_11ClassLoaderEEE+220)
  native:   art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:7578 (discriminator 1)
  native: #13 pc 00000000001af0ed  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art35ResolveClassFieldsAndMethodsVisitor5VisitEm+461)
  native:   art::ResolveClassFieldsAndMethodsVisitor::Visit(unsigned long)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:2062
  native: #14 pc 00000000001aeec9  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art26ParallelCompilationManager13ForAllClosure3RunEPNS_6ThreadE+25)
  native:   art::ParallelCompilationManager::ForAllClosure::Run(art::Thread*)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:1938
  native: #15 pc 000000000050c3eb  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker3RunEv+91)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::ThreadPoolWorker::Run()
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:79
  native: #16 pc 000000000050bf63  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker8CallbackEPv+115)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
  native:   art::ThreadPoolWorker::Callback(void*)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:94
  native: #17 pc 00000000000076b9  /lib/x86_64-linux-gnu/libpthread-2.23.so (start_thread+201)
  native:   start_thread
  native:    ??:?
  native: #18 pc 000000000010741c  /lib/x86_64-linux-gnu/libc-2.23.so (clone+108)
  native:   clone
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  native: #19 pc 0000000000000000  ???
  (no managed stack frames)
Dumping all threads without appropriate locks held: thread list lock
All threads:
dex2oatd E  1760  1762 art/runtime/base/mutex-inl.h:92] Lock level violation: holding "abort lock" (level AbortLock - 5) while locking "thread list lock" (level ThreadListLock - 49)
DALVIK THREADS (4):
dex2oatd E  1760  1762 art/runtime/base/mutex-inl.h:92] Lock level violation: holding "abort lock" (level AbortLock - 5) while locking "thread list lock" (level ThreadListLock - 49)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
"Compiler driver thread pool worker thread 0" prio=5 tid=2 Runnable (still starting up)
  | group="" sCount=0 dsCount=0 obj=(nil) self=0x7fdde40008c0
  | sysTid=1762 nice=0 cgrp=default sched=0/0 handle=0x7fdde8907700
  | state=R schedstat=( 299553986 413732 74 ) utm=28 stm=1 core=1 HZ=100
  | stack=0x7fdde8807000-0x7fdde8809000 stackSize=1028KB
  | held mutexes= "abort lock" "mutator lock"(shared held)
  native: #00 pc 000000000051de9d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+253)
  native:   art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)
  native:    /proc/self/cwd/art/runtime/utils.cc:1122 (discriminator 1)
  native: #01 pc 00000000004f6aa5  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+421)
  native:   art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*) const
  native:    /proc/self/cwd/art/runtime/thread.cc:1532 (discriminator 1)
  native: #02 pc 000000000050b794  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+500)
  native:   art::DumpCheckpoint::Run(art::Thread*)
  native:    /proc/self/cwd/art/runtime/thread_list.cc:199 (discriminator 1)
  native: #03 pc 0000000000505010  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+400)
  native:   art::ThreadList::RunCheckpoint(art::Closure*)
  native:    /proc/self/cwd/art/runtime/thread_list.cc:323
  native: #04 pc 0000000000504c7a  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+394)
  native:   art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)
  native:    /proc/self/cwd/art/runtime/thread_list.cc:242
  native: #05 pc 00000000004d94d4  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+132)
  native:   art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
  native:    /proc/self/cwd/art/runtime/base/dumpable.h:38
  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:    /proc/self/cwd/art/runtime/base/dumpable.h:49
  native:   art::Runtime::Abort(char const*)
  native:    /proc/self/cwd/art/runtime/runtime.cc:422
  native: #06 pc 000000000017b352  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10LogMessageD1Ev+1330)
  native:   ~LogMessage
  native:    /proc/self/cwd/art/runtime/base/logging.cc:231 (discriminator 1)
  native: #07 pc 00000000001c6b6d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker20LinkInterfaceMethodsEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEERKNSt3__113unordered_mapImNS0_17MethodTranslationENS7_4hashImEENS7_8equal_toImEENS7_9allocatorINS7_4pairIKmS9_EEEEEEPbPPNS_9ArtMethodE+20061)
  native:   art::CheckVTableHasNoDuplicates(art::Thread*, art::Handle<art::mirror::Class>, unsigned long)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:6618 (discriminator 10)
  native:   art::SanityCheckVTable(art::Thread*, art::Handle<art::mirror::Class>, unsigned long)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:6631 (discriminator 10)
  native:   art::ClassLinker::LinkInterfaceMethods(art::Thread*, art::Handle<art::mirror::Class>, std::__1::unordered_map<unsigned long, art::ClassLinker::MethodTranslation, std::__1::hash<unsigned long>, std::__1::equal_to<unsigned long>, std::__1::allocator<std::__1::pair<unsigned long const, art::ClassLinker::MethodTranslation> > > const&, bool*, art::ArtMethod**)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:7264 (discriminator 10)
  native: #08 pc 00000000001bf2e7  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11LinkMethodsEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEENS3_INS4_11ObjectArrayIS5_EEEEPbPPNS_9ArtMethodE+183)
  native:   art::ClassLinker::LinkMethods(art::Thread*, art::Handle<art::mirror::Class>, art::Handle<art::mirror::ObjectArray<art::mirror::Class> >, bool*, art::ArtMethod**)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:5575 (discriminator 2)
  native: #09 pc 00000000001afc9d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker9LinkClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror5ClassEEENS5_INS6_11ObjectArrayIS7_EEEEPNS_13MutableHandleIS7_EE+637)
  native:   art::ClassLinker::LinkClass(art::Thread*, char const*, art::Handle<art::mirror::Class>, art::Handle<art::mirror::ObjectArray<art::mirror::Class> >, art::MutableHandle<art::mirror::Class>*)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:5118 (discriminator 2)
  native: #10 pc 00000000001ac0f9  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE+777)
  native:   art::ClassLinker::DefineClass(art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::DexFile::ClassDef const&)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:2555 (discriminator 2)
  native: #11 pc 00000000001abc86  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+1286)
  native:   art::ClassLinker::FindClassInPathClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::mirror::Class**)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:2334
  native: #12 pc 00000000001ac8f0  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+400)
  native:   art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:2401 (discriminator 1)
  native: #13 pc 000000000019b6dc  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11ResolveTypeERKNS_7DexFileEtNS_6HandleINS_6mirror8DexCacheEEENS4_INS5_11ClassLoaderEEE+220)
  native:   art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)
  native:    /proc/self/cwd/art/runtime/class_linker.cc:7578 (discriminator 1)
  native: #14 pc 00000000001af0ed  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art35ResolveClassFieldsAndMethodsVisitor5VisitEm+461)
  native:   art::ResolveClassFieldsAndMethodsVisitor::Visit(unsigned long)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:2062
  native: #15 pc 00000000001aeec9  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art26ParallelCompilationManager13ForAllClosure3RunEPNS_6ThreadE+25)
  native:   art::ParallelCompilationManager::ForAllClosure::Run(art::Thread*)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:1938
  native: #16 pc 000000000050c3eb  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker3RunEv+91)
  native:   art::ThreadPoolWorker::Run()
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:79
  native: #17 pc 000000000050bf63  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker8CallbackEPv+115)
  native:   art::ThreadPoolWorker::Callback(void*)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:94
  native: #18 pc 00000000000076b9  /lib/x86_64-linux-gnu/libpthread-2.23.so (start_thread+201)
  native:   start_thread
  native:    ??:?
  native: #19 pc 000000000010741c  /lib/x86_64-linux-gnu/libc-2.23.so (clone+108)
  native:   clone
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  native: #20 pc 0000000000000000  ???
  (no managed stack frames)

addr2line: Dwarf Error: Info pointer extends beyond end of attributes
"main" prio=5 tid=1 Native (still starting up)
  | group="" sCount=1 dsCount=0 obj=(nil) self=0x5556841ae210
  | sysTid=1760 nice=0 cgrp=default sched=0/0 handle=0x7fddef9af740
  | state=S schedstat=( 1194845937 1043157 82 ) utm=117 stm=1 core=3 HZ=100
  | stack=0x7ffff1657000-0x7ffff1659000 stackSize=7MB
  | held mutexes=
  kernel: (couldn't read /proc/self/task/1760/stack)
  native: #00 pc 00000000001014d7  /lib/x86_64-linux-gnu/libc-2.23.so (syscall+23)
  native:   syscall
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S:37
  native: #01 pc 000000000017ea5f  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+175)
  native:   art::futex(int volatile*, int, int, timespec const*, int volatile*, int)
  native:    /proc/self/cwd/art/runtime/base/mutex-inl.h:45
  native:   art::ConditionVariable::WaitHoldingLocks(art::Thread*)
  native:    /proc/self/cwd/art/runtime/base/mutex.cc:848
  native: #02 pc 000000000050d044  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadPool4WaitEPNS_6ThreadEbb+308)
  native:   art::ThreadPool::Wait(art::Thread*, bool, bool)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:230
  native: #03 pc 00000000001a7814  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art26ParallelCompilationManager6ForAllEmmPNS_18CompilationVisitorEm+260)
  native:   art::ParallelCompilationManager::ForAll(unsigned long, unsigned long, art::CompilationVisitor*, unsigned long)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:1914
  native: #04 pc 000000000019dd30  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art14CompilerDriver14ResolveDexFileEP8_jobjectRKNS_7DexFileERKNSt3__16vectorIPS4_NS6_9allocatorIS8_EEEEPNS_10ThreadPoolEmPNS_12TimingLoggerE+224)
  native:   art::CompilerDriver::ResolveDexFile(_jobject*, art::DexFile const&, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::ThreadPool*, unsigned long, art::TimingLogger*)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:2200 (discriminator 1)
  native: #05 pc 000000000019dc09  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art14CompilerDriver7ResolveEP8_jobjectRKNSt3__16vectorIPKNS_7DexFileENS3_9allocatorIS7_EEEEPNS_12TimingLoggerE+249)
  native:   art::CompilerDriver::Resolve(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::TimingLogger*)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:770
  native: #06 pc 000000000019b7df  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art14CompilerDriver10PreCompileEP8_jobjectRKNSt3__16vectorIPKNS_7DexFileENS3_9allocatorIS7_EEEEPNS_12TimingLoggerE+159)
  native:   art::CompilerDriver::PreCompile(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::TimingLogger*)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:904
  native: #07 pc 000000000019b04a  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art14CompilerDriver10CompileAllEP8_jobjectRKNSt3__16vectorIPKNS_7DexFileENS3_9allocatorIS7_EEEEPNS_12TimingLoggerE+106)
  native:   art::CompilerDriver::CompileAll(_jobject*, std::__1::vector<art::DexFile const*, std::__1::allocator<art::DexFile const*> > const&, art::TimingLogger*)
  native:    /proc/self/cwd/art/compiler/driver/compiler_driver.cc:482
  native: #08 pc 0000000000024fec  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat7CompileEv+2076)
  native:   art::Dex2Oat::Compile()
  native:    /proc/self/cwd/art/dex2oat/dex2oat.cc:1583 (discriminator 1)
  native: #09 pc 000000000000db9f  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/bin/dex2oatd (main+815)
  native:   art::CompileApp(art::Dex2Oat&)
  native:    /proc/self/cwd/art/dex2oat/dex2oat.cc:2588
  native:   art::dex2oat(int, char**)
  native:    /proc/self/cwd/art/dex2oat/dex2oat.cc:2672
  native:   main
  native:    /proc/self/cwd/art/dex2oat/dex2oat.cc:2681
  native: #10 pc 000000000002082f  /lib/x86_64-linux-gnu/libc-2.23.so (__libc_start_main+239)
  native:   __libc_start_main
  native:    /build/glibc-Cl5G7W/glibc-2.23/csu/../csu/libc-start.c:291
  native: #11 pc 000000000000d748  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/bin/dex2oatd (???)
  (no managed stack frames)

addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
"Compiler driver thread pool worker thread 2" prio=5 tid=3 Native (still starting up)
  | group="" sCount=1 dsCount=0 obj=(nil) self=0x7fdddc0008c0
  | sysTid=1764 nice=0 cgrp=default sched=0/0 handle=0x7fdde8705700
  | state=S schedstat=( 350094154 163891 57 ) utm=35 stm=0 core=2 HZ=100
  | stack=0x7fdde8605000-0x7fdde8607000 stackSize=1028KB
  | held mutexes=
  kernel: (couldn't read /proc/self/task/1764/stack)
  native: #00 pc 00000000001014d7  /lib/x86_64-linux-gnu/libc-2.23.so (syscall+23)
  native:   syscall
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S:37
  native: #01 pc 000000000017ea5f  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+175)
  native:   art::futex(int volatile*, int, int, timespec const*, int volatile*, int)
  native:    /proc/self/cwd/art/runtime/base/mutex-inl.h:45
  native:   art::ConditionVariable::WaitHoldingLocks(art::Thread*)
  native:    /proc/self/cwd/art/runtime/base/mutex.cc:848
  native: #02 pc 000000000050cd8a  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+298)
  native:   art::ThreadPool::GetTask(art::Thread*)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:191
  native: #03 pc 000000000050c401  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker3RunEv+113)
  native:   art::ThreadPoolWorker::Run()
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:78 (discriminator 1)
  native: #04 pc 000000000050bf63  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker8CallbackEPv+115)
  native:   art::ThreadPoolWorker::Callback(void*)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:94
  native: #05 pc 00000000000076b9  /lib/x86_64-linux-gnu/libpthread-2.23.so (start_thread+201)
  native:   start_thread
  native:    ??:?
  native: #06 pc 000000000010741c  /lib/x86_64-linux-gnu/libc-2.23.so (clone+108)
  native:   clone
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  native: #07 pc 0000000000000000  ???
  (no managed stack frames)

addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
"Compiler driver thread pool worker thread 1" prio=5 tid=4 Native (still starting up)
  | group="" sCount=1 dsCount=0 obj=(nil) self=0x7fdde00008c0
  | sysTid=1763 nice=0 cgrp=default sched=0/0 handle=0x7fdde8806700
  | state=S schedstat=( 350039778 32419 45 ) utm=34 stm=0 core=1 HZ=100
  | stack=0x7fdde8706000-0x7fdde8708000 stackSize=1028KB
  | held mutexes=
  kernel: (couldn't read /proc/self/task/1763/stack)
  native: #00 pc 00000000001014d7  /lib/x86_64-linux-gnu/libc-2.23.so (syscall+23)
  native:   syscall
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S:37
  native: #01 pc 000000000017ea5f  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+175)
  native:   art::futex(int volatile*, int, int, timespec const*, int volatile*, int)
  native:    /proc/self/cwd/art/runtime/base/mutex-inl.h:45
  native:   art::ConditionVariable::WaitHoldingLocks(art::Thread*)
  native:    /proc/self/cwd/art/runtime/base/mutex.cc:848
  native: #02 pc 000000000050cd8a  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+298)
  native:   art::ThreadPool::GetTask(art::Thread*)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:191
  native: #03 pc 000000000050c401  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker3RunEv+113)
  native:   art::ThreadPoolWorker::Run()
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:78 (discriminator 1)
  native: #04 pc 000000000050bf63  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker8CallbackEPv+115)
  native:   art::ThreadPoolWorker::Callback(void*)
  native:    /proc/self/cwd/art/runtime/thread_pool.cc:94
  native: #05 pc 00000000000076b9  /lib/x86_64-linux-gnu/libpthread-2.23.so (start_thread+201)
  native:   start_thread
  native:    ??:?
  native: #06 pc 000000000010741c  /lib/x86_64-linux-gnu/libc-2.23.so (clone+108)
  native:   clone
  native:    /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  native: #07 pc 0000000000000000  ???
  (no managed stack frames)

dex2oatd E  1760  1762 art/runtime/thread-inl.h:108] holding "abort lock" at point where thread suspension is expected
dex2oatd E  1760  1762 art/runtime/base/mutex-inl.h:92] Lock level violation: holding "abort lock" (level AbortLock - 5) while locking "mutator lock" (level MutatorLock - 60)
dex2oatd F 1760 1762 art/runtime/runtime_linux.cc:336]*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL)
OS: Linux 4.15.0-47-generic (x86_64)
Cmdline: out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -classpath --runtime-arg & --boot-image=out/target/product/rk3399_firefly_mipi_box/dex_bootjars/system/framework/boot.art --dex-file=packages/apps/VehicleRobot/VehicleRobot.apk --dex-location=/system/app/VehicleRobot/VehicleRobot.apk --oat-file=out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex --android-root=out/target/product/rk3399_firefly_mipi_box/system --instruction-set=arm --instruction-set-variant=cortex-a15 --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --abort-on-hard-verifier-error --no-inline-from=core-oj.jar --compile-pic
Thread: 1762 "Compiler driver"
Registers:
    rax: 0x0000000000000000    rbx: 0x00000000000006e0    rcx: 0x00007fddee1a44d9    rdx: 0x0000000000000006
    rdi: 0x00000000000006e0    rsi: 0x00000000000006e2    rbp: 0x00007fdde8905af0    rsp: 0x00007fdde8905aa8
    r8 : 0x0000555682325310    r9 : 0x0000555682325310    r10: 0x0000000000000001    r11: 0x0000000000000246
    r12: 0x000055568418e0c1    r13: 0x00007fdde89061e0    r14: 0x00007fdde400dfb0    r15: 0x00000000000006e0
    rip: 0x00007fddee1a44d9    eflags: 0x00000246 [ PF ZF IF ]
     cs: 0x00000033     gs: 0x00000000     fs: 0x00000000

Backtrace:
        #00 pc 00000000001014d9  /lib/x86_64-linux-gnu/libc-2.23.so (syscall+25)
          syscall
           /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
        #01 pc 00000000004d9618  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+456)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
          art::Runtime::Abort(char const*)
           /proc/self/cwd/art/runtime/runtime.cc:444 (discriminator 2)
        #02 pc 000000000017b352  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art10LogMessageD1Ev+1330)
          ~LogMessage
           /proc/self/cwd/art/runtime/base/logging.cc:231 (discriminator 1)
        #03 pc 00000000001c6b6d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker20LinkInterfaceMethodsEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEERKNSt3__113unordered_mapImNS0_17MethodTranslationENS7_4hashImEENS7_8equal_toImEENS7_9allocatorINS7_4pairIKmS9_EEEEEEPbPPNS_9ArtMethodE+20061)
          art::CheckVTableHasNoDuplicates(art::Thread*, art::Handle<art::mirror::Class>, unsigned long)
           /proc/self/cwd/art/runtime/class_linker.cc:6618 (discriminator 10)
          art::SanityCheckVTable(art::Thread*, art::Handle<art::mirror::Class>, unsigned long)
           /proc/self/cwd/art/runtime/class_linker.cc:6631 (discriminator 10)
          art::ClassLinker::LinkInterfaceMethods(art::Thread*, art::Handle<art::mirror::Class>, std::__1::unordered_map<unsigned long, art::ClassLinker::MethodTranslation, std::__1::hash<unsigned long>, std::__1::equal_to<unsigned long>, std::__1::allocator<std::__1::pair<unsigned long const, art::ClassLinker::MethodTranslation> > > const&, bool*, art::ArtMethod**)
           /proc/self/cwd/art/runtime/class_linker.cc:7264 (discriminator 10)
        #04 pc 00000000001bf2e7  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11LinkMethodsEPNS_6ThreadENS_6HandleINS_6mirror5ClassEEENS3_INS4_11ObjectArrayIS5_EEEEPbPPNS_9ArtMethodE+183)
          art::ClassLinker::LinkMethods(art::Thread*, art::Handle<art::mirror::Class>, art::Handle<art::mirror::ObjectArray<art::mirror::Class> >, bool*, art::ArtMethod**)
           /proc/self/cwd/art/runtime/class_linker.cc:5575 (discriminator 2)
        #05 pc 00000000001afc9d  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker9LinkClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror5ClassEEENS5_INS6_11ObjectArrayIS7_EEEEPNS_13MutableHandleIS7_EE+637)
          art::ClassLinker::LinkClass(art::Thread*, char const*, art::Handle<art::mirror::Class>, art::Handle<art::mirror::ObjectArray<art::mirror::Class> >, art::MutableHandle<art::mirror::Class>*)
           /proc/self/cwd/art/runtime/class_linker.cc:5118 (discriminator 2)
        #06 pc 00000000001ac0f9  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11DefineClassEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEERKNS_7DexFileERKNS9_8ClassDefE+777)
          art::ClassLinker::DefineClass(art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::DexFile const&, art::DexFile::ClassDef const&)
           /proc/self/cwd/art/runtime/class_linker.cc:2555 (discriminator 2)
        #07 pc 00000000001abc86  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker26FindClassInPathClassLoaderERNS_33ScopedObjectAccessAlreadyRunnableEPNS_6ThreadEPKcmNS_6HandleINS_6mirror11ClassLoaderEEEPPNS8_5ClassE+1286)
          art::ClassLinker::FindClassInPathClassLoader(art::ScopedObjectAccessAlreadyRunnable&, art::Thread*, char const*, unsigned long, art::Handle<art::mirror::ClassLoader>, art::mirror::Class**)
           /proc/self/cwd/art/runtime/class_linker.cc:2334
        #08 pc 00000000001ac8f0  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker9FindClassEPNS_6ThreadEPKcNS_6HandleINS_6mirror11ClassLoaderEEE+400)
          art::ClassLinker::FindClass(art::Thread*, char const*, art::Handle<art::mirror::ClassLoader>)
           /proc/self/cwd/art/runtime/class_linker.cc:2401 (discriminator 1)
        #09 pc 000000000019b6dc  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art11ClassLinker11ResolveTypeERKNS_7DexFileEtNS_6HandleINS_6mirror8DexCacheEEENS4_INS5_11ClassLoaderEEE+220)
          art::ClassLinker::ResolveType(art::DexFile const&, unsigned short, art::Handle<art::mirror::DexCache>, art::Handle<art::mirror::ClassLoader>)
           /proc/self/cwd/art/runtime/class_linker.cc:7578 (discriminator 1)
        #10 pc 00000000001af0ed  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art35ResolveClassFieldsAndMethodsVisitor5VisitEm+461)
          art::ResolveClassFieldsAndMethodsVisitor::Visit(unsigned long)
           /proc/self/cwd/art/compiler/driver/compiler_driver.cc:2062
        #11 pc 00000000001aeec9  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd-compiler.so (_ZN3art26ParallelCompilationManager13ForAllClosure3RunEPNS_6ThreadE+25)
          art::ParallelCompilationManager::ForAllClosure::Run(art::Thread*)
           /proc/self/cwd/art/compiler/driver/compiler_driver.cc:1938
        #12 pc 000000000050c3eb  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker3RunEv+91)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
          art::ThreadPoolWorker::Run()
           /proc/self/cwd/art/runtime/thread_pool.cc:79
        #13 pc 000000000050bf63  /home/blv/workdata/new_rk3399/test_rk3399/out/host/linux-x86/lib64/libartd.so (_ZN3art16ThreadPoolWorker8CallbackEPv+115)
addr2line: Dwarf Error: Info pointer extends beyond end of attributes
          art::ThreadPoolWorker::Callback(void*)
           /proc/self/cwd/art/runtime/thread_pool.cc:94
        #14 pc 00000000000076b9  /lib/x86_64-linux-gnu/libpthread-2.23.so (start_thread+201)
          start_thread
           ??:?
        #15 pc 000000000010741c  /lib/x86_64-linux-gnu/libc-2.23.so (clone+108)
          clone
           /build/glibc-Cl5G7W/glibc-2.23/misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:109
        #16 pc 0000000000000000  ???
dex2oatd F 1760 1762 art/runtime/runtime_linux.cc:359]Fault message: /bin/bash: line 1:  1760 Aborted                 (core dumped) ( ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -classpath --runtime-arg "&" --boot-image=out/target/product/rk3399_firefly_mipi_box/dex_bootjars/system/framework/boot.art --dex-file=packages/apps/VehicleRobot/VehicleRobot.apk --dex-location=/system/app/VehicleRobot/VehicleRobot.apk --oat-file=out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex --android-root=out/target/product/rk3399_firefly_mipi_box/system --instruction-set=arm --instruction-set-variant=cortex-a15 --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --abort-on-hard-verifier-error --no-inline-from=core-oj.jar --compile-pic )
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/blv/workdata/new_rk3399/test_rk3399'

在Android 7.0 预制apk 编译发现上面的错误。
其中有用的错误信息是

FAILED: /bin/bash -c "(rm -f out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex ) && (mkdir -p out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/ ) && (ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --runtime-arg -classpath --runtime-arg \"&\" --boot-image=out/target/product/rk3399_firefly_mipi_box/dex_bootjars/system/framework/boot.art --dex-file=packages/apps/VehicleRobot/VehicleRobot.apk --dex-location=/system/app/VehicleRobot/VehicleRobot.apk --oat-file=out/target/product/rk3399_firefly_mipi_box/obj/APPS/VehicleRobot_intermediates/oat/arm/package.odex --android-root=out/target/product/rk3399_firefly_mipi_box/system --instruction-set=arm --instruction-set-variant=cortex-a15 --instruction-set-features=default --include-patch-information --runtime-arg -Xnorelocate --no-generate-debug-info --abort-on-hard-verifier-error --no-inline-from=core-oj.jar   --compile-pic )"
dex2oatd F  1760  1762 art/runtime/class_linker.cc:6620] Check failed: vtable_entry != other_entry && !name_comparator.HasSameNameAndSignature( other_entry->GetInterfaceMethodIfProxy(pointer_size)) vtable entries 1049 and 1054 are identical for java.lang.Class<android.support.v7.widget.MenuPopupWindow$MenuDropDownListView> in method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) and int android.support.v7.widget.MenuPopupWindow$MenuDropDownListView.lookForSelectablePosition(int, boolean)
dex2oatd F 1760 1762 art/runtime/runtime.cc:422]Runtime aborting...
Aborting thread:

指名了错误的原因
原因是apk要预置进源码的时候,会对apk进行一个解析,好形成odex文件加速apk的运行,但是基于高版本的sdk开发的apk里面的一些资源是无法被低版本正确的解析的,解决办法就是,在mk文件里面禁止对该apk进行odex的处理。
1、LOCAL_DEX_PREOPT := false
2、让应用降低sdk版本与我们当前使用Android设备版本一致

猜你喜欢

转载自blog.csdn.net/lb5761311/article/details/90294373