Skip to content Skip to sidebar Skip to footer

Initialize Boolean Value "no Such Instance Field"

I get an error in debugging and I can't set this boolean value. I attached a screenshot of the error. I call DeviceUpdateManager in my mainActivity like this: public class MainAct

Solution 1:

It happens when you changed variable name in code and running application with older name in code.

Solution 2:

Remove below snippet from Project/build.gradle file.

 minifyEnabled true

Please have a look at this link for more info.

https://stackoverflow.com/a/45281798/5870824

Post a Comment for "Initialize Boolean Value "no Such Instance Field""