How to test android apps in a real device with Android Studio?

前端 未结 10 1911
执念已碎
执念已碎 2020-12-01 10:25

I started to develop in android with Android Studio IDE, I tested my apps on the emulator and works fine, but when I tried to test the apps directl

10条回答
  •  情书的邮戳
    2020-12-01 11:17

    if you are using IOS react native platform and want to debugging real android device you can use following code:

    adb reverse tcp:8081 tcp:8081
    npm start -- --reset-cache
    react-native run-android
    

提交回复
热议问题