"Waiting for Device to Become Available"
in
Android Processing
•
9 months ago
I realize there are a lot of possible causes but I am trying to run as Android and it is failing. It just sits there waiting for the device to it finally times out....
-set-mode-check:
-set-debug-files:
-check-env:
Android SDK Tools Revision 21.0.1
Installed at /Users/un/Development/Android/ADT/sdk
-setup:
[echo] Project Name: NOC_1_1_bouncingball_novectors
Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-build-setup:
[echo] Resolving Build Target for NOC_1_1_bouncingball_novectors...
Project Target: Android 2.3.3
API level: 10
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin
[mkdir] Created dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res
[mkdir] Created dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/gen
[mkdir] Created dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/classes
[mkdir] Created dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/dexedLibs
[echo] ----------
[echo] Resolving Dependencies for NOC_1_1_bouncingball_novectors...
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/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/classes
-post-compile:
-obfuscate:
-dex:
input: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/classes
input: /Users/un/Development/Android/ADT/sdk/tools/support/annotations.jar
input: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/libs/processing-core.jar
Pre-Dexing /Users/un/Development/Android/ADT/sdk/tools/support/annotations.jar -> annotations-37b62e7bd37e025a70380d1a55b1f88c.jar
Pre-Dexing /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/libs/processing-core.jar -> processing-core-54e7098cd9a69f2097e7e3e426d90619.jar
Converting compiled files and external libraries into /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/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 (118 defs/523.1KiB). Result is 126 defs/620.5KiB. Took 0.2s
-crunch:
[crunch] Crunching PNG Files in source dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/res
[crunch] To destination dir: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res
[crunch] Processing image to cache: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/res/drawable-hdpi/icon.png => /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res/drawable-hdpi/icon.png
[crunch] (processed image to cache entry /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res/drawable-hdpi/icon.png: 0% size of source)
[crunch] Processing image to cache: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/res/drawable-ldpi/icon.png => /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res/drawable-ldpi/icon.png
[crunch] (processed image to cache entry /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res/drawable-ldpi/icon.png: 0% size of source)
[crunch] Processing image to cache: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/res/drawable/icon.png => /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/res/drawable/icon.png
[crunch] (processed image to cache entry /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/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 NOC_1_1_bouncingball_novectors-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/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/NOC_1_1_bouncingball_novectors-debug.apk
[propertyfile] Creating new property file: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/build.prop
[propertyfile] Updating property file: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/build.prop
[propertyfile] Updating property file: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/build.prop
[propertyfile] Updating property file: /var/folders/2q/_h54_8112ng20_3gr39fgv7c0000gn/T/android6947419585641249916sketch/bin/build.prop
-post-build:
debug:
Shutting down any existing adb server...
Can someone help me out with what I am missing? Also is it possible to use an SDK version greater than 10?
1