Cannot run the code on Android Mode
in
Android Processing
•
1 year ago
Hello, I'm pretty new to Processing and I'm eager to learn more. I've been trying to run some code on Android Mode (Standard works just fine). I've tried to look a solution but none has been found, any help will be appreciated. This is what appears on the console.
- -set-mode-check:
- -set-debug-files:
- -set-debug-mode:
- -debug-obfuscation-check:
- -setup:
- [echo] Gathering info for DroidTest...
- Android SDK Tools Revision 16
- Project Target: Android 2.2
- API level: 8
- ------------------
- Resolving library dependencies:
- No library dependencies.
- ------------------
- -build-setup:
- [echo] Creating output directories if needed...
- [mkdir] Created dir: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin
- [mkdir] Created dir: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\res
- [mkdir] Created dir: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\gen
- [mkdir] Created dir: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\classes
- -pre-build:
- -code-gen:
- [echo] ----------
- [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...
- -pre-compile:
- -compile:
- [javac] Compiling 2 source files to C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\classes
- -post-compile:
- -obfuscate:
- -dex:
- Converting compiled files and external libraries into C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\classes.dex...
- -crunch:
- [crunch] Crunching PNG Files in source dir: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\res
- [crunch] To destination dir: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\res
- [crunch] Processing image to cache: C:\Users\Roncon\AppData\Local\
- [crunch] Temp\android801900882237068045.pde\res\drawable-hdpi\icon.png => C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pd
- [crunch] e\bin\res\drawable-hdpi\icon.png
- [crunch] (processed image to cache entry C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\res\drawable-hdpi\icon.png: 0% size of source)
- [crunch] Processing image to cache: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\res\drawable-ldpi\icon.png => C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\res\drawable-ldpi\icon.png
- [crunch] (processed image to cache entry C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\res\drawable-ldpi\icon.png: 0% size of source)
- [crunch] Processing image to cache: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\res\drawable\icon.png => C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\res\drawable\icon.png
- [crunch] (processed image to cache entry C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\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 DroidTest-debug-unaligned.apk and signing it with a debug key...
- -do-debug:
- Running zip align on final apk...
- [echo] Debug Package: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\DroidTest-debug.apk
- debug:
- [propertyfile] Creating new property file: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\build.prop
- [propertyfile] Updating property file: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\build.prop
- [propertyfile] Updating property file: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\build.prop
- [propertyfile] Updating property file: C:\Users\Roncon\AppData\Local\Temp\android801900882237068045.pde\bin\build.prop
- EmulatorController: Emulator never booted. NOT_RUNNING
- Ouch. Emulator got killed, I think.
- Shutting down any existing adb server...
- emulator: WARNING: Unable to create sensors port: Unknown error
1