Hi, maybe can someone clarify something? I'm getti...
# android
p
Hi, maybe can someone clarify something? I'm getting an error when obfuscating with proguard:
Copy code
Exception in thread "DefaultDispatcher-worker-2" com.fasterxml.jackson.c.a.S: Instantiation of [simple type, class com.myapp.data.datasource.network.model.Linea] value failed for JSON property p0 due to missing (therefore NULL) value for creator parameter p0 which is a non-nullable type
 at [Source: (okio.RealBufferedSource$inputStream$1); line: 10, column: 1] (through reference chain: java.util.ArrayList[0]->com.myapp.data.datasource.network.model.Linea["p0"])
I tryed to solve it adding this rule:
Copy code
-keep class com.myapp.data.datasource.network.model.** { *; }
Nothing changes, the error is the same, so I tryed with this:
Copy code
-keep class com.** { *; }
Nothing happens too. Same error. Am I doing something wrong with that keep? is not this way how you keep classes in proguard config?
not kotlin but kotlin colored 4