Skip to content

Proguard rule needed #39

Description

@erikswed

I´m building a release build but cannot get past his proguard related error:

Process: com.toy.android.production, PID: 13817
java.lang.NullPointerException: Attempt to read from field 'java.lang.Object android.widget.Filter$FilterResults.values' on a null object reference
   at com.seatgeek.placesautocomplete.adapter.PlacesApiFilter.publishResults(SourceFile:120)
   at android.widget.Filter$ResultsHandler.handleMessage(Filter.java:282)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:158)
   at android.app.ActivityThread.main(ActivityThread.java:7225)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

In my proguard-rules.pro file I have the:

-keep class com.seatgeek{ *; }
-keep public class com.toy.android.ui.adapter.PlacesAutocompleteAdapter{ *; }

What am I missing please advice

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions