简体   繁体   English

更新不在Google Play上的内部Android应用?

[英]Update an internal android app not on Google Play?

I'm developing an internal application and it will not be on google play, how can I update this application? 我正在开发一个内部应用程序,它不会在谷歌播放,我该如何更新此应用程序?

Thanks a lot for all! 非常感谢大家!

向人们发送新的apk,或者在有新版本时检测它,并告诉他们点击链接下载。

In case you wanted to code the server in node.js, here's the code: 如果你想在node.js中编写服务器代码,这里是代码:

var app = express.createServer();
app.get('/version'', function(req, res){
    res.send('99');
});
app.listen(80);

Google play provide a very powerful way to push updates of a given app , if you will override this way you will be obliged to redeploy your app "manually" (new apk sent to x given devices) 谷歌播放提供了一种非常强大的方式来推送给定应用程序的更新,如果你将覆盖这种方式,你将不得不“手动”重新部署你的应用程序(新的apk发送到x给定的设备)

Or make your app have it's content linked to a server and this way the only thing that will be updated will be the "data" on the server side . 或者让你的应用程序将其内容链接到服务器,这样唯一要更新的内容就是服务器端的“数据”。

我通过安装一个服务器来解决这个问题,该服务器保存带有apk的文件和来自它们的信息,并通过一个lib来进行通信并安装更新,正如我在工作中所做的那样我将不得不等待这里的人们在github上发布lib它,但如果有人需要使用我之前在这里发布lib。

Simply distributing the .apk to your internal users is probably the easiest way to get started, however you will have to implement a custom update process for this. 简单地将.apk分发给内部用户可能是最简单的入门方式,但是您必须为此实现自定义更新过程。

By now there are more options available that will handle the update process, eg Private Channel (for Google Apps users), Alpha/beta stages for internal distribution (more like a hack..) or complex MDM solutions. 到目前为止,还有更多可用于处理更新过程的选项,例如私人频道 (适用于Google Apps用户),内部分发的Alpha / beta阶段(更像是黑客......)或复杂的MDM解决方案。

Please see my answer in Google Play deployment for internal company user only for reference. 内部公司用户的Google Play部署中查看我的回答以供参考。

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

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