sdixon Member Licensed User Longtime User Sep 17, 2020 #1 - 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 13.7 KB · Views: 359
- 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)?
Erel B4X founder Staff member Licensed User Longtime User Sep 17, 2020 #2 Please post it as text instead of screenshot. Upvote 0
sdixon Member Licensed User Longtime User Sep 18, 2020 #3 Erel said: Please post it as text instead of screenshot. Click to expand... 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
Erel said: Please post it as text instead of screenshot. Click to expand... 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
mcqueccu Expert Licensed User Longtime User Sep 18, 2020 #4 Open the sdk manager and search for "firebase-installations". There are 2 packages to install. Upvote 0
sdixon Member Licensed User Longtime User Sep 18, 2020 #5 mcqueccu said: Open the sdk manager and search for "firebase-installations". There are 2 packages to install. Click to expand... I just gutted my laptop to reinstall everything. I'll let you know once I get everything running again. Thanks Upvote 0
mcqueccu said: Open the sdk manager and search for "firebase-installations". There are 2 packages to install. Click to expand... I just gutted my laptop to reinstall everything. I'll let you know once I get everything running again. Thanks
sdixon Member Licensed User Longtime User Sep 18, 2020 #6 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
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
sdixon Member Licensed User Longtime User Sep 18, 2020 #7 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
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
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2020 #8 Carefully follow the installation instructions and everything will work. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com Upvote 0
Carefully follow the installation instructions and everything will work. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com
sdixon Member Licensed User Longtime User Sep 18, 2020 #9 Erel said: Carefully follow the installation instructions and everything will work. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com Click to expand... 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
Erel said: Carefully follow the installation instructions and everything will work. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com Click to expand... 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
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2020 #10 This means that the zip wasn't unpacked properly. Use 7zip to unpack it. Upvote 0
sdixon Member Licensed User Longtime User Sep 18, 2020 #11 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
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
Erel B4X founder Staff member Licensed User Longtime User Sep 18, 2020 #12 It works for 99% of the developers. It was packed fine (by Google). Some developers did encounter this error and were able to solve it by doing it again. Maybe some old files were left in the folder. It is a mistake to use the old SDK version. Upvote 0
It works for 99% of the developers. It was packed fine (by Google). Some developers did encounter this error and were able to solve it by doing it again. Maybe some old files were left in the folder. It is a mistake to use the old SDK version.
sdixon Member Licensed User Longtime User Sep 18, 2020 #13 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
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.