-
-
Notifications
You must be signed in to change notification settings - Fork 293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic SDK installation fails on OSX Big Sur #756
Comments
Hi @kevinstadler , can you please provide Failed logs if possible, we can go through it, mostly error will be in setup I think. Thanks, |
|
hello, same problem here: processing 4.3, mac os 14 |
2ND THAT : same problem here: processing 4.3, mac os 14 |
Thanks, @kevinstadler, for sharing this. Saved my day. I don't have the background to solve the issue, but I hope documenting my experience helps. I am experienced with Processing, but not with Android. The mode looks awesome and I would like to contribute at least with this. It has been a ride to get it working because the documentation was not easy to follow. I tried to use the instructions about installing the Studio as indicated on the Install page and failed. The inconsistencies started with the Installing from the IDE which, as reported by so many, fails with the automatic update. When installing and selecting the default Studio, it doesn't work. Setting the path from the preferences.txt doesn't solve the issue either. Many pages and forums mention using a wiki page which is down, that didn't help either. Then, the Getting Started page mentions installing manually the platform version 26, but the IDE asks for the version 33. Downgrading the SDK installed by Studio (which default installs version 35 to version 33 required by the current IDE), and installing the command tools, as indicated here, solved my headaches. Processing 4.3 |
in a mac with Sonoma 14.5 after I run the command I get: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0 Then locate the path manually in Processing still does not work. I will try alptugan metod (I´m just afraid of the automatic updates from the wizzard manager in Android Studio) |
The SDK installation should be working again with version 4.6.0 of the mode: https://github.com/processing/processing-android/releases/tag/latest |
On a fresh install of Android mode 4.5.1, when selecting automatic Android SDK installation it completes the ~250MB download but then fails with a "Bad news" error message.
For anyone else running into the same problem, I managed to set the SDK up manually in the following way:
youruserdirectory/Library/Android/sdk/cmdline-tools/latest
~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-33"
youruserdirectory/Library/Android/sdk
directoryThe text was updated successfully, but these errors were encountered: