问题描述
我遇到一个奇怪的问题.我将Android Studio从2.3.3更新到3.0后出现了此错误.问题是当我尝试安装显示如下内容的apk文件时
I am having a weird problem.I got this error after I updated Android Studio from 2.3.3 to 3.0..The problem is when I try to install apk file it says
未安装应用.该软件包似乎已损坏.
App not installed.The package appears to be corrupt.
我尝试在调试版本和发行版中都生成apk并尝试安装,但是每当我安装apk时,它都会显示相同的消息.
I have tried generating apk in both debug and release version and tried to install but whenever I install apk it show the same message..
当我从android studio运行android项目时,它正在工作.可能是摇摇欲坠的问题,但无法解决.请帮助
When I run the android project from android studio it is working.May be the gradle problem but couldn't fix it.Please help
推荐答案
经过大量搜索,我找到了解决方案:
After searching a lot I found a solution:
转到构建"->构建Apk".
Go to Build-> Build Apk(s).
创建apk后,您将看到如下对话框.
After creating apk you will see a dialog as below.
点击定位"并将其安装在手机中
Click on locate and install it in your phone
享受
这篇关于收到错误消息“程序包似乎已损坏".在安装apk文件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!