SDK Manager
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
AVD Manager:
Error: Error: Could not find or load main class com.android.sdklib.tool.AvdManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.AvdManagerCli
I think that this error has been mentioned before, but I think my installation steps were correct. Here's what I did to accomplish the upgrade from 10.0 to 10.2.
1) Keeping existing Java, so downloaded everything in #2 and #3 here (B4A – The simple way to develop native Android apps (b4x.com)) the Android command_line_tools, the resources_9_20, the new B4A Full Version. Existing Java installation look like this:
2) Deleted my existing Android folder. Recreated a new Android folder and extracted command_line_tools and resources_9_20 into it, and it looks exactly as suggested (see image below).
3) Installed B4A and double-checked Configure Paths. It looks like this:
I had seen that 29 is the recommended version, should I go ahead and change this to 29? To check if I could download 29, I went on to the next step.
4) I'm planning on using the emulator, so I opened the SDK Manager to see what was installed and go the error mentioned above.
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
5) Clicking on the AVD Manager button within the SDK Manager popup yields the following error, too:
Error: Error: Could not find or load main class com.android.sdklib.tool.AvdManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.AvdManagerCli
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
AVD Manager:
Error: Error: Could not find or load main class com.android.sdklib.tool.AvdManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.AvdManagerCli
I think that this error has been mentioned before, but I think my installation steps were correct. Here's what I did to accomplish the upgrade from 10.0 to 10.2.
1) Keeping existing Java, so downloaded everything in #2 and #3 here (B4A – The simple way to develop native Android apps (b4x.com)) the Android command_line_tools, the resources_9_20, the new B4A Full Version. Existing Java installation look like this:
2) Deleted my existing Android folder. Recreated a new Android folder and extracted command_line_tools and resources_9_20 into it, and it looks exactly as suggested (see image below).
3) Installed B4A and double-checked Configure Paths. It looks like this:
I had seen that 29 is the recommended version, should I go ahead and change this to 29? To check if I could download 29, I went on to the next step.
4) I'm planning on using the emulator, so I opened the SDK Manager to see what was installed and go the error mentioned above.
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
5) Clicking on the AVD Manager button within the SDK Manager popup yields the following error, too:
Error: Error: Could not find or load main class com.android.sdklib.tool.AvdManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.AvdManagerCli