简体   繁体   中英

How can I run my ionic app on a physical device (Wiko phone) on Windows?

I have a project using ionic framework , I am working in command line and I am trying to run my app on on a real device phone, a Wiko Rainbow .

I have enabled On-device Developer Options and I also have enabled USB debugging option and the target device is never recognized. I am working on Windows 7 .

I have done: ionic run android

And the result:

No target specified and no devices found, deploying to emulator

Is my device phone phone compatible with ionic or am I missing sommeting ?

I manage to find the solution I had to the environnent variables path:

<my pc>\AppData\Local\Android\sdk\tools;
<my pc>\AppData\Local\Android\sdk\platform-tools;

Then I update the driver of my device thanks to this link: Android development driver for Wiko or other phone on Windows 7

A few time later my phone asked me to accept the connexion with my computer and I managed to run my application.

Then I update the driver of my device thanks to this link: Android development driver for Wiko or other phone on Windows 7

A few time later my phone asked me to accept the connexion with my computer and I managed to run my application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM