How do I emulate an application of ionic 2 on the tablet, and also how does it generate a .ipa and .apk?

2

I want to emulate my ionic 2 application on the tablet but I can not, I already uploaded it to the ionic cloud but it only works on the ionic view application, I also used the ionic emule and the ionic run, but when it opens the emulator of the Ipad the white screen, what do I do? Would you have another option? And how do I emulate my application for android?

    
asked by anonymous 27.03.2017 / 21:09

2 answers

1
  • Check if your android device has developer options enabled. If it is not, you can follow this step-by-step to enable them: link ;
  • In the developer options, you have to enable usb debugging, connect your device to the computer, and run the "ionic run android".
  • About the white screen you're having on your tablet, you can go into the google chrome debugger and check for any script errors in the application. Type chrome: // inspect / in the browser and in "Remote Target" your device will be listed. Click the inspect device to open the debugger.
  • To generate the files for android, you can run the command "ionic build android", and for ios, "ionic build ios", however, the compilation for ios has to be made from a macbook.
27.03.2017 / 21:28
0

Dude your question is very generic, Well I recommend reading the ionic documentation that explains in detail the step by step to deploy your application on both Android and iOS.

link

    
27.03.2017 / 21:35