Android Question B4A - Maven artifact not found: androidx.core/core-ktx (-> lStar)

Mike1970

Well-Known Member
Licensed User
Longtime User
Hi everyone, I just switched to a MacBook M1 and i'm configuring everything on Windows11 with Parallels.

I followed the usual B4A installation instructions and tried to compile an already existing project.
This error showed up...

Immagine 2022-09-20 171031.png


what can i do?
i already tried to install these:

androidx.lifecycle:lifecycle-process
androidx.startup:startup-runtime
androidx.lifecycle:lifecycle-service


through SDK Manager


Edit:
I didn't try the obvious solution: Search for that in the SDK Manager.
I did it and installed this:
Immagine 2022-09-20 172137.png




than i got another error and I had to insall this:
Immagine 2022-09-20 172302.png





But now i've this problem... and it's different:

Immagine 2022-09-20 172316.png




Thanks in advance
 
Last edited:

Mike1970

Well-Known Member
Licensed User
Longtime User
I solved by deleting all the resources from the C:\Android folder and downloading them again.
WITHOUT UPDATE FROM SDKMANAGER


I don't know if this is normal.. on the other PC even if i update the packages with SDK Manager it continues to work... what does it mean? i should never open SDK Manager again?
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
I don't know if this is normal..
It's normal . The installation instructions say

Make sure to follow the instructions below.
  • Note that you don't need to run B4A Sdk Manager, unless you want to use the Android emulator, which is less recommended.
 
Upvote 0

Mike1970

Well-Known Member
Licensed User
Longtime User
It's normal . The installation instructions say

Make sure to follow the instructions below.
  • Note that you don't need to run B4A Sdk Manager, unless you want to use the Android emulator, which is less recommended.
Yes in fact that is what I’ve done later.
So I will never have the necessity to upgrade something ?

(Curiosity: if I wanted to use an Android Emulator I couldn’t because of that problem, right?)
 
Upvote 0
Top