0
ここからは入門チュートリアルのhttps://facebook.github.io/react-native/docs/getting-started.htmlに従っています。 react-native start
でパッケージマネージャを起動することができます。しかし、アプリケーション自体を実行すると常にクラッシュが発生します。JSサーバーはすでにネイティブアプリに反応しています
$ react-native run-android
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installDebug...
Error occurred during initialization of VM
Unable to use shared archive.
An error has occurred while processing the shared archive file.
Unable to unmap shared space.
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
何が問題ですか?
申し訳ありませんああ、私は、Windows上です。その命令は私にとってはうまくいかないようです。 – santafebound
[Ctrl] + [Alt] + [Del]を押してWindowsセキュリティ画面を表示し、[タスクマネージャの開始]、[反応プロセスの検索]の順にクリックします。 "プロセスの終了"をクリックし、 "反応ネイティブランアンドロイド"を試してください –
またはあなたはそれを行うことができない場合は、コンピュータを再起動します。 –