Android Question [ Google Play Services Version not found ] on build

Waldemar Lima

Well-Known Member
Licensed User
Longtime User
Build Error :
B4X:
B4A Version: 10.70
Parsing code.    (0.10s)
    Java Version: 8
Building folders structure.    (0.05s)
Compiling code.    (0.29s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (2.20s)
Linking resources    Error
AndroidManifest.xml:33: error: resource integer/google_play_services_version (aka com.pecatudo.app:integer/google_play_services_version) not found.
error: failed processing manifest.

Manifest :

B4X:
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="29"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
CreateResourceFromFile(Macro, Themes.LightTheme)
'End of default text.
CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)

AddApplicationText(
<meta-data
  android:name="com.google.android.geo.API_KEY"
  android:value="AIzaSxxxxxxx_xxxxxxxxxxxxxxxxxxx"/>
)

AddApplicationText(
<uses-library
      android:name="org.apache.http.legacy"
      android:required="false" />
)
AddManifestText(<uses-feature android:name="android.hardware.location.gps"/>)
SetApplicationAttribute(android:usesCleartextTraffic, "true")
AddPermission("android.permission.INTERNET")

libraryes used :



I tried to reinstall the android SDK, but without success ... Does anyone know what may be happening?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…