5

我已经在 Google Play 上发布了 android 应用程序。希望将应用程序甚至离线作为 .apk 文件直接分发。我的应用程序是完全免费的,我们希望它应该传播给尽可能多的人。

我不确定提供 .apk 文件的优点和缺点是什么?

问题是:

  1. 当连接到互联网时,Google Play 会将直接 .apk 安装计为下载吗?
  2. 直接安装 .apk 的用户会得到以后发布的任何更新吗?
4

3 回答 3

3

要回答您的问题:

  1. .apk是的,如果您在 Android 中单击 ,您将收到下载提示。当您打开已完成的下载时,它将提供安装(请参阅下面的警告)
  2. 如果您.apk在 Google Play 之外提供直接下载,则不会获得“更新检查”——您必须自己进行。不完全确定如果.apk在 Play 商店中可用并通过直接下载会发生什么。

更容易谈论分配.apk自己的方法的缺点。

  1. 你必须自己做所有的跟踪,如果你发布到游戏商店你会得到一些统计数据
  2. 同样,您必须自己进行所有“更新检查”(通过将其写入您的应用程序或其他方式。)
  3. 没有安全的方式分发您的应用程序。内置 Android 浏览器不支持通过需要身份验证的 HTTPS 流下载**
  4. Easier for users to get the source code of your app. They can download the .apk from your site, open it in 7zip (or similar) and have at the underlying class files. Whether or not this is a concern is really for you to decide.

The most important reason

Your users will have to check "Allow installation of packages from unknown sources". Your average person might not know how to do this, and may be hesitant to do so. So, it may limit your ability to gain a a wide market share.

So, in summary, ask yourself if not being in Google Play/Android Market is really worth the hassle that comes for both you and your users.

** Not sure if this is true with Chrome on Android -- it is certainly true with the older default browser

于 2012-12-27T05:54:51.070 回答
2
  1. Google play 收集仅通过 Play 商店安装的应用程序的统计信息,并使用 Google 帐户登录。阅读有关应用程序统计信息的文档
  2. 较新版本的 Play Store 应用程序可以自动检测是否有任何已安装的应用程序在 Play 商店中也可用,并会通知更新。

此外,除了 Play 商店之外,还有许多第三方应用市场。您也可以在那里上传您的应用程序(并非所有应用程序都提供自动更新)。

于 2012-12-27T05:43:47.470 回答
1
  1. 好像没有,如果我错了,请纠正我:)
  2. 可以,前提是包名相同,并且你上传到google play的apk文件版本号大于设备中安装的版本号。
于 2012-12-27T05:41:46.280 回答