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

编译不过 #68

Open
jianglinjun opened this issue May 18, 2016 · 3 comments
Open

编译不过 #68

jianglinjun opened this issue May 18, 2016 · 3 comments

Comments

@jianglinjun
Copy link

构建时报了这个错
/user/XXXXXXX/DynamicAPK-master/sample/build.gradle
Error:(143, 0) A problem occurred evaluating project ':sample'.
Open File

clean时也报错了.
/user/XXXXXXX/DynamicAPK-master/sample/build.gradle
Error:(143, 1) A problem occurred evaluating project ':sample'.

java.lang.UnsupportedOperationException (no error message)

现在怎么弄????

@lgengsy
Copy link

lgengsy commented May 23, 2016

直接导入到AS都不行啊 。。我也编译不过,求介绍。

@zsl
Copy link

zsl commented Jun 26, 2016

我这里也报同样的错误,你们解决了么

@HappyRyan99
Copy link

http://blog.osom.info/2014/12/too-many-methods-in-main-dex.html

Version 2.0.0 of Android Gradle plugin broke the patch code. There were a few changes in CreateManifestKeepList task - mainly the task was converted from using Groovy to Java. The KEEP_SPECS static member that I was patching previously was converted to a ImmutableMap, which throws an UnsupportedOperationException when calling its remove method:

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

No branches or pull requests

4 participants