반응이 있어야하며 이미 android-studio를 사용하여 내 응용 프로그램을 배포 할 수있었습니다. 그러나 나는 그것이 나에게 다음과 같은 오류를 제공 react-native run-android
를 사용하여 배포 할 때 : 나는 성공적으로 안드로이드 SDK Manager를 사용하여 android-sdk-tools v25.1.7
, android-sdk-platform-tools v24.0.2
및 android-sdk-build-tools v23.0.1
를 설치 한Genymotion 에뮬레이터에서 응용 프로그램을 테스트 할 수 없습니다.
Starting JS server...
Running /home/leo/Android/Sdk/platform-tools/adb reverse tcp:8081 tcp:8081
Building and installing the app on the device (cd android && ./gradlew installDebug...
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
. 내가 react-native run-android
를 사용하여 내 안드로이드 에뮬레이터에 배포 할 필요가 뭐가
List of devices attached
192.168.56.101:5555 device
:
내가 Genymotion를 사용하여 에뮬레이터를 배포 할 수 있습니다 그리고 나는 그것이 adb devices
를 사용하여 볼 수 있으며, 다음과 같은 출력을 제공?
감사합니다. – nguyencse