Closed flyuuo9 closed 6 years ago
13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.util.regex.PatternSyntaxException: Unexpected i nternal error near index 1 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] \ 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] ^ 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] at com.github.megatronking.stringfog.plugin.WhiteLists.s hortClassName(WhiteLists.java:114) 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] at com.github.megatronking.stringfog.plugin.WhiteLists.i nWhiteList(WhiteLists.java:85) 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] at com.github.megatronking.stringfog.plugin.ClassVisitor Factory.create(ClassVisitorFactory.java:39) 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] at com.github.megatronking.stringfog.plugin.StringFogCla ssInjector.processClass(StringFogClassInjector.java:106) 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] at com.github.megatronking.stringfog.plugin.StringFogCla ssInjector.doFog2Class(StringFogClassInjector.java:52) 13:46:51.454 [ERROR] [org.gradle.BuildExceptionReporter] at com.github.megatronking.stringfog.plugin.StringFogCla
applicationId和manefest包名不一致的问题已经修复,windows分隔符也修复了,详见最新版本v1.2.1
看了源码应该是用到applicationId作生成代码的路径,实际上不存在的路径。 只有manifest里面的package生成R时有个目录。但是和applicationId不一样。导致报错
把两者改成一样出现另外一个错误,没显示具体哪个文件出错