Status Update
Comments
jh...@google.com <jh...@google.com>
jh...@google.com <jh...@google.com>
jh...@google.com <jh...@google.com> #2
je...@gmail.com <je...@gmail.com> #3
Hi, Thanks for reporting the issue.
Please share screen recording for better understanding.
Please capture the bugreport immediately after the issue and share it.
Please provide a brief description of the issue for better understanding.
Follow the below procedure to capture.
Step 1: Enable Developer Options, USB debugging and Bug Report Shortcut
1.Go to Settings → About Phone a.Tap on “Build Number” seven times (7).
2.Go to Settings → System → Advanced → Developer Options. (Note: In some phones this is embedded in another path. Please search for “USB debugging” in your settings search box if you are unable to find this setting)
a.Enable “USB Debugging”
b.Enable “Bug report shortcut” (allows you to quickly capture bug report by long-pressing power button and selecting “Take bug report”)
Note: Please upload the bug report to google drive and share the folder to
lm...@google.com <lm...@google.com> #4
Please provide the input requested, or the issue would be closed in a week.
tu...@gmail.com <tu...@gmail.com> #5
We're closing this issue due to not having enough actionable information. If you continue to have this issue, please file a new issue and add the relevant information along with a reference link to the earlier issue.
jh...@google.com <jh...@google.com>
jh...@google.com <jh...@google.com>
pa...@gmail.com <pa...@gmail.com> #6
Here's my play services dependecy tree :
+--- com.google.android.gms:play-services-maps:16.1.0@aar
+--- com.google.android.gms:play-services-location:16.0.0@aar
+--- com.google.android.gms:play-services-analytics:16.0.8@aar
+--- com.google.android.gms:play-services-tagmanager:16.0.8@aar
+--- com.google.android.gms:play-services-tagmanager-v4-impl:16.0.8@aar
+--- com.google.android.gms:play-services-tagmanager-api:16.0.8@aar
+--- com.google.android.gms:play-services-analytics-impl:16.0.8@aar
+--- com.google.android.gms:play-services-measurement-api:16.4.0@aar
+--- com.google.android.gms:play-services-base:16.1.0@aar
+--- com.google.android.gms:play-services-tasks:16.0.1@aar
+--- com.google.android.gms:play-services-places-placereport:16.0.0@aar
+--- com.google.android.gms:play-services-measurement:16.4.0@aar
+--- com.google.android.gms:play-services-measurement-sdk:16.4.0@aar
+--- com.google.android.gms:play-services-measurement-impl:16.4.0@aar
+--- com.google.android.gms:play-services-stats:16.0.1@aar
+--- com.google.android.gms:play-services-ads-identifier:16.0.0@aar
+--- com.google.android.gms:play-services-measurement-sdk-api:16.4.0@aar
+--- com.google.android.gms:play-services-measurement-base:16.4.0@aar
+--- com.google.android.gms:play-services-basement:16.2.0@aar
Description
"With Android 6.0, we removed support for the Apache HTTP client. Beginning with Android 9, that library is removed from the bootclasspath and is not available to apps by default.
To continue using the Apache HTTP client, apps that target Android 9 and above can add the following to their AndroidManifest.xml:
<uses-library android:name="org.apache.http.legacy" android:required="false"/>"
But even on version 16.0.0, the library doesn't have <uses-library...> line in his manifest, causing an app crash when open a screen with Google Maps if this line isn't in app manifest.
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
at el.b(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):3)
at ek.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):4)
at em.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):51)
at com.google.maps.api.android.lib6.drd.ap.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):11)
at dw.a(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):16)
at dw.run(:com.google.android.gms.dynamite_mapsdynamite@12862026@12.8.62 (040700-199405334):61)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/system/priv-app/PrebuiltGmsCore/app_chimera/m/MapsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000006/MapsDynamite.apk!/lib/x86, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at ad.loadClass(:com.google.android.gms.dynamite_dynamiteloader@12862026@12.8.62 (040700-199405334):25)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
What steps will reproduce the problem?
1. Create a project with maps api
2. Set targetApi and compileSdkVersion to 28 in build.gradle
3. Don't add <uses-library> line on app manifest
4. Try to open an Activity with Google Maps fragment
- Device (and version of Android) you have verified this issue on: Android emulator with Android 9.0
- Google Play Services client library version: 16.0.0
- Google Play Services version on the device: 12.8.62
- Android SDK Version: 28
- Was this working correctly on a previous version of Google Play Services? No