【React Native错误集】* What went wrong: Execution failed for task ':app:installDebug'.

  错误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获取引用的是老的代码。

【React Native错误集】* What went wrong: Execution failed for task ':app:installDebug'._第1张图片

 

你可能感兴趣的:(【React Native错误集】* What went wrong: Execution failed for task ':app:installDebug'.)