我正在为 xamarin.android 开发 nuget 包,我需要转换 AndroidManifest.xml 我需要将 android:sharedUserId 属性添加到名为 manifest 的根元素
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" >
<!-- some another nodes -->
</manifest>
所以我可以将属性添加到根节点
<manifest xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"
xdt:Transform="SetAttributes(sharedUserId)"
sharedUserId="com.random.userId">
</manifest>
但命名空间'android'被遗漏了。如何将命名空间添加到属性?