美文网首页
Execution failed for task ':reac

Execution failed for task ':reac

作者: 流年_d245 | 来源:发表于2019-02-26 14:39 被阅读0次

打包安卓app的时候报错Execution failed for task ':react-native-tcp:verifyReleaseResources',查看命令行与react-native-tcp相关的warning信息

> Configure project :react-native-tcp 
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (23.0.1) is ignored, as it is below the minimum supported version (27.0.3) for Android Gradle Plugin 3.1.4.
Android SDK Build Tools 27.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.1'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.

原因

发现是react-native-tcpSDK Version与项目的配置不一致(应该是react-native-tcp很久未维护的原因....)

解决方案

react-native-tcpSDK Version与项目的一致即可

相关文章

网友评论

      本文标题:Execution failed for task ':reac

      本文链接:https://www.haomeiwen.com/subject/cspayqtx.html