Processing 2.0b8 - "Lost connection with device while launching. Try again." when run on device
in
Android Processing
•
6 months ago
Hi!
Just like in the topic.
My program is running in the emulator android 2.3.3 (API 10) but when I click Run on device gives it to me.
Somebody of this is met? I'm used PCLinuxOS 2013.01 (LINUX)
-set-mode-check:
-set-debug-files:
-check-env:
Android SDK Tools Revision 21.1.0
Installed at /home/mateusz/Dokumenty/proccesing/android-sdk-linux
-setup:
[echo] Project Name: pr_by
Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[echo] Resolving Build Target for pr_by...
Project Target: Android 2.3.3
API level: 10
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /tmp/android1576359580995891503sketch/bin
[mkdir] Created dir: /tmp/android1576359580995891503sketch/bin/res
[mkdir] Created dir: /tmp/android1576359580995891503sketch/gen
[mkdir] Created dir: /tmp/android1576359580995891503sketch/bin/classes
[mkdir] Created dir: /tmp/android1576359580995891503sketch/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for pr_by...
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] Compiling 3 source files to /tmp/android1576359580995891503sketch/bin/classes
-post-compile:
-obfuscate:
-dex:
input: /tmp/android1576359580995891503sketch/bin/classes
input: /home/mateusz/Dokumenty/proccesing/android-sdk-linux/tools/support/annotations.jar
input: /tmp/android1576359580995891503sketch/libs/processing-core.jar
Pre-Dexing /home/mateusz/Dokumenty/proccesing/android-sdk-linux/tools/support/annotations.jar -> annotations-83d8d77f2aceb8172e43d73dc053ff8a.jar
Pre-Dexing /tmp/android1576359580995891503sketch/libs/processing-core.jar -> processing-core-6bf00dbf0dfa625932690324e69accd4.jar
Converting compiled files and external libraries into /tmp/android1576359580995891503sketch/bin/classes.dex...
[dx] Merged dex A (6 defs/2,6KiB) with dex B (2 defs/1,1KiB). Result is 8 defs/3,7KiB. Took 0,0s
[dx] Merged dex A (8 defs/3,7KiB) with dex B (117 defs/602,9KiB). Result is 125 defs/748,4KiB. Took 0,3s
-crunch:
[crunch] Crunching PNG Files in source dir: /tmp/android1576359580995891503sketch/res
[crunch] To destination dir: /tmp/android1576359580995891503sketch/bin/res
[crunch] Processing image to cache: /tmp/android1576359580995891503sketch/res/drawable-hdpi/icon.png => /tmp/android1576359580995891503sketch/bin/res/drawable-hdpi/icon.png
[crunch] (processed image to cache entry /tmp/android1576359580995891503sketch/bin/res/drawable-hdpi/icon.png: 0% size of source)
[crunch] Processing image to cache: /tmp/android1576359580995891503sketch/res/drawable-ldpi/icon.png => /tmp/android1576359580995891503sketch/bin/res/drawable-ldpi/icon.png
[crunch] (processed image to cache entry /tmp/android1576359580995891503sketch/bin/res/drawable-ldpi/icon.png: 0% size of source)
[crunch] Processing image to cache: /tmp/android1576359580995891503sketch/res/drawable/icon.png => /tmp/android1576359580995891503sketch/bin/res/drawable/icon.png
[crunch] (processed image to cache entry /tmp/android1576359580995891503sketch/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 pr_by-debug-unaligned.apk and signing it with a debug key...
-post-package:
-do-debug:
Running zip align on final apk...
[echo] Debug Package: /tmp/android1576359580995891503sketch/bin/pr_by-debug.apk
[propertyfile] Creating new property file: /tmp/android1576359580995891503sketch/bin/build.prop
[propertyfile] Updating property file: /tmp/android1576359580995891503sketch/bin/build.prop
[propertyfile] Updating property file: /tmp/android1576359580995891503sketch/bin/build.prop
[propertyfile] Updating property file: /tmp/android1576359580995891503sketch/bin/build.prop
-post-build:
debug:
Shutting down any existing adb server...
1