![](/img/trans.png)
[英]How to debug the Android App in release mode using Android studio
[英]change UID of app in debug mode in Android studio
我想测试具有相同UID的两个应用之间的共享数据。 如何更改android studio中应用的UID并为两个不同的应用设置相同的UID?
您需要使用sharedUserId
,它将在两个不同的应用程序之间共享数据。
在清单中:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="string"
android:sharedUserId="your_uid_in_string" // change here..
android:sharedUserLabel="string resource"
android:versionCode="integer"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.