日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

【错误记录】Android Studio 编译报错 ( Deprecated Gradle features were used in this build, making it incompat )

發布時間:2025/6/17 55 豆豆
生活随笔 收集整理的這篇文章主要介紹了 【错误记录】Android Studio 编译报错 ( Deprecated Gradle features were used in this build, making it incompat ) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

文章目錄

  • 一、報錯信息
  • 二、解決方案





一、報錯信息



使用 Android Studio 編譯比較老的 Android 項目時 , 報如下錯誤 :

FAILURE: Build failed with an exception.* What went wrong: A problem occurred configuring project ':app'. > A problem occurred configuring project ':liveRtmpPushSDK'.> Failed to notify project evaluation listener.> org.gradle.api.tasks.compile.CompileOptions.setBootClasspath(Ljava/lang/String;)V* Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Exception is: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'.at org.gradle.configuration.project.LifecycleProjectEvaluator.wrapException(LifecycleProjectEvaluator.java:75)//...at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56)* Get more help at https://help.gradle.orgBUILD FAILED in 8sDeprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.7.1/userguide/command_line_interface.html#sec:command_line_warnings





二、解決方案



選擇 " 菜單欄 / File / Project Structure " 選項 ,

該 Android Gradle 插件 與 Gradle 版本 太低 ;

設置一個新的 Android Gradle 插件版本 和 Gradle 版本 ;

總結

以上是生活随笔為你收集整理的【错误记录】Android Studio 编译报错 ( Deprecated Gradle features were used in this build, making it incompat )的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。