Reputation: 183
When I try to download the Android SDK when Processing doesn't find it, at 30%, it says "The Android SDK could not be loaded, Android mode will be turned off"
I'm using Windows 10 home edition, Processing 3.3.6, Processing-Android 4
Upvotes: 2
Views: 3717
Reputation: 11
All of answers above are true, but one extra thing to do is, after installing Android Studio and the SDK you first need to add command line tool according to the processing Recommendation for the Local path of the SDK usage.
It's action is done under Android studio configure -> SDK Manager -> SDK Tools. Check Command line tool.
Now it is ready to copy SDK path as mentioned by others above.
Upvotes: 1
Reputation: 21
It is quite simple! Download Android Studio from https://developer.android.com/studio, install it, click the "SDK Manager" button on the top right corner, as you can see in this image. Then download the version of the SDK that you want...make sure to download the correct version - the one mentioned by the error dialog from the PDE (Processing Development Environment/ Processing IDE/program/app). After it has downloaded, select the checkbox next to it, and copy the path for it, as shown here. Launch the PDE in Android mode, and when it asks you for the path, Select Locate SDK Path manually
and paste the path there. It should work now.
On Windows, at least, You may want to un-hide the AppData folder, I had to, though I'm sure it's not a requirement, if it has worked out for you so far, skip this step!
To unhide the folder, in the Windows Explorer, go to C:\Users\<Username>\
, select the AppData folder, and unhide it..
(Enable "Hidden items
" under "View
" first! Look at this image for reference)
..by going to View > Hide selected items
, as shown in this image and selecting "Apply changes to this folder only
". THEN the PDE may be able to see it. YOU MAY WANT TO HIDE THE FOLDER AFTER DOING THIS! It is a quite important system folder, though I'm sure many people access a lot, it still needs security; ...it's better for you, I guess.
Upvotes: 0
Reputation: 183
https://github.com/processing/processing-android/issues/421
Upvotes: 2