Wrong version of Flow,Execution failed for task ':app:installDebug'. > com.android.builder.testing.a

Wrong version of Flow,Execution failed for task ':app:installDebug'. > com.android.builder.testin

Execution failed for task ‘:app:installDebug’.>com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to install all 

更换手机测试,或者更换模拟器

3.运行 react-native run-android 的时候报错,网上有人说权限问题之类的,试了下,未果。我就跟了一下,发现是因为gradle的问题。

解决方法:

1: 先修改android 下wrapper的gradle-wrapper.properties配置文件

2:distributionUrl=https://services.gradle.org/distributions/gradle-3.3-all.zip

3:app下面的build.gradle 文件:buildToolsVersion "25.0.0"

4:android 工程下的build.gradle 文件

以上都是网上获取的解决方案

如下我的方案:

1:在如图目录下,下载点击下载该文件放入该目录下

Wrong version of Flow,Execution failed for task ':app:installDebug'. > com.android.builder.testin


相关文章: