I can only access the first Fragment with tabs

Asked

Viewed 33 times

0

After some time without updating my apps I have to change them to adapt to Admob 7.0.0.

In two of them use fragments on tabs (one with two tabs and the other with three) and he always positions on the first of them and always worked.

Now, when executing the apps they do nothing by clicking on the title of the other tabs, that is, I get stuck at the first tab.

One of the parameters to be analyzed is that it is the first time I compile these apps on Android 3.0.

What do you think it might be?

The app that does not have fragment nor tab works normally.

The strange thing is that when I leave the application the tab where I clicked appears quickly and disappears. Very strange

When I click on the tab that is not shown gives the following error lo logcat, without interrupting the app:

01-19 16:35:46.795 2357-2734/? E/DatabaseUtils: Writing exception to parcel
java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:13140)
at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2038)
at com.android.providers.settings.SettingsProvider.callFromPackage(SettingsProvider.java:607)
at android.content.ContentProvider$Transport.call(ContentProvider.java:279)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:273)
at android.os.Binder.execTransact(Binder.java:388)
at dalvik.system.NativeStart.run(Native Method)
  • This logcat is saying ask for permission android.permission.INTERACT_ACROSS_USERS_FULL.

  • I put but did not solve. I ended up putting the minSdkVersion 19 to avoid this problem.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.