adb install 或sudo npx react-native run-android
安装apk包adb reverse tcp:8081 tcp:8081
,然后运行sudo npx react-native run-android
然后出现错误: Failure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
sudo npx react-native run-android
安装Android APIv29 FileNotFoundException EACCES (Permission denied)
修改application 配置:android:requestLegacyExternalStorage="true"
android > gradle.properties
=> FLIPPER_VERSION=0.39.0