Android Code Snippet Google MAPS problem in android 28

HAH

Well-Known Member
Licensed User
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
It is all documented here;

 
Top