After updating my phone to Android 11, my app using the permissions of ACTIVITY_RECOGNITION, no longer works.
Now the app crashes on startup.
I get this error in debug mode: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
Thank you to those who will help me.
Now the app crashes on startup.
I get this error in debug mode: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
Thank you to those who will help me.