Art::DexFile::FindClassDef(art::dex::TypeIndex) constAndroid

Forum für diejenigen, die für Android programmieren
Anonymous
 Art::DexFile::FindClassDef(art::dex::TypeIndex) const

Post by Anonymous »

Wie kann ich dieses ANR beheben?
Dieses Problem tritt ausschließlich auf, wenn sich die App im Hintergrundstatus befindet (100 %). Bei den meisten betroffenen Geräten handelt es sich um Oppo-Modelle (87 %), und auf fast allen läuft Android 11 (99 %).

Code: Select all

          main (native):tid=1 systid=3629
#00 pc 0x1f10c libdexfile.so (art::DexFile::FindClassDef(art::dex::TypeIndex) const + 28)
#01 pc 0x2ee60 libdexfile.so (art::dex::DexFileVerifier::CheckInterClassDefItem() + 728)
#02 pc 0x304fc libdexfile.so (art::dex::DexFileVerifier::CheckInterSectionIterate(unsigned long, unsigned int, art::DexFile::MapItemType) + 364)
#03 pc 0x3076c libdexfile.so (art::dex::DexFileVerifier::CheckInterSection() + 268)
#04 pc 0x308e8 libdexfile.so (art::dex::DexFileVerifier::Verify() + 192)
#05 pc 0x31100 libdexfile.so (art::dex::Verify(art::DexFile const*, unsigned char const*, unsigned long, char const*, bool, std::__1::basic_string*) + 160)
#06 pc 0x238bc libdexfile.so (art::DexFileLoader::OpenCommon(unsigned char const*, unsigned long, unsigned char const*, unsigned long, std::__1::basic_string const&, unsigned int, art::OatDexFile const*, bool, bool, std::__1::basic_string*, std::__1::unique_ptr, art::DexFileLoader::VerifyResult*) + 308)
#07 pc 0x1ae70 libdexfile.so (art::ArtDexFileLoader::OpenOneDexFileFromZip(art::ZipArchive const&, char const*, std::__1::basic_string const&, bool, bool, std::__1::basic_string*, art::DexFileLoaderErrorCode*) const + 920)
#08 pc 0x1a814 libdexfile.so (art::ArtDexFileLoader::OpenAllDexFilesFromZip(art::ZipArchive const&, std::__1::basic_string const&, bool, bool, std::__1::basic_string*, std::__1::vector*) const + 420)
#09 pc 0x1a508 libdexfile.so (art::ArtDexFileLoader::OpenZip(int, std::__1::basic_string const&, bool, bool, std::__1::basic_string*, std::__1::vector*) const + 248)
#10 pc 0x1a1d4 libdexfile.so (art::ArtDexFileLoader::OpenWithMagic(unsigned int, int, std::__1::basic_string const&, bool, bool, std::__1::basic_string*, std::__1::vector*) const + 284)
#11 pc 0x1a06c libdexfile.so (art::ArtDexFileLoader::Open(char const*, std::__1::basic_string const&, bool, bool, std::__1::basic_string*, std::__1::vector*) const + 164)
#12 pc 0x4f8a3c libart.so (art::OatFileManager::OpenDexFilesFromOat(char const*, _jobject*, _jobjectArray*, art::OatFile const**, std::__1::vector*) + 7628)
#13 pc 0x4a9b28 libart.so (art::DexFile_openDexFileNative(_JNIEnv*, _jclass*, _jstring*, _jstring*, int, _jobject*, _jobjectArray*) + 144)
at dalvik.system.DexFile.openDexFileNative(Native method)
at dalvik.system.DexFile.openDexFile(DexFile.java:379)
at dalvik.system.DexFile.(DexFile.java:112)
at dalvik.system.DexFile.(DexFile.java:85)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:439)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:398)
at dalvik.system.DexPathList.(DexPathList.java:166)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:129)
at dalvik.system.BaseDexClassLoader.(BaseDexClassLoader.java:104)
at dalvik.system.PathClassLoader.(PathClassLoader.java:74)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:87)
at com.android.internal.os.ClassLoaderFactory.createClassLoader(ClassLoaderFactory.java:116)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:114)
at android.app.ApplicationLoaders.getClassLoaderWithSharedLibraries(ApplicationLoaders.java:60)
at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:981)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:1038)
at android.app.LoadedApk.getResources(LoadedApk.java:1270)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2766)
at android.app.ContextImpl.createAppContext(ContextImpl.java:2758)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7177)
at android.app.ActivityThread.access$1700(ActivityThread.java:309)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2194)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:264)
at android.app.ActivityThread.main(ActivityThread.java:8315)
at java.lang.reflect.Method.invoke(Native method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post