![](/img/trans.png)
[英]React native Task :app:processDebugResources FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0
[英]React Native : Task :app:installDebug FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0
我正在尝试创建一个反应原生项目我有 2 android 设备 1 正在运行 android 9 和 1 正在运行 android 12 我的应用程序正在安装并运行在具有 android 9 的设备上但我的应用程序没有在 android 12 上运行
我收到以下错误
> Task :app:installDebug
Installing APK 'app-debug.apk' on '2201117PI - 12' for :app:debug
> Task :app:installDebug FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
在终端中,输入android
文件夹
cd android
然后运行
.\gradlew clean
之后你的应用程序应该运行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.