I get an error
Error: execution completed for task ': app: transformClassesAndResourcesWithProguardForDebug'. Failed to complete work, see Logs for details.
I get a lot of warnings like
Warning: es.usc.citius.hipster.util.examples.maze.MazeSearch $ Result: cannot find reference class java.awt.Point
which looks strange to me because in my proguard rules i added this rule
-keep public class es.usc.citius.hipster.** { *; }
[Changed] I also get warnings like
Warning: com.mypackage.android.dagger.modules.AppModule_ProvideAccelerometerSensorFactory: cannot find superclass or dagger.internal.Factory interface
I added dagger rules
-dontwarn dagger.internal.codegen.**
-keepclassmembers,allowobfuscation class * {
@javax.inject.* *;
@dagger.* *;
<init>();
}
-keep class dagger.* { *; }
-keep class javax.inject.* { *; }
-keep class * extends dagger.internal.Binding
-keep class * extends dagger.internal.ModuleAdapter
-keep class * extends dagger.internal.StaticInjection
and save rules for my package
-keep public class com.mypackage.android.** { *; }
After the response to ignore warnings, I added this rule
-dontwarn com.mypackage.android.**
proguard . , ?