Tuesday, 15 February 2011

android studio - java.lang.SecurityException: Permission Denial -


I'm trying to write data in mysql (wamp server) using the Android app. It was working perfectly.

Now it Anulkshn error displays:

java.lang.SecurityException: allow rejection: to run as the user to set / set user settings It says -2 but has to call from the user; Android Parmesan for this. INTERACT_ACROSS_USERS_FULL

On com.android.server.am. Aktivetivanerssewa. HandleIncomingUser (ActivityManagerService.java.1568) .ActivityManager.handleIncomingUser (ActivityManager.javamore498)
on com.android.providers.settings.SettingsProvider.call (SettingsProvider.java:688) on
android.app
android.content.ContentProvider at $ Transport.call (ContentProvider .java: 325)
at android.content.ContentProviderNative.onTransact (ContentProviderNative.java Tamil 70)
at android.os.Binder On .execTransact (Border.Java 404) at Dalvik.system.NativeStart. Run (Basic Law)

I'm using Android-Studio, Windows 7, 32 bit.

Can you please help me solve this?


No comments:

Post a Comment