简体   繁体   English

如何将Android应用程序部署到多部手机?

[英]How to deploy an Android app to multiple phones?

I have an Android app that I would like to test across 20 or so Android devices that I have in my posession. 我有一个Android应用程序,我想测试我在我的posession 20个左右的Android设备。

What is the best/quickest way to deploy this APK across to multiple devices for testing? 将此APK部署到多个设备进行测试的最佳/最快方法是什么?

有一个很好的服务叫做PushLink https://www.push-link.com PushLink是一个私人的APK服务,可以让你轻松更新企业应用程序。

Put the APK on a website, convert the URL to QR CODE or send the URL to the phones using email. 将APK放在网站上,将URL转换为QR码或使用电子邮件将URL发送到手机。 Click on the link and install. 单击链接并安装。

Make sure you put the MIME type on IIS application/vnd.android.package-archive 确保将MIME类型放在IIS application/vnd.android.package-archive

I would say probably just plug them in one at a time and make sure they're all configured to install and everything, then loop through them all again and deploy the apk one at a time. 我想说可能只是一次插入一个并确保它们都配置为安装和所有内容,然后再次循环遍历它们并一次部署一个apk。 I see no reason to really over complicate that process. 我认为没有理由让这个过程复杂化。 Depending on the size of the app each download shouldn't take that long. 根据应用程序的大小,每次下载都不应该花那么长时间。 It's tedious but it gets the job done without having to do a lot of extra work. 这很乏味但是它可以完成工作而无需做很多额外的工作。

Put apk file at your local server like 192.168.1.1/apk.apk and access it from all your devices and install. 将apk文件放在您的本地服务器上,如192.168.1.1/apk.apk,并从您的所有设备访问并安装。

Remember to switch off firewall if you are in Windows O/S. 如果您使用的是Windows O / S, 请记得关闭防火墙。

If you are using Eclipse, take a look at the answers given in the post Android - Multiple Connected Devices via USB 如果您使用的是Eclipse,请查看Android中的答案- 通过USB连接多个设备

If you see that you have two (or more) devices listed in the Devices view (Window > Show View > Other... > Android > Devices), you will get the same devices shown in the "Android Device Chooser" under "Choose a running Android device" each time you select "Run As" > "Android Application". 如果您看到设备视图(窗口>显示视图>其他...> Android>设备)中列出了两个(或更多)设备,您将获得“选择”下“Android设备选择器”中显示的相同设备一个正在运行的Android设备“每次选择”运行方式“>”Android应用程序“。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM