APK无法使用Android Studio V 2.3.3制作 [英] APK not working made from Android Studio V 2.3.3

查看:120
本文介绍了APK无法使用Android Studio V 2.3.3制作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经将Android Studio从2.3.2更新到了2.3.3.

I have updated my Android Studio from 2.3.2 to 2.3.3.

现在,当我尝试安装在\ app \ build \ outputs \ apk中生成的APK时,会安装该应用,但它只是轻弹并存在.

Now, when I try to install APK generated in \app\build\outputs\apk, the App gets installed but it just flicks and exists.

它以前曾经可以正常工作,但是从昨天开始就不起作用了,我也尝试了2-3个不同的项目,但是没有用.

It used to work fine before but it's not working since yesterday, and I have tried 2-3 different projects also but no use.

推荐答案

您手动生成APK的方式 无法生成正确的APK,所以我建议采用以下方式 生成用于手动安装的APK:

Your manual way of generating APK is not generating the correct APK, so i am Suggesting these way to generating APK for Manual Install:

用于调试版本

  • 删除您在App文件夹中构建的文件夹.
  • 转到Build>Build APk.它将在您的计算机中生成.apk文件 app>build>output>apk目录.
  • 将其复制到您的设备并手动安装.
  • Delete you build folder inside the App folder.
  • Goto Build>Build APk. it will generate .apk file in your app>build>output>apk directory.
  • COPY it your device and install manually.

用于发布版本

  • 删除您在App文件夹中构建的文件夹.
  • 转到Build>Generate Signed APk并提供推荐的详细信息,确保您的Build type : release并检查了签名版本v1(jar signature)v2(full apk signature).它将在您的计算机中生成.apk文件 app>build>output>apk目录.
  • 将其复制到您的设备并手动安装.
  • Delete you build folder inside the App folder.
  • Goto Build>Generate Signed APk and provide recomended Details, make sure your Build type : release and have checked both signature version v1(jar signature) and v2(full apk signature) . it will generate .apk file in your app>build>output>apk directory.
  • COPY it your device and install manually.

这篇关于APK无法使用Android Studio V 2.3.3制作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆