Lost Connection with device while lauching
in
Android Processing
•
2 months ago
Hi,
I'm new at Processing.
I downloaded processing 2.0.2 and android SDK.
When i run code on device, "Lost Connection with device while lauching" erroe messge is seen.
Jave mode is working fine, but when i run on my device problem is seen.
Windows 7 x64 with Processing version 2.0.2
Anyone can help me please?
- -set-mode-check:
- -set-debug-files:
- -check-env:
- Android SDK Tools Revision 22.0.5
- Installed at C:\Program Files\Android\android-sdk
- -setup:
- [echo] Project Name: GraphicsExampleCode1
- Project Type: Application
- -set-debug-mode:
- -debug-obfuscation-check:
- -pre-build:
- -build-setup:
- Using latest Build Tools: 18.0.1
- [echo] Resolving Build Target for GraphicsExampleCode1...
- Project Target: Android 2.3.3
- API level: 10
- [echo] ----------
- [echo] Creating output directories if needed...
- [mkdir] Created dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin
- [mkdir] Created dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res
- [mkdir] Created dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\gen
- [mkdir] Created dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\classes
- [mkdir] Created dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\dexedLibs
- [echo] ----------
- [echo] Resolving Dependencies for GraphicsExampleCode1...
- 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
- -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] Since compiler setting isn't classic or modern, ignoring fork setting.
- [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
- [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
- [javac] Compiling 3 source files to C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\classes
- [javac] Since compiler setting isn't classic or modern, ignoring fork setting.
- -post-compile:
- -obfuscate:
- -dex:
- input: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\classes
- input: C:\Program Files\Android\android-sdk\tools\support\annotations.jar
- input: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\libs\processing-core.jar
- Pre-Dexing C:\Program Files\Android\android-sdk\tools\support\annotations.jar -> annotations-23306d58b89c9a8e6e1479880a70ed77.jar
- Pre-Dexing C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\libs\processing-core.jar -> processing-core-a0c2a4b0f8b5c24266c554f660a3cb36.jar
- Converting compiled files and external libraries into C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\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 (203 defs/686,6KiB). Result is 211 defs/812,5KiB. Took 0,2s
- -crunch:
- [crunch] Crunching PNG Files in source dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\res
- [crunch] To destination dir: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res
- [crunch] Processing image to cache: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\res\drawable-hdpi\icon.png => C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res\drawable-hdpi\icon.png
- [crunch] (processed image to cache entry C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res\drawable-hdpi\icon.png: 47% size of source)
- [crunch] Processing image to cache: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\res\drawable-ldpi\icon.png => C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res\drawable-ldpi\icon.png
- [crunch] (processed image to cache entry C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res\drawable-ldpi\icon.png: 0% size of source)
- [crunch] Processing image to cache: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\res\drawable\icon.png => C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\res\drawable\icon.png
- [crunch] (processed image to cache entry C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\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 GraphicsExampleCode1-debug-unaligned.apk and signing it with a debug key...
- -post-package:
- -do-debug:
- Running zip align on final apk...
- [echo] Debug Package: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\GraphicsExampleCode1-debug.apk
- [propertyfile] Creating new property file: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\build.prop
- [propertyfile] Updating property file: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\build.prop
- [propertyfile] Updating property file: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\build.prop
- [propertyfile] Updating property file: C:\Users\yasiny\AppData\Local\Temp\android2309151640400396494sketch\bin\build.prop
- -post-build:
- debug:
- Shutting down any existing adb server...
- Shutting down any existing adb server...
1