Quantcast
Channel: Android Mode - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 941

How to fix these Android Mode problems?

$
0
0

After facing more issues with the Android Mode in the last two days I think I got to the last problem: when I'm trying to run the code in the emulator it' says:

debug:
adb -s emulator-5554 install -r C:\Users\----\AppData\Local\Temp\android2772852432485972243sketch\bin\sketch_150308a-debug.apk
    status: 1
    200ms
    stdout:
rm failed for -f, Read-only file system
    stderr:
failed to copy 'C:\Users\----\AppData\Local\Temp\android2772852432485972243sketch\bin\sketch_150308a-debug.apk' to '/data/local/tmp/sketch_150308a-debug.apk': No such file or directory
Shutting down any existing adb server...
Exception in thread "AndroidDevice: logcat process monitor" java.lang.IllegalStateException: I didn't know about device emulator-5554!
    at processing.mode.android.Devices.deviceRemoved(Devices.java:245)
    at processing.mode.android.Device.shutdown(Device.java:258)
    at processing.mode.android.Device$1.run(Device.java:241)
    at java.lang.Thread.run(Unknown Source)
Exception in thread "AndroidDevice: logcat process monitor" java.lang.IllegalStateException: I didn't know about device emulator-5554!
    at processing.mode.android.Devices.deviceRemoved(Devices.java:245)
    at processing.mode.android.Device.shutdown(Device.java:258)
    at processing.mode.android.Device$1.run(Device.java:241)
    at java.lang.Thread.run(Unknown Source)

When I'm trying to run it on my android phone directly, nothing happens. After "debug:" doesn't write anything. Its not even detecting the device: Android > Select Device > "No connected devices". The computer recognized it (in My Computer > Portable Devices) when I pluged the USB in... and yes, I activated the "USB debugging mode" on my phone. Sorry if I wrote anything incorrectly, English is not my mother language. I hope somebody can help me. :((


Viewing all articles
Browse latest Browse all 941

Trending Articles