android studio 2.2 preview,Android Studio 2.2 preview1 errors

It Looks like a problem of version 2.10 of the wrapper version on gradle.

After reading around people's workaround like

"invalidate cache and restart"

delete .gradle file in the project and re-open it

etc etc

I just try for fun to install a standalone version of gradle since I'd always used only the wrapper version that cames with android studio.

And with it there is any error and any warning.

For anyone who wanna try (I'm a mac's user):

install gradle (by homebrew is fine and pretty easy) brew install gradle

tell to AS to use that one instead the wrapper version preference -> build, Execution, Deveployment -> Gradle -> use local gradle distribution

if you install it by homebrew like me the correct path will be: /usr/local/Cellar/gradle/x.yy/libexec

where x.yy it suppose to be 2.11 (that is the last version provide by brew even if the lastest version released is 2.13)

I've realised just now that the steps above doens't fix the definitly. Each time you re-open the project the problem came again and again.

It's annoying but changing betwen use of "wrapper"/"regular gradle" take the warning away.

But this means also that isn't a problem o the gradle as I'd assumed at the beginning.

...let's wait a permanent fix ^^

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值