has no signatures that match those in shared user android.uid.system

has no signatures that match those in shared user android.uid.system_第1张图片

出现这个错误要仔细看 里面有一段是has no signatures that match those in shared user android.uid.system 

是因为我在manifest.xml里面加了 sharedUserId="android.uid.system" 加这句的原因是因为应用用到了系统权限 所以需要系统打包 这样装到手机上之后  就成了系统应用 即使在内存不足的时候也不会被系统kill掉  

但是系统打包是需要进行系统签名 而不是直接通过AndroidStudio就可以运行到手机上的  所以会报这个错  系统打包我这里就不提供教程了  网上教程一堆  另外 关于这个问题还有一篇博客介绍的比较详细 请看这里: https://blog.csdn.net/tw19811220/article/details/9073755

 

你可能感兴趣的:(Android)