I have installed android mode for processing, but i just cant get past the “Locate SDK” dialog:
I have followed processsing’s tutorial on this,
installed the android studio, android command line tools,
Done research on this and other sites and nothing has worked.
Need help. Thanks.
Added the file source and version to the preferences.txt file
(pretty sure the SDK version I downloaded was 28 but not 100% sure)
Looked in the device list and my Kindle Fire was on it!
More problems though:
I tried to “run on device”…
initialization and build worked fine (that i am aware of), but when it actually tried to run the sketch on the device it failed:
On the second one, I see that you are running the sketch on the emulator(that never booted).
Is that correct? I was never able to run the emulator on my PC.
I only manage to run with a USB cable, and only with the correct driver for the device.
Like booting the PC, making it available to perform any computing operation.
That what’s said (in red) in the console. Have you tried using USB?
As a matter of fact, I only use APDE on my tablet. It compiles as fast as P5.java
Verify what is the SDK version that you have installed
This error means either that you are targetting (minSdkVersion) a version higher than you device one or are targetting (targetSdkVersion) higher than your installed SDK.
It’s a windows PC. And yes. It’s probably possible that I’m writing down an SDK version that’s higher than one I’ve installed.
How do I know what sdk version I’ve installed?
He meant the generated AndroidManifest.xml
See at the bottom of this file.
Also you have do say what android version you are using on your real phone.
Like Lollipop (API 21) or Marshmallow(API 23) etc