android - java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0 -


exception parcel

java.lang.securityexception: permission denial: get/set setting user asks run user -2 calling user 0; requires android.permission.interact_across_users_full 

i see coders getting in situations, haven't seen addressed 'google play activity' module in hello world new project setup android studio, i'm pretty forced use last computer eclipse fried.

'blank activity' works on phone device , emulator 'blank activity' hello world new activity setup, not 'google play activity' hello world new activity setup. i've tried , without various option boxes checked, 'enable google play services'. have added both

   uses-permission android:name="android.permission.interact_across_users_full"      uses-permission android:name="android.permission.write_external_storage" 

with no change result. application appears load, crashes 'unfortunately, application has stopped'.

turns out google forgot add critical line manifest in android studio new project 'google play activity' template:

meta-data android:name="com.google.android.gms.games.app_id"         android:value="@string/app_id" 

Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -