Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ewgcat opened this issue Feb 22, 2019 · 10 comments
Labels
enhancement New feature or request

Comments

@ewgcat
Copy link

ewgcat commented Feb 22, 2019

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
Copy link
Author

ewgcat commented Feb 22, 2019

demo

@shaobin0604 shaobin0604 added the enhancement New feature or request label Mar 25, 2019
@JoinKing
Copy link

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

@ewgcat
Copy link
Author

ewgcat commented Apr 28, 2019 via email

@Ccixyj
Copy link

Ccixyj commented May 11, 2019

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

@ewgcat
Copy link
Author

ewgcat commented May 11, 2019 via email

@e9ab98e991ab
Copy link

AndroidX支持吗?

@ewgcat
Copy link
Author

ewgcat commented May 27, 2019 via email

@mallxiaodoudou
Copy link

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

@shenhcen0614
Copy link

可以支持3.4.2吗

@JoinKing
Copy link

JoinKing commented Oct 25, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants