Android:如何在设备上安装 apk,而不使用 android sdk 工具 [英] Android: how to install apk on device, without using android sdk tools

查看:30
本文介绍了Android:如何在设备上安装 apk,而不使用 android sdk 工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将我的应用构建到已签名的 SDK 中.我希望 beta 测试人员能够在他们的设备上安装它,而无需安装和使用 android sdk 工具(我意识到可以使用命令行工具安装 apk,但希望这不是必需的).

I have built my app into a signed SDK. I would like for beta testers to be able to install this on their devices without having to install and use the android sdk tools (I realize the apk can be installed with command line tools, but would prefer that not be necessary).

我尝试手动安装它,但失败了.我有一个用于测试的 android 平板电脑.我将 apk 复制到我设备的 SD 卡,然后单击它.这提供了使用应用程序管理器安装它的选项.不幸的是,安装失败并显示未安装应用程序"消息.

I tried manually installing it, but it failed. I have an android tablet that I am using for testing. I copied the apk to my device's sdcard, and clicked on it. Which gave the option to install it with the App Manager. Unfortunately the install fails with message "Application not installed".

有没有办法手动安装 apk,而不使用命令行工具?

Is there a way to manually install an apk, without using the command line tools?

推荐答案

将其上传到为正确的 MIME 类型 (application/vnd.android) 配置了 .apk 的网站.package-archive).任何人都可以在浏览器中点击指向您的 APK 的链接来安装它.

Upload it to a Web site that is configured with .apk for the right MIME type (application/vnd.android.package-archive). Anyone clicking the link to your APK in their browser will be able to install it.

有些服务内置了这个功能.例如,Dropbox 知道 APK 文件,据我所知.

Some services have this built in. Dropbox, for example, knows about APK files, as I understand it.

这篇关于Android:如何在设备上安装 apk,而不使用 android sdk 工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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