So I'm in need of a pre 2.3 SDK installation so I can start writing programs while I wait for some sort of fix to come out or for a new Processing to come out that responds to the issues.
If anyone by chance has that file lying around, or can find it online somewhere, I would greatly appreciate it!
Okay so I tried to wait as long as possible before posting on the forums but I simply can not figure this one out and I've been at it for hours... forgive me if the solution is obvious or I am overly informative ha I really want to get this working.
So some details. I'm running windows XP 32 bit. I have the Android SDK along with the nearly all of the various files you can download through it (the only ones I don't have are pre-2.1). I've got the JDK installed and have it's path correctly setup (typing javac on cmd has no errors). I open up processing and try to run a blank program in Android mode and get a bunch of errors (I'll paste them below). A little loading box comes up "Building and Launching..." but it never goes away, even though the emulator is eventually booted up and ready. The errors are continually printed until I end the sketch.
Here's the output from Processing, from when I press play AFTER the emulator is up and running.
Android SDK Tools Revision 8
Project Target: Google APIs
Vendor: Google Inc.
Platform Version: 2.1-update1
API level: 7
------------------
Resolving library dependencies:
No library dependencies.
------------------
Importing rules file: tools\ant\main_rules.xml
Creating full resource package...
Creating sketch_dec07c-debug-unaligned.apk and signing it with a debug key...
AndroidEnvironment.listDevices() did this to me
java.io.IOException: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at processing.app.exec.ProcessHelper.execute(ProcessHelper.java:65)
at processing.app.tools.android.AndroidSDK.runADB(Unknown Source)
at processing.app.tools.android.AndroidEnvironment.listDevices(Unknown Source)
at processing.app.tools.android.EmulatorController$3.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 7 more
AndroidEnvironment.listDevices() did this to me
java.io.IOException: Cannot run program "adb": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at processing.app.exec.ProcessHelper.execute(ProcessHelper.java:65)
at processing.app.tools.android.AndroidSDK.runADB(Unknown Source)
at processing.app.tools.android.AndroidEnvironment.listDevices(Unknown Source)
at processing.app.tools.android.EmulatorController$3.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
at java.lang.ProcessImpl.start(ProcessImpl.java:30)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
... 7 more
And it continually prints those errors without end.
Thank you for your time, I hope we can get it working.
So there is a Processing applet (at least I think it's an applet) on a website that I would really benefit from taking a look at the source code of. I don't plan on stealing any of the author's code, of course, but I do know that if I could take a look at it it would help me immensely.
So is there a way to look at the source code of a web application made using processing? Once again I intend no malicious action from doing so, I simply want to learn from it.