M1 Macbook: Building Nativescript+Vue Android Application

preview_player
Показать описание
Can we develop an android application using nativescript and vue? Of course. Here are the key:
2. Install android-sdk from homebrew (brew install --cask android-sdk)
3. set ANDROID_SDK_ROOT and JAVA_HOME in your shell (.bashrc or .zshrc)
ANDROID_SDK_ROOT=/opt/homebrew/share/android-sdk
5. Install nativescript cli globally (npm -g i nativescript)
6. Install vue cli globally (npm -g i @vue/cli @vue/cli-init)
7. Create a vue nativescript project: vue init nativescript-vue/vue-cli-template [project]
8. Go to project: cd [project]
9. Run: rns run android (and open your android emulator)

Little promo:
Рекомендации по теме