android studio
npm install -g ionic cordova
npm install --save ionic3-index-list
npm install --save ion-multi-picker
1920*1080
id: 9 or "Nexus 5X"
id: 17 or "pixel"
avdmanager create avd -n test -k "system-images;android-25;google_apis;x86" -d 9 -f
1280*720
id: 5 or "Galaxy Nexus"
avdmanager create avd -n test -k "system-images;android-25;google_apis;x86" -d 5 -f
854*480
id: 32 or "5.4in FWVGA"
avdmanager create avd -n test -k "system-images;android-25;google_apis;x86" -d 32 -f
id: 19 or "pixel_xl avdmanager create avd -n test -k "system-images;android-25;google_apis;x86" -d 19 -f
export ANDROID_HOME="/Users/jiangtao/Library/Android/sdk"
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
ionic cordova platform rm android
ionic cordova platform add android
ionic cordova emulate android —livereload
ionic cordova emulate android --target="Pixel_XL_API_27" —livereload
参考:http://chenjiangtao.com/blog/2017/ionic.html发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/100418.html原文链接: