Processing gets stuck at "waiting for device to become available"
in
Android Processing
•
5 months ago
I'm trying to use Processing to develop an android utility app for my phone, but it refuses to connect. I can deploy apps using eclipse with the SDK, but Processing simply doesn't work. Does anyone have suggestions about what might be causing this? This is the debug output when I try to deploy:
-set-mode-check:
-set-debug-files:
-check-env:
Android SDK Tools Revision 22.0.0
Installed at C:\Users\Jared\Downloads\adt-bundle-windows-x86_64-20130514\adt-bundle-windows-x86_64-20130514\sdk
-setup:
[echo] Project Name: PrinterController
Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
Using latest Build Tools: 17.0.0
[echo] Resolving Build Target for PrinterController...
Project Target: Android 2.3.3
API level: 10
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\gen
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\classes
[mkdir] Created dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for PrinterController...
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\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\classes
[javac] Since compiler setting isn't classic or modern, ignoring fork setting.
[javac] Note: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\src\processing\test\printercontroller\PrinterController.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
-post-compile:
-obfuscate:
-dex:
input: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\classes
input: C:\Users\Jared\Downloads\adt-bundle-windows-x86_64-20130514\adt-bundle-windows-x86_64-20130514\sdk\tools\support\annotations.jar
input: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\libs\oscP5.jar
input: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\libs\processing-core.jar
Pre-Dexing C:\Users\Jared\Downloads\adt-bundle-windows-x86_64-20130514\adt-bundle-windows-x86_64-20130514\sdk\tools\support\annotations.jar -> annotations-6582bb0cb38dee71742520b4f2e55e6e.jar
Pre-Dexing C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\libs\oscP5.jar -> oscP5-e92d84e4939b0fbf24ed0929ed428593.jar
Pre-Dexing C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\libs\processing-core.jar -> processing-core-7a69ed17edca7e72d163ea4e80c839c1.jar
Converting compiled files and external libraries into C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\classes.dex...
[dx] Merged dex A (7 defs/5.8KiB) with dex B (2 defs/1.1KiB). Result is 9 defs/7.5KiB. Took 0.0s
[dx] Merged dex A (9 defs/7.5KiB) with dex B (36 defs/70.5KiB). Result is 45 defs/89.6KiB. Took 0.0s
[dx] Merged dex A (45 defs/89.6KiB) with dex B (117 defs/602.9KiB). Result is 162 defs/849.0KiB. Took 0.1s
-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\res
[crunch] To destination dir: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res
[crunch] Processing image to cache: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\res\drawable-hdpi\icon.png => C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res\drawable-hdpi\icon.png
[crunch] (processed image to cache entry C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res\drawable-hdpi\icon.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\res\drawable-ldpi\icon.png => C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res\drawable-ldpi\icon.png
[crunch] (processed image to cache entry C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res\drawable-ldpi\icon.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\res\drawable\icon.png => C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\res\drawable\icon.png
[crunch] (processed image to cache entry C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\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 PrinterController-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\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\PrinterController-debug.apk
[propertyfile] Creating new property file: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\build.prop
[propertyfile] Updating property file: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\build.prop
[propertyfile] Updating property file: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\build.prop
[propertyfile] Updating property file: C:\Users\Jared\AppData\Local\Temp\android3545696392712236458sketch\bin\build.prop
-post-build:
debug:
Shutting down any existing adb server...
1