Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Error: spawn /Users/{name}/Library/Android/sdk/platform-tools/adb ENOENT

$
0
0

@wwwguy wrote:

When trying to run the ionic example demo app on an android device I get the following error.

> cordova build android
> native-run android --app platforms/android/app/build/outputs/apk/debug/app-debug.apk --forward 8100:8100
[native-run] Error: spawn /Users/mike/Library/Android/sdk/platform-tools/adb ENOENT
[native-run] at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
[native-run] at onErrorNT (internal/child_process.js:469:16)
[native-run] at processTicksAndRejections (internal/process/task_queues.js:84:21)
[ **ERROR** ] **An error occurred while running subprocess** **native-run** **.**

It appears “platform-tools” is in a different location now? When I look in the android sdk folder there are now 2 nested folders like “platform-tools/platforms-tools/” which is where the adb file is now located. Where do I need to update the config in order to run ionic on android devices now?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>