Phantom icon indicating copy to clipboard operation
Phantom copied to clipboard

gradle4.10.1 com.android.tools.build:gradle:3.3.1报错,这个麻烦解决一下,大神

Open ewgcat opened this issue 6 years ago • 10 comments

Caused by: groovy.lang.MissingMethodException: No signature of method: com.android.build.gradle.internal.scope.VariantScopeImpl.getMergeAssetsTask() is applicable for argument types: () values: [] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:71) at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120) at com.wlqq.phantom.gradle.host.PhantomHostPlugin$_apply_closure1.doCall(PhantomHostPlugin.groovy:50)

ewgcat avatar Feb 22 '19 09:02 ewgcat

demo

ewgcat avatar Feb 22 '19 09:02 ewgcat

把版本改成 classpath "com.android.tools.build:gradle:3.1.4",就可以解决,我第一次集成也是这样

JoinKing avatar Apr 28 '19 08:04 JoinKing

好的,谢谢

---原始邮件--- 发件人: "Flutter_King"[email protected] 发送时间: 2019年4月28日(星期日) 下午4:01 收件人: "ManbangGroup/Phantom"[email protected]; 抄送: "Author"[email protected];"ewgcat"[email protected]; 主题: Re: [ManbangGroup/Phantom] gradle4.10.1 com.android.tools.build:gradle:3.3.1报错,这个麻烦解决一下,大神 (#16)

把版本改成 classpath "com.android.tools.build:gradle:3.1.4",就可以解决,我第一次集成也是这样

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ewgcat avatar Apr 28 '19 08:04 ewgcat

android.tools.build 可以支持支持一下3.2.x吗

Ccixyj avatar May 11 '19 04:05 Ccixyj

不可以


                          李帅华  安卓开发工程师
     

广州易健科技有限公司

         电话:18986170640         
     
         邮箱: [email protected]
     
         网址:https://www.ejoyst.com
     
         地址:广州市越秀区沿江中路296号江湾商业中心11楼


 

------------------ 原始邮件 ------------------ 发件人: "Maxium_R"[email protected]; 发送时间: 2019年5月11日(星期六) 中午12:00 收件人: "ManbangGroup/Phantom"[email protected]; 抄送: "JackLee"[email protected];"Author"[email protected]; 主题: Re: [ManbangGroup/Phantom] gradle4.10.1 com.android.tools.build:gradle:3.3.1报错,这个麻烦解决一下,大神 (#16)

android.tools.build 可以支持依稀3.2.x吗

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ewgcat avatar May 11 '19 05:05 ewgcat

AndroidX支持吗?

e9ab98e991ab avatar May 27 '19 04:05 e9ab98e991ab


                          李帅华  安卓开发工程师
     

广州易健科技有限公司

         电话:18986170640         
     
         邮箱: [email protected]
     
         网址:https://www.ejoyst.com
     
         地址:广州市越秀区沿江中路296号江湾商业中心11楼


 

------------------ 原始邮件 ------------------ 发件人: "e9ab98e991ab"[email protected]; 发送时间: 2019年5月27日(星期一) 中午12:25 收件人: "ManbangGroup/Phantom"[email protected]; 抄送: "JackLee"[email protected];"Author"[email protected]; 主题: Re: [ManbangGroup/Phantom] gradle4.10.1 com.android.tools.build:gradle:3.3.1报错,这个麻烦解决一下,大神 (#16)

AndroidX支持吗?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

ewgcat avatar May 27 '19 05:05 ewgcat

同问 android.tools.build 可以支持支持一下3.2.x吗

mallxiaodoudou avatar Aug 02 '19 02:08 mallxiaodoudou

可以支持3.4.2吗

shenhcen0614 avatar Oct 25 '19 02:10 shenhcen0614

我已经放弃了,我之前3.3.1都没有测试成功

[email protected]

发件人: shenhcen0614 发送时间: 2019-10-25 10:17 收件人: ManbangGroup/Phantom 抄送: Flutter_King; Comment 主题: Re: [ManbangGroup/Phantom] gradle4.10.1 com.android.tools.build:gradle:3.3.1报错,这个麻烦解决一下,大神 (#16) 可以支持3.4.2吗 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

JoinKing avatar Oct 25 '19 02:10 JoinKing