Gradle sync failed: No signature of method: com.android.build.gradle.internal.scope.VariantScopeImpl.getMergeAssetsTask() is applicable for argument types: () values: []
See original GitHub issue问题详细描述 Detailed description of the problem
复现问题步骤 Steps to reproduce the problem
- Followed as https://github.com/Qihoo360/RePlugin/wiki/快速上手
其它重要信息 Other important information
classpath 'com.android.tools.build:gradle:3.2.0-beta05'
classpath 'com.qihoo360.replugin:replugin-host-gradle:2.2.4'
implementation 'com.qihoo360.replugin:replugin-host-lib:2.2.4'
gradle version 4.6
Android API Version:27
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:14 (2 by maintainers)
Top Results From Across the Web
build-system/gradle-core/src/main/groovy/com/android/build ...
* Returns a collection of buildables that creates native object. *. * A buildable is considered to be any object that can be...
Read more >RePlugin - Browse /v2.3.2 at SourceForge.net
Gradle sync failed : No signature of method: com.android.build.gradle.internal.scope.VariantScopeImpl.getMergeAssetsTask() is applicable for argument types: ...
Read more >360插件化踩坑记录(一),RePlugin无法Sync成功,No signature of ...
No signature of method: com.android.build.gradle.internal.scope.VariantScopeImpl.getMergeAssetsTask() is applicable for argument types: () values: [].
Read more >android studio编译项目提示方法未签名 - 简书
Gradle sync failed : No signature of method: com.android.build.gradle.internal.scope.VariantScopeImpl.getMergeAssetsTask() is applicable for ...
Read more >JVM内存结构--新生代及新生代里的两个Survivor区(下一轮S0与 ...
1 2 3 [GC (Allocation Failure) [PSYoungGen: 7136K->632K(9216K)] ... 无法Sync成功,No signature of method: com.android.build.gradle.internal.scope_梦君DS的 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
希望360官方能够快点解决这个问题,现在项目提示gradle mininum supported gradle version是4.6 而replugin又在4.6上有这个问题。死胡同了。
Android build tool gradle 3.2.0做了相关调整,修改项目中的: 1. variant.getVariantData().getScope().getGenerateBuildConfigTask().name 为: variant.getVariantData().getTaskContainer().getGenerateBuildConfigTask().name
2.variant.getVariantData().getScope().getMergeAssetsTask().name 为 variant.getVariantData().getTaskContainer().getMergeAssetsTask().name
就可以了,可以用我自己的地址 maven{url “https://dl.bintray.com/soli/maven”}
然后所有的版本改成:2.3.1就可以用了