proguard.cfg is not updated to match custom package names #9

Closed
choochootrain opened this Issue Dec 16, 2012 · 2 comments

Projects

None yet

2 participants

@choochootrain

I noticed that when I used the site to generate an android package, it was failing the tests because proguard.cfg is not updated and roboguice could not find the constructors for BootstrapServiceProvider, ApiKeyProvider, and LogoutService.

-keep class com.donnfelker.android.**
-keepclassmembers class com.donnfelker.android.** { public <init>(...); }
-keep class com.donnfelker.android.** {
    *** set*(***);
    *** get*();
}

should also be changed to reflect the custom package name.

@choochootrain

I changed the lines to match my package name and now it does pass all the default tests.

@donnfelker
Member

Good catch. I need to fix this in the generator code. I just ran into this myself this morning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment