INSTALL_FAILED_SHARED_USER_INCOMPATIBLE while using shared user id

后端 未结 10 1228
情深已故
情深已故 2020-11-28 10:33

I am working on Android application which will share the database. For that, I\'m using android:sharedUserId in both application\'s Manifest file. When I am try

10条回答
  •  爱一瞬间的悲伤
    2020-11-28 11:06

    Although you have accepted answer, I also want talk my situation which I met this error. My project is a Launcher which just happen to use some system grant like, Manifest.xml have two item:

    
     or
    
    

    and console log out:

    Error using StatusBarManagerService - java.lang.SecurityException on android.permission.STATUS_BAR
    

    Lastly, my colleague give me a hint using "platform debug key", I am not sure this will be suitable for you, but for another guys possibility for this kind question. The below picture is my solution: screenshot from project structure you might also notice 'Signing Config' of "Flavors" and "Build Types", you might choose 'Name:' of "Signing".

提交回复
热议问题