You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Caused by: java.lang.IllegalArgumentException: Not a primitive field: com.android.tools.fd.runtime.IncrementalChange com.lukedeighton.wheelsample.R$color.$change
at java.lang.reflect.Field.getInt(Native Method)
at java.lang.reflect.Field.getInt(Field.java:460)
at com.lukedeighton.wheelsample.MaterialColor.getMaterialColors(MaterialColor.java:27)
The text was updated successfully, but these errors were encountered:
com.android.tools.fd.runtime.IncrementalChange was added to support instant run.
Disable instant run can solve the problem.
or
add the following code before field.getInt(null)
Caused by: java.lang.IllegalArgumentException: Not a primitive field: com.android.tools.fd.runtime.IncrementalChange com.lukedeighton.wheelsample.R$color.$change
at java.lang.reflect.Field.getInt(Native Method)
at java.lang.reflect.Field.getInt(Field.java:460)
at com.lukedeighton.wheelsample.MaterialColor.getMaterialColors(MaterialColor.java:27)
The text was updated successfully, but these errors were encountered: