Android Question Firebase Lib error in B4A v.11.5

SMOOTSARA

Active Member
Licensed User
Longtime User
Hi.

I have updated my B4A version to 11.5
I create New B4A program and run it.It runs simply and perfectly

But

When I add the "FirebaseAdmob2" or " Firebaseanalytics" library it gives the following error
(do not add any code and I only add the library)

B4X:
B4A Version: 11.50
Parsing code.    (0.22s)
    Java Version: 11
Building folders structure.    (0.10s)
Running custom action.    (0.08s)
Compiling code.    (0.49s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.03s)
    (AndroidX SDK)
Compiling resources    (0.11s)
Linking resources    Error
d:\android-sdk\tools\..\extras\b4a_remote\androidx\core\core\1.7.0\unpacked-core-1.7.0\res\values\values.xml:113: error: resource android:attr/lStar not found.
error: failed linking references.


Thank you
 
Solution
The problem was solved

First, I deleted the tools in android SDK folder and replaced it with the new version from the link below

Then in B4A ->Tools -> Paths Configuration I changed the address from "android.jar ->28" to "android.jar ->32"

All known old libraries and applications work

DonManfred

Expert
Licensed User
Longtime User
This error happens with a misconfigured SDK or an old and no longer supported library (none of the official libraries).
 
Upvote 0

SMOOTSARA

Active Member
Licensed User
Longtime User
This error happens with a misconfigured SDK or an old and no longer supported library (none of the official libraries).


Libraries are the new version of the internal libraries.

So the problem is configuring the SDK.
What should I study to configure the SDK correctly?
 
Upvote 0

SMOOTSARA

Active Member
Licensed User
Longtime User
And no other libraries?
No
I updated to version 11.5
I created a new project that runs well, but when I check the "Firebase..."library we have a compilation error!!


You create a new project and just add (check) the FirebaseNotification or Firebaseadmob2 or FirebaseAnalitics library.
Can it be compiled ? (Version 11.5)
 
Upvote 0

SMOOTSARA

Active Member
Licensed User
Longtime User
The problem was solved

First, I deleted the tools in android SDK folder and replaced it with the new version from the link below

Then in B4A ->Tools -> Paths Configuration I changed the address from "android.jar ->28" to "android.jar ->32"

All known old libraries and applications work
 
Upvote 0
Solution
Top