android 加载 的项目,androidstudio加载项目问题

问题:To take advantage of all the latest features (such as Instant Run), improvements and security fixes, we strongly recommend that you update the Android Gradle plugin to version 3.0.1 and Gradle to version 4.1.  You can learn more about this version of the plugin from the release notes.

————————————————————清理项目,rebuild一下(问题分割线)

************还有问题************

问题Error:(29, 0) Could not find method implementation() for arguments [project ':app'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

Open File

找到build文件,把下面这行代码注释掉

dependencies {

// implementation project(':app')}

—————————————————————清理项目,rebuild一下,然后运行(问题分割线)

Information:Gradle tasks [clean, :app:generateBaiduDebugSources, :app:generateBaiduDebugAndroidTestSources, :app:prepareBaiduDebugUnitTestDependencies, :app:mockableAndroidJar, :caldroidlibrary:generateDebugSources, :caldroidlibrary:generateDebugAndroidTestSources, :caldroidlibrary:mockableAndroidJar, :caldroidlibrary:prepareDebugUnitTestDependencies, :library:generateDebugSources, :library:generateDebugAndroidTestSources, :library:mockableAndroidJar, :library:prepareDebugUnitTestDependencies, :soulibrary:generateDebugSources, :soulibrary:generateDebugAndroidTestSources, :soulibrary:mockableAndroidJar, :soulibrary:prepareDebugUnitTestDependencies]

——————————————————————清理项目,rebuild一下,然后运行(问题分割线)

Error:Execution failed for task ':app:clean'.

> Unable to delete directory: D:\android\YiMinLodge\app\build\intermediates\incremental-verifier\baidu\debug\com\example\yimin\yiminlodge

关闭androidstudio。找到这个目录D:\android\YiMinLodge\app\build\   删除两个svn没有同步的文件夹。显示红色感叹号。删除。

————————————————————————————————————————————————

打开项目,清理并build。运行成功。这个项目导入的可够曲折的。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值