Closed vipinsaini0 closed 7 years ago
Hi,
You have to change your directory first.
cd prePopulated
and then
Inside the project folder run: npm install
Next:ionic build android
After that: ionic run android
@vipinsaini0
Did it solve your issue?
@iursevla @RuiGarciaAlves Now, getting this error after run on device from below command.
$ ionic run android --device
ANDROID_HOME=/Users/AbcUser/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
Error: Cannot read property 'length' of undefined
@vipinsaini0
Please post the full error message (can be in an image)
Then run ionic info
on your project and post the results here too.
@iursevla @RuiGarciaAlves
ionic info
below in an imageAre you trying to open in a device or in an emulator like Genymotion?
Try updating your ionic CLI version because it is outdated.
Then try ionic cordova run android
@iursevla @RuiGarciaAlves Getting
Couldn't find ionic.config.json file. Are you in an Ionic project?
error after run this project first time.Please help me to solve this issue. Thanks.