由 Android Studio V 2.3.3 制作的 APK 不起作用 [英] APK not working made from Android Studio V 2.3.3

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

问题描述

我已将我的 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>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 文件夹.
  • 转到 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.

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

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