I’m working on a mobile app using Ionic framework.
Testing was an easy process while I wasn’t using any of the cordova plugins. But once I started using them, the application has to be built for testing purposes.
I’ve been able to install Android SDK and build my app so that I get an apk file. I’ve been able to download this file and install it on my phone and everything is running well…
My question is : is there a way to enable an emulator to test my app without to download and install the apk which is quite an heavy process ?
When I try to run
ionic emulate android I get the following error : Error: No emulator images (avds) found. It then tells me to : 1. Download desired System Image by running: /androidSdk/androidSdkLinux/tools/android sdk
When I launch
andoid sdk, the following error appears : Exception in thread “main” org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]. I have no idea what it is all about…
As far as I understand, it would require a GUI environnement. I’ve tried installing this plugin (https://github.com/shadowcodex/c9.ide.desktop) with no success.
More generally speaking, how do you guys do to test your mobile apps (native or hybrid with Cordova) without having to install it ?
Hope you’ll have plenty of nice ideas for me…