如何查看ionic app的scheme
1 回答

慕慕森
TA貢獻(xiàn)1856條經(jīng)驗(yàn) 獲得超17個(gè)贊
首先用命令行進(jìn)入你的項(xiàng)目目錄:
然后運(yùn)行命令
ionic platform add android/ios
我是創(chuàng)建了android app 所以運(yùn)行ionic platform add android
然后運(yùn)行 ionic run android -l -c -s 或者 ionic emulate android -l -c -s
ios 運(yùn)行 ionic run/emulate ios -livereload -consolelogs -serverlogs
參數(shù)含義:
[--livereload|-l] .... Live Reload app dev files from the device
[--consolelogs|-c] ... Print app console logs to Ionic CLI
[--serverlogs|-s] .... Print dev server logs to Ionic CLI
如果你沒有運(yùn)行安卓手機(jī)模擬器,會(huì)報(bào)錯(cuò)
- 1 回答
- 0 關(guān)注
- 851 瀏覽
添加回答
舉報(bào)
0/150
提交
取消