Android running problems (Lost connection)
in
Android Processing
•
11 months ago
I am new to Processing. Just a day ago I started with this language.
My intention is to base my class project in Processing for Android.
I don't have any problem with Processing in Java mode.
But I have a problem when i try to run the sketch in the emulator.
I've done many android projects and I dont have problems, so I think the SDK and the AVD work correctly.
Im using a Windows 7 x64 with Processing x64 version 2.0b6.
When I try to run the project in Android mode... the console prints the next lines:
- Android SDK Tools Revision 20.0.3
- Installed at C:UAction ScriptAppDataLocalAndroidandroid-sdk
- Project Type: Application
- Project Target: Android 2.3.3
- API level: 10
- Library dependencies:
- No Libraries
- ------------------
- API<=15: Adding annotations.jar to the classpath.
- Merging AndroidManifest files into one.
- Manifest merger disabled. Using project manifest only.
- No AIDL files to compile.
- No RenderScript files to compile.
- Generating resource IDs...
- Generating BuildConfig class.
- Converting compiled files and external libraries into C:UACTION~1AppDataLocalTempandroid4996307395208006379sketchinclasses.dex...
- Creating full resource package...
- Current build type is different than previous build: forced apkbuilder run.
- Creating sketch3_Android1-debug-unaligned.apk and signing it with a debug key...
- Running zip align on final apk...
- // Waiting a few seconds.....
- Shutting down any existing adb server...
Lost connection with device while launching. Try again.
Basically when I run the project does not occur anything.
I've seen some videos about this and for everybody, the emulator, automatically starts.
Ok. I've readed other pages from this web. I tried to run first the emulator (Processing-XXXX), run Processin as a admin, Change the preferences.txt whit the code: android.emulator.port=... and any one else.
But If I copy the project from the TEMP directory and run them from Eclipse. The projects works without problems.
Anyone can help me please?
Thans ;)
2