首页 > 移动平台 > 详细

Flutter Project Android Studio build.gradle GradleException

时间:2020-03-05 10:27:08      阅读:175      评论:0      收藏:0      [点我收藏+]

技术分享图片

方法:

1. File > Project Structure (Command + ;) > Under Project Settings/Project > Set Project SDK to Android API 29 Platform(File>Project Structure(Command +;)>在项目设置/项目下>将Project SDK设置为Android API 29 Platform)

技术分享图片
技术分享图片

2. There should be a notification stating there is an invalid item in the dependencies list under Project Structure/Problems. If there is, go to Project Structure > Under Project Settings/Modules > select app_name_android > Dependencies tab > choose the latest "Android API 29 Platform" in the Module SDK box.(应该有一个通知,指出依赖项列表中“项目结构/问题”下的项目无效。如果存在,请转到“项目结构”>“项目设置/模块”下,选择“ app_name_android”>“依赖项”选项卡,然后在“模块SDK”框中选择最新的“ Android API 29平台”)

技术分享图片
技术分享图片
技术分享图片

3.Update GradleException() to FileNotFoundException() under android/app/build_gradle since it‘s not supported in the Java version of Android API 29That‘s it! You should notice the Android API 29 Platform is now visible under External Libraries.(将GradleException()更新为android / app / build_gradle下的FileNotFoundException(),因为Java版本的Java API不支持29而已!您应该注意到,Android API 29平台现在在“外部库”下可见。)

技术分享图片

Flutter Project Android Studio build.gradle GradleException

原文:https://www.cnblogs.com/shundong106/p/12417541.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!