Android Question resource error in manifest while generation

leitor79

Active Member
Licensed User
Hi,

I've created a new VM, and today, while I'm generating the project, I get this error:

B4X:
B4A Version: 9.30
Java Version: 8
Parsing code.    (0.06s)
Building folders structure.    (0.05s)
Running custom action.    (8.00s)
Compiling code.    (0.13s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    Error
AndroidManifest.xml:29: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
I don't know if the reported line matches the "real" one in my manifest file, but

B4X:
AddApplicationText(
<meta-data <-----------------THIS IS LINE 29
  android:name="com.google.android.geo.API_KEY"
  android:value="KEEEEEEEEEEEEEYYYYYYYYYYYYYYYYY"/>
)
Regards,
 

leitor79

Active Member
Licensed User
Fixed.
I've removed the following line, due to a prior "suggestion":

B4X:
#AdditionalRes: D:\Android\SDK\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
I've restored it and now the error is gone.

Regards,
 

leitor79

Active Member
Licensed User
Yes; my line solved the compilation problem but I was getting another one at runtime; I've replaced that line with yours and now It's working ok.

Thank you very much!
 
Top