1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question Issue with Maps library and API 28 upward

Discussion in 'Android Questions' started by Jimdriver2, Jul 31, 2019.

  1. Jimdriver2

    Jimdriver2 Member Licensed User

    Not sure if anyone else got this issue. Had a little search but couldn't see anything, so I thought I'd post this in case someone else does run into it.

    Google Play Store now requires that apps target API 28 and upward. Doing so however causes the GoogleMaps library to then error and crash when running. To fix it you have to update your manifest to include:

    <uses-library
    android:name="org.apache.http.legacy"
    android:required="false" />

    In the AddApplicationText function.

    I found out about that here:

    https://developers.google.com/maps/...fy_requirement_for_apache_http_legacy_library

    Hopefully that helps others.
     
    Almora likes this.
  2. DonManfred

    DonManfred Expert Licensed User

Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice