Cannot Run Anything in Android Mode
in
Android Processing
•
10 months ago
I've been Processing for a while, and decided to give Android mode a go (since I've done some Android dev in Eclipse before). At first I had problems even running the emulator (had to add "android.emulator.port" to my preferences.txt).
After I got the emulator working I tried running some simple projects, but they all crash as soon as they open on both the emulator and my android phone (HTC Desire S, running Android 2.3.5).
I'm pretty sure my SDK is setup correctly because I've exported applications from Eclipse before, but even running a simple
"rect(0, 0, 10, 10);" in Processing causes the application to crash with the error message:
"The application android_test_1 (process processing.test.android_test_1) has stopped unexpectedly. Please try again."
Processing outputs:
- Android SDK Tools Revision 17
- Project Target: Android 2.3.3
- API level: 10
- ------------------
- Resolving library dependencies:
- No library dependencies.
- ------------------
- API<=15: Adding annotations.jar to the classpath.
- ------------------
- No AIDL files to compile.
- No RenderScript files to compile.
- Generating resource IDs...
- Generating BuildConfig class.
- Converting compiled files and external libraries into C:\Users\JAKE'S~1\AppData\Local\Temp\android686330548121436614sketch\bin\classes.dex...
- Creating full resource package...
- Current build type is different than previous build: forced apkbuilder run.
- Creating android_test_1-debug-unaligned.apk and signing it with a debug key...
- Running zip align on final apk...
I am running Windows 7 Home Premium 64-bit
I have the latest Android 2.3.3 SDK
I have the latest Google API 10
I am running Processing 2.0b6
Help anyone? :(
1