Android Question B4A 9.30 androidx compiling error

luke2012

Well-Known Member
Licensed User
Longtime User
Hi All,
I'm facing with compiling problems on a my customer project (that with older SDK and B4A IDE the compilation went ok).

I did an SDK Manager update (Tool provided by @Erel) and now the first error "Failed resolution of: Landroid/support/v4/widget/ViewDragHelper" is gone :) but I got a new compiling error :-( see the compiler log...

COMPILER LOG
-----------------
B4A Versione: 9.30
Java Versione: 8
Analisi del Codice. (0.29s)
Building folders structure. (0.07s)
Compilazione del codice. (1.41s)
Compilazione del codice di layouts (0.08s)
Organizzazione Librerie. Error
Maven artifact non trovato: androidx.activity/activity


I googled "maven artifact" and I see these: "An artifact is a file, usually a JAR".
So within my build is missing a .jar file about "androidx.activity/activity" ?


NOTE

1- I already switch to AndroidX
2- I download this packages (using SDK Manager) suggested by @DonManfred within this post (#3) ---> https://www.b4x.com/android/forum/threads/maven-artifact-not-found.67761/

Thanks in advance for your help.
Luca.
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
I also download this packages suggested by @DonManfred within this post (#3)
i don´t think that a answer from 2016 is relevant in 2019 as a lot has changed in the SDK in the meantime.

Looks like you should switch to AndroidX?
 
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
i don´t think that a answer from 2016 is relevant in 2019 as a lot has changed in the SDK in the meantime.

Looks like you should switch to AndroidX?

I already did the AndroidX switch because I following the @Erel 2019 Tutorial ---> https://www.b4x.com/android/forum/threads/androidx-sdk.107236/


1. Open Tools - B4A Sdk manager.
2. Install all recommended items. This will make the switch to AndroidX. You can
3...

But this (in my case) don't resolve the error and I can't compile the app :-(
 
Last edited:
Upvote 0

luke2012

Well-Known Member
Licensed User
Longtime User
Where does it come from?

Hi @Erel, the blocking error that I have now (after SDK Manager update) is within belove log:

COMPILER LOG
-----------------
B4A Versione: 9.30
Java Versione: 8
Analisi del Codice. (0.29s)
Building folders structure. (0.07s)
Compilazione del codice. (1.41s)
Compilazione del codice di layouts (0.08s)
Organizzazione Librerie. Error
Maven artifact non trovato: androidx.activity/activity

SOLVED:
I solved this error after another SDK Manager update.

 
Last edited:
Upvote 0
Top