Android Question Push Notification B4Xpages error

omarruben

Active Member
Licensed User
Longtime User
hi I am trying the sample on the post :


but i have errors and can not compile, I did use the SDK manager and install all requirements, any help is very welcome, thank you

B4X:
B4A Version: 10.50
Parsing code.    (0.02s)
    Java Version: 8
Building folders structure.    (0.01s)
Running custom action.    (0.04s)
Compiling code.    (0.23s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    Error
c:\android\tools\..\extras\b4a_remote\androidx\savedstate\savedstate\1.1.0\unpacked-savedstate-1.1.0\res\values\values.xml:3: error: Found tag id where item is expected
c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-viewmodel\2.3.0\unpacked-lifecycle-viewmodel-2.3.0\res\values\values.xml:3: error: Found tag id where item is expected
c:\android\tools\..\extras\b4a_remote\androidx\lifecycle\lifecycle-runtime\2.3.0\unpacked-lifecycle-runtime-2.3.0\res\values\values.xml:3: error: Found tag id where item is expected
 

omarruben

Active Member
Licensed User
Longtime User
fixed... in B4A configure paths should point to :

C:\android\platforms\android-30\android.jar

mine was

C:\android\platforms\android-28\android.jar (so needed an update)
 
Upvote 0
Top