非Google Play安装设备中performLaunchActivity崩溃排查求助
非官方安装渠道的AndroidRuntime崩溃排查求助
崩溃调用栈
Exception java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3835) at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4011) at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2325) at android.os.Handler.dispatchMessage (Handler.java:106) at android.os.Looper.loop (Looper.java:246) at android.app.ActivityThread.main (ActivityThread.java:8633) at java.lang.reflect.Method.invoke (Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1130)
问题特征
- 仅发生在非Google Play安装的设备上,包括我刚在Google Play进行5%分阶段发布的2.3.0版本,发布4小时后就收到此类非官方渠道的崩溃报告
- 该崩溃无法被Firebase Crashlytics捕获
- 涉及三星、OPPO等多品牌设备,仅出现于Android 10及以上系统,且同一设备上可稳定复现
求助内容
请问该崩溃的可能原因是什么?有哪些进一步排查的方法?
附app模块build.gradle配置
android { compileSdkVersion 33 defaultConfig { applicationId "one.two.three" minSdkVersion 21 targetSdkVersion 33 versionCode 22 versionName "2.3.0" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true } buildTypes { release { minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } namespace 'one.two.three' } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) //actually redundant, I have no jar libs implementation 'androidx.preference:preference:1.2.0' implementation 'androidx.appcompat:appcompat:1.6.1' implementation 'com.google.android.material:material:1.8.0' implementation 'androidx.constraintlayout:constraintlayout:2.1.4' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.vectordrawable:vectordrawable:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.2.1' implementation 'androidx.cardview:cardview:1.0.0' }
内容的提问来源于stack exchange,提问作者BenjyTec
相关产品推荐
相关产品推荐

