Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app初始化有报错,请问是什么原因,该如何解决,是否会导致app功能异常或者闪退 #10

Open
k3v1n-uncle opened this issue Jan 10, 2022 · 0 comments

Comments

@k3v1n-uncle
Copy link

k3v1n-uncle commented Jan 10, 2022

flutter 2.8.1,amap_flutter_map 3.0.0
I/ingda.jingda_o(21956): Rejecting re-init on previously-failed class java.lang.Class<com.autonavi.aps.amapapi.restruct.e$a>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/TelephonyManager$CellInfoCallback;
I/ingda.jingda_o(21956): at void com.autonavi.aps.amapapi.b.a(android.content.Context) (Aps.java:209)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.a(com.autonavi.aps.amapapi.b, com.autonavi.aps.amapapi.a) (AmapLocationManager.java:1322)
I/ingda.jingda_o(21956): at com.autonavi.aps.amapapi.model.a com.amap.api.col.3sl.d.b(com.autonavi.aps.amapapi.b) (AmapLocationManager.java:1401)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.o() (AmapLocationManager.java:1279)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.p() (AmapLocationManager.java:1526)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.e(com.amap.api.col.3sl.d) (AmapLocationManager.java:67)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$a.handleMessage(android.os.Message) (AmapLocationManager.java:1778)
I/ingda.jingda_o(21956): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
I/ingda.jingda_o(21956): at void android.os.Looper.loop() (Looper.java:214)
I/ingda.jingda_o(21956): at void android.os.HandlerThread.run() (HandlerThread.java:65)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$b.run() (AmapLocationManager.java:1611)
I/ingda.jingda_o(21956): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.telephony.TelephonyManager$CellInfoCallback" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.jingda.jingda_oa-vU7e-Bhvz3XKMR9REU31sw==/base.apk"],nativeLibraryDirectories=[/data/app/com.jingda.jingda_oa-vU7e-Bhvz3XKMR9REU31sw==/lib/arm64, /data/app/com.jingda.jingda_oa-vU7e-Bhvz3XKMR9REU31sw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
I/ingda.jingda_o(21956): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
I/ingda.jingda_o(21956): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/ingda.jingda_o(21956): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/ingda.jingda_o(21956): at void com.autonavi.aps.amapapi.b.a(android.content.Context) (Aps.java:209)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.a(com.autonavi.aps.amapapi.b, com.autonavi.aps.amapapi.a) (AmapLocationManager.java:1322)
I/ingda.jingda_o(21956): at com.autonavi.aps.amapapi.model.a com.amap.api.col.3sl.d.b(com.autonavi.aps.amapapi.b) (AmapLocationManager.java:1401)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.o() (AmapLocationManager.java:1279)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.p() (AmapLocationManager.java:1526)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.e(com.amap.api.col.3sl.d) (AmapLocationManager.java:67)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$a.handleMessage(android.os.Message) (AmapLocationManager.java:1778)
I/ingda.jingda_o(21956): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
I/ingda.jingda_o(21956): at void android.os.Looper.loop() (Looper.java:214)
I/ingda.jingda_o(21956): at void android.os.HandlerThread.run() (HandlerThread.java:65)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$b.run() (AmapLocationManager.java:1611)
I/ingda.jingda_o(21956):
I/ingda.jingda_o(21956): Rejecting re-init on previously-failed class java.lang.Class<com.autonavi.aps.amapapi.restruct.e$a>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/telephony/TelephonyManager$CellInfoCallback;
I/ingda.jingda_o(21956): at void com.autonavi.aps.amapapi.b.a(android.content.Context) (Aps.java:209)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.a(com.autonavi.aps.amapapi.b, com.autonavi.aps.amapapi.a) (AmapLocationManager.java:1322)
I/ingda.jingda_o(21956): at com.autonavi.aps.amapapi.model.a com.amap.api.col.3sl.d.b(com.autonavi.aps.amapapi.b) (AmapLocationManager.java:1401)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.o() (AmapLocationManager.java:1279)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.p() (AmapLocationManager.java:1526)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.e(com.amap.api.col.3sl.d) (AmapLocationManager.java:67)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$a.handleMessage(android.os.Message) (AmapLocationManager.java:1778)
I/ingda.jingda_o(21956): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
I/ingda.jingda_o(21956): at void android.os.Looper.loop() (Looper.java:214)
I/ingda.jingda_o(21956): at void android.os.HandlerThread.run() (HandlerThread.java:65)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$b.run() (AmapLocationManager.java:1611)
I/ingda.jingda_o(21956): Caused by: java.lang.ClassNotFoundException: Didn't find class "android.telephony.TelephonyManager$CellInfoCallback" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.jingda.jingda_oa-vU7e-Bhvz3XKMR9REU31sw==/base.apk"],nativeLibraryDirectories=[/data/app/com.jingda.jingda_oa-vU7e-Bhvz3XKMR9REU31sw==/lib/arm64, /data/app/com.jingda.jingda_oa-vU7e-Bhvz3XKMR9REU31sw==/base.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
I/ingda.jingda_o(21956): at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134)
I/ingda.jingda_o(21956): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
I/ingda.jingda_o(21956): at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
I/ingda.jingda_o(21956): at void com.autonavi.aps.amapapi.b.a(android.content.Context) (Aps.java:209)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.a(com.autonavi.aps.amapapi.b, com.autonavi.aps.amapapi.a) (AmapLocationManager.java:1322)
I/ingda.jingda_o(21956): at com.autonavi.aps.amapapi.model.a com.amap.api.col.3sl.d.b(com.autonavi.aps.amapapi.b) (AmapLocationManager.java:1401)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.o() (AmapLocationManager.java:1279)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.p() (AmapLocationManager.java:1526)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d.e(com.amap.api.col.3sl.d) (AmapLocationManager.java:67)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$a.handleMessage(android.os.Message) (AmapLocationManager.java:1778)
I/ingda.jingda_o(21956): at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
I/ingda.jingda_o(21956): at void android.os.Looper.loop() (Looper.java:214)
I/ingda.jingda_o(21956): at void android.os.HandlerThread.run() (HandlerThread.java:65)
I/ingda.jingda_o(21956): at void com.amap.api.col.3sl.d$b.run() (AmapLocationManager.java:1611)
I/ingda.jingda_o(21956):
D/TelephonyManager(21956): getAllCellInfo : Caller (PID / UID / TID): 21956 / 10268 / 23900
W/ingda.jingda_o(21956): Accessing hidden method Landroid/os/storage/StorageManager;->getVolumeList()[Landroid/os/storage/StorageVolume; (light greylist, reflection)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant