非预置应用使用platform签名并且添加了android.uid.system无法adb安装解决方法

报错信息:

Non-preload app cn.incartech.recent_button_remove_demo signed with platform signature and joining shared uid: android.uid.system, allowList: {android.test.settings=android.uid.system, com.ganxinkj.haliboboluancher=android.uid.system}

方法一:

将包名换成:android.test.settings

方法二(未验证):

将要目标apk包名添加到下面文件中

frameworks\base\data\etc\package-shareduid-allowlist.xml

相关推荐
成都大菠萝20 小时前
Android Car CarProperty 车辆信号链路
android
敲代码的鱼20 小时前
PDF 预览与签名批注写回 支持安卓 iOS 鸿蒙 UTS插件
android·前端·ios
时光足迹1 天前
uni-app 视频通话实战:康复师与患者视频问诊的 6 个致命 Bug 与解决方案
android·ios·uni-app
Coffeeee1 天前
闲聊几句,Android老哥们,你们多久没做技改需求了
android·程序员·代码规范
萝卜er1 天前
Fragment 生命周期与状态恢复-《Android深水区(四)》
android
萝卜er1 天前
Intent 显式、隐式与 PendingIntent-《Android深水区(五)》
android
Kapaseker1 天前
一文吃透 Kotlin 集合操作符
android·kotlin
三少爷的鞋1 天前
Main-safe:现代Android 架构真正的分水岭
android
沐怡旸2 天前
深入解析 Android Performance Analyzer (APA) 底层架构与技术原理
android
李斯维2 天前
从历史的角度看 Android 软件架构
android·架构·android jetpack