Android Question Maven artifact not found

sdixon

Member
Licensed User
Longtime User
- downloaded and installed the latest version of B4A
- updated the sdk r
- eopened a project and got the following error.
Does anyone have a fix for this, or am I the only one (yes I followed these instructions https://www.b4x.com/b4a.html)?
 

Attachments

  • Screenshot 2020-09-17 182747.png
    Screenshot 2020-09-17 182747.png
    13.7 KB · Views: 144

sdixon

Member
Licensed User
Longtime User
Please post it as text instead of screenshot.

B4A Version: 10.2
Java Version: 8
Parsing code. (0.01s)
Building folders structure. (0.13s)
Compiling code. (0.09s)
Compiling layouts code. (0.02s)
Organizing libraries. Error
Maven artifact not found: com.google.firebase/firebase-installations
 
Upvote 0

sdixon

Member
Licensed User
Longtime User
Open the sdk manager and search for "firebase-installations".
There are 2 packages to install.
I just gutted my laptop to reinstall everything. I'll let you know once I get everything running again. Thanks
 
Upvote 0

sdixon

Member
Licensed User
Longtime User
Steps so far

Installed java - OpenJDK 11(recommended)
installed Android SDK + Required Resources
installed B4A
set all the paths in Tools -> Configure Paths

Started the SDK Manager and received the following error

Error: Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
 
Upvote 0

sdixon

Member
Licensed User
Longtime User
I replaced the new command line tools
commandlinetools-win-6609375_latest.zip with sdk-tools-windows-4333796.zip
and now it appears to work ei. the "Maven artifact not found: com.google.firebase/firebase-installations" is gone

Thanks
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Carefully follow the installation instructions and everything will work.

 
Upvote 0

sdixon

Member
Licensed User
Longtime User
Carefully follow the installation instructions and everything will work.

I did follow them and it did not work

When I replaced the new command line tools
commandlinetools-win-6609375_latest.zip with sdk-tools-windows-4333796.zip (an older version) it is now working

Thanks for all your help
 
Upvote 0

sdixon

Member
Licensed User
Longtime User
I only use 7zip
commandlinetools-win-6609375_latest.zip had a downloaded size of 84,490 kb
sdk-tools-windows-4333796.zip had a downloaded size of 152,478 kb
maybe it wasn't packed properly
 
Upvote 0

sdixon

Member
Licensed User
Longtime User
I deleted every reference to anything android from my laptop.
I reinstalled everything as in https://www.b4x.com/b4a.html at least three times, deleting the files installed between each new installation.
I finally used the old version of the sdk, installed the new version over top of it not copying the five text file duplicates.
Now the IDE works, my programs compile, and run on my test devices.

I must be in the 1% of the developers that it doesn't work for.
 
Upvote 0
Top