3

I am using the new APK Analyzer in Android Studio Preview 2.2 to examine my APK. I use lombok in my project. I am noticing in the resulting APK there are a lot of lombok files, including AUTHORS, changelog.txt, etc. It also includes a bunch of eclipse files, things I am not using, nor do I want. Specifically, I get a lot of InnerClasses warnings on these files when build and test. I have also had to enable multidex as what I believe is a result of all these extra items lombok pulls in. I believe a lot of this can be resolved with proguard. Does anyone have a working proguard to clean up the extra junk lombok is injecting?

4

1 回答 1

2

你只需要 lombok compileTime。更改您的 gradle 文件将解决您的问题。

于 2016-06-20T09:10:33.490 回答