エミュレータで確認する
AndroidStudioのダウンロード
公式サイトからダウンロードして下さい
パッケージのインストール
npm install expo
npx expo install expo-dev-client
クラウドビルドする
eas build --platform android --profile development
? what would you like your Android application id to be ... com.company.test
? Generate a new Android Keystore ... yes
? Install and run the Android build on an emulator ... yes
? Select an emulator to run your app on ...PIXEL_FOLD_API_35
idは自分が所有しているWebサイトを逆から書くのが通例です
Android Studioをインストールしていないと、Install and run the …の段階でエラーになります
エミュレータで確認
順調に進めばPixelFoldのエミュレータがパソコン上に出てくるので、ローカルサーバーを立ち上げます
npx expo start
> Press a | open Android
> Press w | open Web
...
選択肢が出てきますが、今回はエミュレータ(Android)で確認したいので「a」を押してください
エミュレータでアプリの動作に不具合がなければ、つぎは本番用のビルドをしていきます。
BACK