Hallo,
I am noit able to make the FusedLocationProvider Libary run.
I always get this error. I read all the threats about, but it does'nt work.
This is the error i get:
B4A version: 5.80 BETA #1
Parsing code. (0.01s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Generating R file. Error
AndroidManifest.xml:26: error: Error: No resource found that matches the given name (at 'value' with value '@Integer/google_play_services_version').
I use GPS Lib 1.20 and FusedLocationProvider Lib 1.31
I copied google-play-service.jar to my B4A lib folder.
It is google-play-service Version 29
This is my ManiFest:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
'change theme to Theme.Holo.Light
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light")
'allow permission to phone and to modify audio
AddPermission(android.permission.CALL_PHONE)
AddPermission(android.permission.MODIFY_AUDIO_SETTINGS)
'allow fusedlocationprovider
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.ACCESS_COARSE_LOCATION)
AddApplicationText(<meta-data
android:name="com.google.android.gms.version"
android:value="@Integer/google_play_services_version" />)
Hope you can help
thx Georg
I am noit able to make the FusedLocationProvider Libary run.
I always get this error. I read all the threats about, but it does'nt work.
This is the error i get:
B4A version: 5.80 BETA #1
Parsing code. (0.01s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Generating R file. Error
AndroidManifest.xml:26: error: Error: No resource found that matches the given name (at 'value' with value '@Integer/google_play_services_version').
I use GPS Lib 1.20 and FusedLocationProvider Lib 1.31
I copied google-play-service.jar to my B4A lib folder.
It is google-play-service Version 29
This is my ManiFest:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: https://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
'change theme to Theme.Holo.Light
SetApplicationAttribute(android:theme, "@android:style/Theme.Holo.Light")
'allow permission to phone and to modify audio
AddPermission(android.permission.CALL_PHONE)
AddPermission(android.permission.MODIFY_AUDIO_SETTINGS)
'allow fusedlocationprovider
AddPermission(android.permission.ACCESS_FINE_LOCATION)
AddPermission(android.permission.ACCESS_COARSE_LOCATION)
AddApplicationText(<meta-data
android:name="com.google.android.gms.version"
android:value="@Integer/google_play_services_version" />)
Hope you can help
thx Georg