processing / processing-android

Processing mode and core library to create Android apps with Processing
http://android.processing.org
779 stars 293 forks source link

The Android SDK could not be loaded. #418

Closed kyumdbot closed 6 years ago

kyumdbot commented 6 years ago

error

I use the "Locate SDK path manually" and "Download SDK automatically" option, there will be "The Android SDK could not be loaded" error message.

How do I load the Android SDK?

(I use Processing 3.3.6 version)

codeanticode commented 6 years ago

Thanks for reporting this problem. Is this your first time using the android mode and trying to install the SDK?

kyumdbot commented 6 years ago

Yes.

I installed Platforms-26 using Android Studio's SDK Manager, now it is work. (Android Studio default is to install Platforms-27)

But "Download SDK automatically" still does not work.

pdcxs commented 6 years ago

I use windows 10, processing 3.3.6 version, 64bit, even set the location of SDK manually, it doesn't work. I'm sure I have installed platform 26

KeesR commented 6 years ago

Using windows 10, processing 3.3.6. When setting the location of SDK manually, during installation, I get same problem.

Log file in C:\Users\Kees\AppData\Roaming\Processing\console (attached 171231_112040.err.log) shows several BadSDKExceptions,

However due to changed structure of wearable folder, building the sketch will fail. [wear API 2.0.0 seems to be integrated in the API 26.0, looking at the build exception].

Bedjes commented 6 years ago

Hi ! I'm looking since this morning how to succes and I did it ! For every one who need help i will say what to do :

1 : Download Android Studio for ur OS here : https://developer.android.com/studio/index.html 2 : Install Android Studio 3 : Open Android Studio, clik to Configure, SDK Manager, _Appearence & Behavior, System Settings , Android SDK 4 : Download the _Android 8.0 (Oreo) 5 : Remember the path on the top of the screen Android SDK Location 6 : Open Processing 7 : On the top right corner clik on JAVA --> add modes --> download Android Mode then choose the Android Mode insted of JAVA 8 : select the path who is indicate step 5

Normaly it's done !

Edit : Processing version : 3.3.6 64 bit Android Studio version : 3.0.1 64 bit Windows version : Windows 7 64 bit

Xendergo commented 6 years ago

That's what I did too, I opened an issue reporting the same thing, got the same answer, and made a stackoverflow answer using it with less detail.

codeanticode commented 6 years ago

Fixed with https://github.com/processing/processing-android/commit/b4145e192b5ca7f6795f80a1b9ffdad26dedc215

PixsaOJ commented 1 month ago

I still had to download sdk-tools and 26 API