Processing & Android Device
in
Android Processing
•
9 months ago
Hi,
sry im new with Processing. I read a lot about the installing Android SDK for Processing 2.0b7. If i start the Android sketch its compile a while and after some seconds processing is waiting for device to become available. But than nothing works.
If i run in emulator the same thing - the emulator starts but the sketch doesnt work.
Have somebody a idea?
It say´s "Lost connection with deivce while launching. Try again"
- -set-mode-check:
- -set-debug-files:
- -check-env:
- Android SDK Tools Revision 21.0.1
- Installed at /Applications/Android/sdk
- -setup:
- [echo] Project Name: android_test_1
- Project Type: Application
- -set-debug-mode:
- -debug-obfuscation-check:
- -build-setup:
- [echo] Resolving Build Target for android_test_1...
- Project Target: Android 2.3.3
- API level: 10
- [echo] ----------
- [echo] Creating output directories if needed...
- [mkdir] Created dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin
- [mkdir] Created dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res
- [mkdir] Created dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/gen
- [mkdir] Created dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/classes
- [mkdir] Created dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/dexedLibs
- [echo] ----------
- [echo] Resolving Dependencies for android_test_1...
- Library dependencies:
- No Libraries
- ------------------
- API<=15: Adding annotations.jar to the classpath.
- [echo] ----------
- [echo] Building Libraries with 'debug'...
- [subant] No sub-builds to iterate on
- -pre-build:
- -code-gen:
- Merging AndroidManifest files into one.
- Manifest merger disabled. Using project manifest only.
- [echo] Handling aidl files...
- No AIDL files to compile.
- [echo] ----------
- [echo] Handling RenderScript files...
- No RenderScript files to compile.
- [echo] ----------
- [echo] Handling Resources...
- Generating resource IDs...
- [echo] ----------
- [echo] Handling BuildConfig class...
- Generating BuildConfig class.
- -pre-compile:
- -compile:
- [javac] Compiling 3 source files to /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/classes
- -post-compile:
- -obfuscate:
- -dex:
- input: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/classes
- input: /Applications/Android/sdk/tools/support/annotations.jar
- input: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/libs/processing-core.jar
- Pre-Dexing /Applications/Android/sdk/tools/support/annotations.jar -> annotations-61b597a104e81872fb6354bb2ee999c7.jar
- Pre-Dexing /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/libs/processing-core.jar -> processing-core-589bfb5962fa5cac16d26e26cc7ceb6f.jar
- Converting compiled files and external libraries into /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/classes.dex...
- [dx] Merged dex A (6 defs/2.2KiB) with dex B (2 defs/1.1KiB). Result is 8 defs/3.3KiB. Took 0.0s
- [dx] Merged dex A (8 defs/3.3KiB) with dex B (118 defs/523.1KiB). Result is 126 defs/620.0KiB. Took 0.2s
- -crunch:
- [crunch] Crunching PNG Files in source dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/res
- [crunch] To destination dir: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res
- [crunch] Processing image to cache: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/res/drawable-hdpi/icon.png => /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res/drawable-hdpi/icon.png
- [crunch] (processed image to cache entry /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res/drawable-hdpi/icon.png: 0% size of source)
- [crunch] Processing image to cache: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/res/drawable-ldpi/icon.png => /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res/drawable-ldpi/icon.png
- [crunch] (processed image to cache entry /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res/drawable-ldpi/icon.png: 0% size of source)
- [crunch] Processing image to cache: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/res/drawable/icon.png => /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res/drawable/icon.png
- [crunch] (processed image to cache entry /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/res/drawable/icon.png: 0% size of source)
- [crunch] Crunched 3 PNG files to update cache
- -package-resources:
- Creating full resource package...
- [aapt] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
- -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...
- -post-package:
- -do-debug:
- Running zip align on final apk...
- [echo] Debug Package: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/android_test_1-debug.apk
- [propertyfile] Creating new property file: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/build.prop
- [propertyfile] Updating property file: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/build.prop
- [propertyfile] Updating property file: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/build.prop
- [propertyfile] Updating property file: /var/folders/9f/9fEVK8a8H48lJ8XA2-65eU+++TI/-Tmp-/android2841618263650775295sketch/bin/build.prop
- -post-build:
- debug:
1