升级到 Pie(9.0) 后,React native Android 构建卡住了

React native Android build is stuck after upgrading to Pie(9.0)

react-native 运行-android 在升级到 Android Pie(9.0)

后未在 Mi A1 上构建应用程序

运行长时间

后,我得到以下错误

“出了什么问题: 任务“:app:installDebug”执行失败。

com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException "

将 android studio 更新到 3.2.1 并安装所有 android pie 包解决了我的问题。