我试图在模拟器中运行我的应用程序,但收到以下错误:
Installation failed since the APK was either not signed, or signed incorrectly. If this is a Gradle-based project, then make sure the signing configuration is specified in the Gradle build script.
我正在尝试使用调试设置运行应用程序,因此不需要签署应用程序,因为它会在构建时获得临时签名。
最佳答案
当您安装在不同计算机上生成的相同应用程序时,经常会发生这种情况。即使是未签名的 apk 也有签名,因此您的手机会混淆为什么您要尝试安装在另一台计算机上生成的具有相同包名的东西。
进入你的设置 -> 应用程序,然后在列表中找到该应用程序,清除其数据并卸载它。
然后尝试重新安装。那会解决它。
关于安卓工作室 : Installation failed since APK was not signed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28884929/