修改新拉下来的项目,基于一个新打开的项目
*Problem1:Gradle sync failed: The specified Gradle distribution ‘https://services.gradle.org/distributions-snapshots/gradle-4.4-20171031235950+0000-all.zip’ does not exist.
Consult IDE log for more details (Help | Show Log) (7 s 965 ms)
Solution:gradle-wapper.properties 修改 distributionurl
Problem:Gradle sync failed: Could not find method leftShift() for arguments [build_736prbi7n0q4anq39eqqtf0j8
r
u
n
c
l
o
s
u
r
e
1
_run_closure1
runclosure1_closure4$_closure6@69b74814] on task ‘:commones:createDebugPermissions’ of type org.gradle.api.DefaultTask.
Consult IDE log for more details (Help | Show Log) (1 m 2 s 824 ms)
Solution:把>>改称dolast
3.替换gradle.properties内的内容
gradle build problems
最新推荐文章于 2022-08-19 11:01:41 发布