Architecture-components-samples: [QUESTION] Proguard rules?

Created on 30 May 2017  路  2Comments  路  Source: android/architecture-components-samples

What kind of rules are needed for proguard?
Caused by: java.lang.RuntimeException: Cannot create an instance of class ***.login.k at android.arch.lifecycle.n$a.a(Unknown Source) at android.arch.lifecycle.m.a(Unknown Source) at android.arch.lifecycle.m.a(Unknown Source) at ***.LoginActivity.onCreate(Unknown Source)
Thanks for help.

Most helpful comment

Hi, I've already created an issue for providing proguard config. I'm not sure if my set of rules covers all possible use cases yet, but BasicSample and GithubBrowserSample work fine.
Please try the provided config and report any of your problems there, so that we could document and solve them.

All 2 comments

Hi, I've already created an issue for providing proguard config. I'm not sure if my set of rules covers all possible use cases yet, but BasicSample and GithubBrowserSample work fine.
Please try the provided config and report any of your problems there, so that we could document and solve them.

Great work, thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iammert picture iammert  路  14Comments

ratanoff picture ratanoff  路  11Comments

hasnain-ahmad picture hasnain-ahmad  路  16Comments

faris-jameel picture faris-jameel  路  28Comments

shanuka picture shanuka  路  13Comments