WARNING : No target specified, deploying to emulator

后端 未结 12 2039
死守一世寂寞
死守一世寂寞 2021-02-01 00:36

I\'m trying to run an ionic app on my mobile phone (Android 4.4.2). USB-Debugging is activated.

When i run the command \"ionic emulate android\" everyth

12条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-01 01:21

    I had two problems (Ubuntu OS):

    1. I had a connection open with chrome//inspect - close that (simply close the tab)
    2. I missed the dialog that appears when you connect your device through USB cable. You must trust the computer.

    Now run the command cordova run android and look at your device there another dialog will be appeared click ok, now you are done! In the terminal you will see LAUNCH SUCCESS. By the way I removed the old app from my device too.

提交回复
热议问题