[Bug] Crash in apps which use maps on Android 4.4 Kitkat
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 3.2k
- Avg merge
- 12d 11h
- Merged PRs (30d)
- 4
Description
Apps which use maps, crash on Android 4.4.4 (armeabi-v7a) with last microG (v0.2.11.202414). With older version map work fine.
Crash in app com.whatsapp:
E/AndroidRuntime( 5930): FATAL EXCEPTION: main
E/AndroidRuntime( 5930): Process: com.whatsapp, PID: 5930
E/AndroidRuntime( 5930): java.lang.NoClassDefFoundError: org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl
E/AndroidRuntime( 5930): at com.google.android.gms.maps.internal.CreatorImpl.initV2(CreatorImpl.java:68)
E/AndroidRuntime( 5930): at com.google.android.gms.maps.internal.ICreator$Stub.onTransact(ICreator.java:134)
E/AndroidRuntime( 5930): at com.google.android.gms.maps.internal.CreatorImpl.onTransact(CreatorImpl.java:75)
E/AndroidRuntime( 5930): at android.os.Binder.transact(Binder.java:361)
E/AndroidRuntime( 5930): at X.1Am.A02(:203637)
E/AndroidRuntime( 5930): at X.1pB.AW3(:261573)
E/AndroidRuntime( 5930): at X.1BU.A01(:204050)
E/AndroidRuntime( 5930): at X.1BH.A00(:203907)
E/AndroidRuntime( 5930): at X.0FI.A09(:74510)
E/AndroidRuntime( 5930): at X.24C.A05(:278263)
E/AndroidRuntime( 5930): at X.24A.A00(:278189)
E/AndroidRuntime( 5930): at X.0as.onClick(:154399)
E/AndroidRuntime( 5930): at android.view.View.performClick(View.java:4463)
E/AndroidRuntime( 5930): at android.view.View$PerformClick.run(View.java:18789)
E/AndroidRuntime( 5930): at android.os.Handler.handleCallback(Handler.java:808)
E/AndroidRuntime( 5930): at android.os.Handler.dispatchMessage(Handler.java:103)
E/AndroidRuntime( 5930): at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime( 5930): at android.app.ActivityThread.main(ActivityThread.java:5265)
E/AndroidRuntime( 5930): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5930): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 5930): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
E/AndroidRuntime( 5930): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
E/AndroidRuntime( 5930): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 656): Force finishing activity com.whatsapp/.Conversation
Crash in app com.tgt.transport:
E/AndroidRuntime( 4685): FATAL EXCEPTION: main
E/AndroidRuntime( 4685): Process: com.tgt.transport, PID: 4685
E/AndroidRuntime( 4685): java.lang.NoClassDefFoundError: org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl
E/AndroidRuntime( 4685): at com.google.android.gms.maps.internal.CreatorImpl.initV2(CreatorImpl.java:68)
E/AndroidRuntime( 4685): at com.google.android.gms.maps.internal.ICreator$Stub.onTransact(ICreator.java:134)
E/AndroidRuntime( 4685): at com.google.android.gms.maps.internal.CreatorImpl.onTransact(CreatorImpl.java:75)
E/AndroidRuntime( 4685): at android.os.Binder.transact(Binder.java:361)
E/AndroidRuntime( 4685): at com.google.android.gms.maps.internal.zzc$zza$zza.zzh(Unknown Source)
E/AndroidRuntime( 4685): at com.google.android.gms.maps.internal.zzai.zzbq(Unknown Source)
E/AndroidRuntime( 4685): at com.google.android.gms.maps.MapsInitializer.initialize(Unknown Source)
E/AndroidRuntime( 4685): at com.tgt.transport.activities.MainActivity.onCreate(MainActivity.java:116)
E/AndroidRuntime( 4685): at android.app.Activity.performCreate(Activity.java:5264)
E/AndroidRuntime( 4685): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
E/AndroidRuntime( 4685): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288)
E/AndroidRuntime( 4685): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2375)
E/AndroidRuntime( 4685): at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime( 4685): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1318)
E/AndroidRuntime( 4685): at android.os.Handler.dispatchMessage(Handler.java:110)
E/AndroidRuntime( 4685): at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime( 4685): at android.app.ActivityThread.main(ActivityThread.java:5265)
E/AndroidRuntime( 4685): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4685): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 4685): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
E/AndroidRuntime( 4685): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
E/AndroidRuntime( 4685): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 656): Force finishing activity com.tgt.transport/.activities.MainActivity
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Android 4.4 failure at CreatorImpl.initV2 and the missing org.microg.gms.maps.mapbox.model.BitmapDescriptorFactoryImpl class. Compare the maps implementation in the reported microG version with the older version that worked. Done means map initialization no longer raises NoClassDefFoundError on Android 4.4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100