Android Question Maven artifact not found - tried new install + new sdk (36)

MikeH

Well-Known Member
Licensed User
Longtime User
As per title, this error started to happen yesterday. I have tried on my laptop as well as other pc. Both have same error. I have tried re-installing everything (B4A 13.4, sdk36, cmd line tools, required resources) and set the paths - exactly as the instructions say.

SDK manager says I have the files installed but this compile error remains:

B4X:
Maven artifact not found: com.android.support/ support-v4
Source: com.android.support: support-v4
Maven artifact not found: com.google.android.gms/ play-services-location
Source: com.google.android.gms: play-services-location
Maven artifact not found: com.google.android.gms/ play-services-maps
Source: com.google.android.gms: play-services-maps

1775817440403.png


As shown, Sdk manager says I have these installed (same for ...services-location and ...services-maps)

1775817989327.png


1775818341743.png


Anyone know how to fix this?
(Please don't say follow the installation instructions exactly and it will work - I have and it doesn't)

Thanks,
Mike.
 
Last edited:

MikeH

Well-Known Member
Licensed User
Longtime User
I think I have solved my own problem...

Notice the #AdditionalJar statements in the screenshot. There are spaces after the last colon. I removed them and now it seems to be working ok. I think this happened when I formatted the text using Mashianes VScode extension (excellent work by the way!)

So it should be like this:

B4X:
#AdditionalJar: com.android.support:support-v4
#AdditionalJar: com.google.android.gms:play-services-location
#AdditionalJar: com.google.android.gms:play-services-maps
 
Upvote 0

Mashiane

Expert
Licensed User
Longtime User
I think I have solved my own problem...

Notice the #AdditionalJar statements in the screenshot. There are spaces after the last colon. I removed them and now it seems to be working ok. I think this happened when I formatted the text using Mashianes VScode extension (excellent work by the way!)

So it should be like this:

B4X:
#AdditionalJar: com.android.support:support-v4
#AdditionalJar: com.google.android.gms:play-services-location
#AdditionalJar: com.google.android.gms:play-services-maps
Hey, thanks for the heads up. Will tweak the extension..
 
Upvote 0
Top