![](/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.