在运行studio项目安装apk时,一直提示:Installation failed with message Failed to finalize session : INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Forbidding shared user change from SharedUserSetting{26e3bc97 android.uid.system/1000} to null.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
点击确定,然后显示安装失败。
网络搜索问题解决方法无果,经过分析发现只需要在项目Androidmanifest.xml文件manifest下添加:android:shareUserId="android.uid.syatem"即可