SOLUTION: the only thing I forgot was going to developer options and enabling USB debugging itself (thought I did that several weeks ago already but it wasn’t enabled).
I tried running my app on an android galaxy S4. Running on iOS works fine, and the android emulator works as well. I’m having trouble getting the app to run on an actual android devices
What I did:
- enable usb debugging on the android devices (tapping the build number 7 times)
- run the command ionic run android --device
- run adb devives (this shows: emulator-5554 device)
- added android:debuggable attribute to the manifest file
- when I plug in the device, android file transfer pops up with my folders on the device, so it’s definitely connected
I’m using a mac.
Thanks for helping out!
This is the output I get:
**ERROR: Failed to launch application on device: ERROR: Failed to install apk to device: ERROR: Failed to deploy to device, no devices found.** droid/cordova/run: Command failed with exit code 8 at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/src/superspawn.js:126:23) at ChildProcess.EventEmitter.emit (events.js:98:17) at maybeClose (child_process.js:743:16) at Process.ChildProcess._handle.onexit (child_process.js:810:5)