Attempt to invoke interface method 'java.lang.String android.content.SharedPreferences.getString

Hello
I recently updated my android studio and also redownloaded backendless sdk jar file and recompiled my project.
The gradle build is successfull, but when i run the app in my mobile, and when I try to login a user, it says
Attempt to invoke interface method ‘java.lang.String android.content.SharedPreferences.getString(java.lang.String,
java.lang.String)’ on a null object reference
what did i do wrong?
Thank You

Hi Himanshu,

Could you please provide more information about this issue and full stacktrace?

Regards,

Denys

Hi Denys

Thank you for reply.
I have found the solution.
I did not used the initApp function in the MainActivity.java again.
That was the problem