android studio打包release包时提示报错app-release-unsigned.apk is not signed

时间:2024-03-20 19:57:35

 首先

android studio打包release包时提示报错app-release-unsigned.apk is not signed

选择倒数第三个

android studio打包release包时提示报错app-release-unsigned.apk is not signed

设置key以及密码,然后一路确定,后面选择V1

android studio打包release包时提示报错app-release-unsigned.apk is not signed

选择Project Structure

android studio打包release包时提示报错app-release-unsigned.apk is not signed

选择app,选择Signing,点击+号生成一个新的空白页面,添加上签名信息

android studio打包release包时提示报错app-release-unsigned.apk is not signed

接着选中Build Type ,选择release

android studio打包release包时提示报错app-release-unsigned.apk is not signed

按如图设置,点击ok,等待sync后即可运行release模式,并且打包后的安装包不损坏。