【React Native错误集】* What went wrong: Execution failed for task ':app:installDebug'.
时间:2020-02-08 09:07:27
收藏:0
阅读:82
错误1:* What went wrong:
Execution failed for task ‘:app:installDebug‘.
> com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_INSUFFICIENT_STORAGE
解决1:内存不足导致,删除模拟器或真机中其他不用的应用程序,释放空间。
错误2:the development server returned response error code:500
解决2:一般Body:中都有错误提示,正常情况下都是引用了不存在的文件(删除库不干净导致的),如果删除引用之后,还继续报一下错误,尝试关闭终端,重新运行,因为load获取引用的是老的代码。

原文:https://www.cnblogs.com/xjf125/p/12275331.html
评论(0)