P Pelky Active Member Licensed User Longtime User Nov 9, 2023 #1 When running the SDK Manager I get the following error in a popup window:- -------------------------------------------- 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 --------------------------------------------- B4A Sdk Manager: 4.10 TempFolder = C:\Users\pelky\AppData\Roaming\ANYWHE~1\BASIC4~1\temp DataFolder: C:\Users\pelky\AppData\Roaming\B4ASdkManager SDK version: 6609375 Downloading: https://dl.google.com/dl/android/maven2/master-index.xml I have previously being able to compile for RELEASE but when I tried now I it seems to do the install but when I try and run it Android starts to load the app and then closes down. I did see a message saying Application stopping for some reason. Your help would be appreciated.
When running the SDK Manager I get the following error in a popup window:- -------------------------------------------- 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 --------------------------------------------- B4A Sdk Manager: 4.10 TempFolder = C:\Users\pelky\AppData\Roaming\ANYWHE~1\BASIC4~1\temp DataFolder: C:\Users\pelky\AppData\Roaming\B4ASdkManager SDK version: 6609375 Downloading: https://dl.google.com/dl/android/maven2/master-index.xml I have previously being able to compile for RELEASE but when I tried now I it seems to do the install but when I try and run it Android starts to load the app and then closes down. I did see a message saying Application stopping for some reason. Your help would be appreciated.
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2023 #2 You don't need to run the sdk manager at all. Which error do you get during compilation? Upvote 0
P Pelky Active Member Licensed User Longtime User Nov 9, 2023 #3 I understand - I tested another app and it ran okay. I think the difference is that in this app I am using SQL and perhaps the problem is related to read/write permissions. Upvote 0
I understand - I tested another app and it ran okay. I think the difference is that in this app I am using SQL and perhaps the problem is related to read/write permissions.