Android Code Snippet Google MAPS problem in android 28

I have updated my app to target android sdk 28 and I'm using google maps 17
On old devices my app works fine, but in android 9 google maps doesn't work, I got this error:
B4X:
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
I googling for the causes, All talking about adding this line to manifest file, I added it:
B4X:
AddApplicationText(<uses-library android:name="org.apache.http.legacy" android:required="false"/>)

When adding it all things work fine..
 

DonManfred

Expert
Licensed User
Longtime User
It is all documented here;

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…