Maxr1998 / MaxLock

Powerful app locker for Android, with a root and no-root implementation
https://maxlock.maxr1998.de
GNU General Public License v3.0
197 stars 45 forks source link

App crashes on nougat (but issue may not be related to nougat) #117

Closed hacker1024 closed 6 years ago

hacker1024 commented 6 years ago

When trying to launch the app:

AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{de.Maxr1998.xposed.maxlock/de.Maxr1998.xposed.maxlock.ui.SettingsActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.preference.TwoStatePreference.isChecked()' on a null object reference

Maxr1998 commented 6 years ago

@hacker1024 Did compile the release yourself? This is normally already fixed, at least it doesn't crash for me..

hacker1024 commented 6 years ago

I downloaded from Google Play. I'll try compiling the master branch myself, thanks.

Maxr1998 commented 6 years ago

@hacker1024 Then it's definitely already fixed. GP version is not supposed to be used on Nougat.

hacker1024 commented 6 years ago

Oh, OK. Sorry.