ユーザ用ツール

サイト用ツール


サイドバー

reactnative:expo:エラー

以前のリビジョンの文書です


エラー

Couldn't start project on Android: Error running adb

ReactNative-EXPOでAndroidエミュレータでアプリ起動するまでにはまったところ

今まで問題なかったのに突然起こった。

[00:16:00] Couldn't start project on Android: Error running adb: This computer is not authorized to debug the device. Please follow the instructions here to enable USB debugging:
https://developer.android.com/studio/run/device.html#developer-device-options. If you are using Genymotion go to Settings -> ADB, select "Use custom Android SDK tools", and point it at your Android SDK directory.


7回タップしてみた
     ↓

結局だめだった


USBデバッグがいつのまにかOFFになっていた。ONにしたらもどった。

なにかの表紙にエミュレーターの設定が変わってしまったと思われる。

・・・その後

expoのproduction Modeがonになっていることが原因と判明。

offにすることでで、エミュレーター上でcmd+mをおすことで、いつものメニューが表示されるようになった。
(ホットリロードされるようにもなりました)

Couldn't adb reverse: more than one device/emulator

エミュレーターと実機の2つをつないでいたことが問題だった。

デバイスを1つしか接続していないのにerror: more than one device/emulatorが出る

reactnative/expo/エラー.1550280485.txt.gz · 最終更新: 2019/02/16 10:28 by ips