ionic4でのandroidアプリ開発環境
文書の過去の版を表示しています。
Ionic4でのAndroidアプリ開発環境
目次
Macパソコンでエミュレーターを動かす方法については、以下のサイトが分かりやすいです。
https://mankutsu.com/ionic-emulation-1142
[ionic4入門] ionicをiosとandroidエミュレーターにONEコマンドで動かす設定方法!
2018/9/22
ここでは、Windowsパソコンで、Androidアプリを作成する方法いついて記載していきたいと思います。
公式サイト
環境構築
https://beta.ionicframework.com/docs/installation/android/#set-up-an-android-device
- Download JDK8 from the download page
- install Gradle
- Download Android Studio from the Android website.In the SDK Components Setup screen, finish installing the SDK.
- Configuring Command Line Tools.For Windows, check the documentation on setting and persisting environment variables in terminal sessions.
- Creating an Android Virtual Device
- Set up an Android Device
apkファイルの作成
https://beta.ionicframework.com/docs/building/android
For Capacitor, run the following:
ionic capacitor add android ionic capacitor copy android
For Cordova, run the following:
ionic cordova prepare android ionic cordova run android -l
Windows8.1でIonic4からAndroidアプリを作成する方法
1.Ionic4アプリの作成
ionic start ionic4-cordova-sample blank --type=angular
cordova は、Y + Enter, Proは N + Enter とします。
cd ionic4-cordova-sample ionic serve
ionic4でのandroidアプリ開発環境.1538820792.txt.gz · 最終更新: 2018/10/07 (外部編集)