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.
Have you read this topic?
- So I tried that article as well as this article: form.processing.org
- 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:
Not sure exactly what the problem is but seems to have something to to with debug, and possibly device communication?
Similar Issue with trying to run sketch on emulator:
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.
OK. So what do you mean by “boot”?
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
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?
i was not talking about your laptop but your phone…
put your Manifest.
Oh, OK. The android device that I have is a kindle fire.
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