Android:如何在设备上安装apk,而不使用android sdk工具
我已将我的应用程序构建到签名的 SDK 中。我希望 beta 测试人员能够在他们的设备上安装它,而无需安装和使用 android sdk 工具(我意识到 apk 可以使用命令行工具安装,但希望没有必要)。
我尝试手动安装它,但失败了。我有一台 Android 平板电脑,用于测试。我将 apk 复制到设备的 SD 卡上,然后单击它。这提供了使用应用程序管理器安装它的选项。不幸的是,安装失败并显示消息“应用程序未安装”。
有没有一种方法可以手动安装 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).
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".
Is there a way to manually install an apk, without using the command line tools?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
将其上传到使用
.apk
配置正确 MIME 类型(application/vnd.android.package-archive
) 的网站。任何人在浏览器中点击您的 APK 链接都可以安装它。有些服务内置了此功能。例如,据我了解,Dropbox 知道 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.Some services have this built in. Dropbox, for example, knows about APK files, as I understand it.
您可以将 apk 文件放在服务器上。在设备/模拟器上打开浏览器并下载 apk,现在您可以点击下载的 apk 并安装它。
You can put the apk file on a server. On the device/emulator open the browser and download the apk and now u can tap on the downloaded apk and install it.
不确定您是否仍然需要它,但我刚刚找到了另一种安装 .apk 文件的简单方法。这可能也适用于您的 .apk
您的设备确实需要二维码读取器和摄像头。
看看 www.apkinstall.com
Not sure if you still need it, but I just found an other easy way of installing .apk files. This might also work for your .apk
Your device does need a QR code reader and camera.
Have a look at www.apkinstall.com
除了需要启用非市场应用程序的方法(某些 AT&T 手机的用户无法做到这一点)之外,在没有 SDK 的 Windows 上也可以使用 SDK 所使用的相同安装方法,以“sideload Wonder”的形式进行安装。机器”
In addition to the methods that require enabling non-market applications (which users of some AT&T phones can't do), the same installation method utilized by the SDK is available on windows without the SDK in the form of the "sideload wonder machine"
一个很棒的现代替代方案是 Crashlytics Beta。
只需向 Beta 测试人员发送电子邮件邀请,然后安装 Crashlytics Beta 应用程序,一切就会神奇地发挥作用。当您将新的 Beta 版本发布到 Crashlytics IDE 集成中时,您的测试人员甚至会收到通知。
A great, modern alternative is Crashlytics Beta.
Simply send beta testers an e-mail invitation, and by installing the Crashlytics Beta app, everything magically works. Your testers will even get notifications of when you publish a new beta version into the Crashlytics IDE integration.