Gradle sync failed: Could not find method android() for arguments [build_aj7feyco0x5e5hj3g6wttaj6$_
来源:互联网 发布:玲珑网游加速器mac 编辑:程序博客网 时间:2024/04/18 20:12
错误的起因:
想将ADT中项目导入到AndroidStudio中,但是我的androidStudio中没有对应版本的SDK,因此导入失败了,就出现了如下的错误:
Gradle sync failed: Could not find method android() for arguments [build_aj7feyco0x5e5hj3g6wttaj6$_run_closure3@66bfd205] on root project 'MobileSafer' of type org.gradle.api.Project. Consult IDE log for more details (Help | Show Log)
解决办法:
将top-level的build.gradle中的android{}删掉即可。
2 0
- Gradle sync failed: Could not find method android() for arguments [build_aj7feyco0x5e5hj3g6wttaj6$_
- 错误:Gradle sync failed: Could not find method android() for arguments [build_6d4hiu27bgm2ho4bez6d80wx
- Could not find method android() for arguments
- Could not find method android() for arguments when building Android project from gradle
- Gradle构建失败:报错Could not find method android() for arguments
- Android Studio Exception: Could not find method android() for arguments
- Android Studio Exception: Could not find method android() for arguments
- Android Studio:Could not find method android() for arguments
- Android Studio Could not find method runProguard() for arguments?
- 解决Could not find method android() for arguments问题
- 解决Could not find method android() for arguments问题
- 解决问题:Could not find method android() for arguments
- 解决Could not find method android() for arguments问题
- Could not find method compile() for arguments
- Could not find method compile() for arguments
- Could not find method compile() for arguments
- Could not find method compile() for arguments
- Could not find method android() for arguments on root project '项目名' of type org.gradle.api.Project.
- 土巴兔2017校招前端开发
- iOS-nsoperration的简单操作
- 栀子花如何修剪
- PHP.8-HTML+CSS(二)-HTML详解
- 几种常见的排序算法及实现(三)
- Gradle sync failed: Could not find method android() for arguments [build_aj7feyco0x5e5hj3g6wttaj6$_
- echarts学习1----格式整理以及地图入门
- 【数据库】小谈事务
- kali2016.2源
- Android ActionBar创建带图片和文字的menu
- 223. Rectangle Area
- iOS技巧之Category-赵鹏举
- Atitit.架构设计趋势 设计模式 ---微服务架构 soa
- hdoj 1514 Stars(树状数组类似求逆序)