Google Play 商店中的多个 .apk 过滤服务于旧版本的应用程序 [英] Multiple .apk filtering in the Google Play store serves older version of app

查看:31
本文介绍了Google Play 商店中的多个 .apk 过滤服务于旧版本的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人可以提供任何信息来帮助我们解决我们一直遇到的问题.

I was wondering if anyone could have any information that could help us with a problem we have been having.

我们发布了一个应用作为现有应用的更新.旧应用程序仍然可用,因此我们有多个 apk 方案.

We have released an app as an update from an existing app. The old app is still available so we have a multiple apk scenario.

旧应用兼容清单中描述的小、正常、大和超大屏幕.(似乎没有任何密度声明) api 是 8+新应用与清单中描述为

The old app has compatibility for screens described in the manifest as small, normal, large and xlarge. (there doesn't seem to be any density declaration) The api is 8+ The new app has compatibility for screens described in the manifest as

 <compatible-screens>
        <!-- all small size screens -->
        <screen android:screenSize="small" android:screenDensity="ldpi" />
        <screen android:screenSize="small" android:screenDensity="mdpi" />
        <screen android:screenSize="small" android:screenDensity="hdpi" />
        <screen android:screenSize="small" android:screenDensity="xhdpi" />
        <!-- all normal size screens -->
        <screen android:screenSize="normal" android:screenDensity="ldpi" />
        <screen android:screenSize="normal" android:screenDensity="mdpi" />
        <screen android:screenSize="normal" android:screenDensity="hdpi" />
        <screen android:screenSize="normal" android:screenDensity="xhdpi" />
        <!-- all large size screens -->
        <screen android:screenSize="large" android:screenDensity="ldpi" />
        <screen android:screenSize="large" android:screenDensity="mdpi" />
        <screen android:screenSize="large" android:screenDensity="hdpi" />
        <screen android:screenSize="large" android:screenDensity="xhdpi" />
    </compatible-screens>

我们的 api 是 14+

Our api is 14+

问题是,当使用 Sony Experia Z1(似乎是大"屏幕)的客户在商店中安装该应用程序时,他们会获得该应用程序的旧版本.

Problem is, when the client using a Sony Experia Z1 (which seems to be a "large" screen) installs the app on the store, they get the old version of the app.

根据文档,商店应该提供新版本,因为它具有更高的版本号(手机兼容旧版本和新版本),但事实并非如此,我找不到任何额外的文档或有任何类似问题的人.

According to the documentation, the store should serve the new version because it has a higher version number (the phone being compatible with both versions, old and new) but it isn't and i can't find any extra documentation or people having any similar issues.

你能想到什么让这一切发生的吗?

Is there anything you can think of that is making this happen?

我正在查看清单中的其他内容,例如原生平台",但这似乎是因为原始开发人员使用了一些 NDK,我认为这不是问题(?)

I was reviewing the other things in the manifest, for example the "native platforms" but that seems to be because the original developers used some NDK and i don't think that would be the problem (?)

另一件事是权限,据我所知,任何手机都应该能够做到并且不应该成为问题.

The other thing is the permissions which as fast as i know, any phone should be able to do and should not be the issue.

在新应用中

android.permission.ACCESS_NETWORK_STATE
android.permission.ACCESS_WIFI_STATE
android.permission.CALL_PHONE
android.permission.INTERNET
android.permission.MODIFY_AUDIO_SETTINGS
android.permission.READ_PHONE_STATE
android.permission.SEND_SMS
android.permission.WAKE_LOCK

在旧应用中

android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_NETWORK_STATE
android.permission.GET_TASKS
android.permission.INTERNET
android.permission.READ_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE
android.permission.WRITE_EXTERNAL_STORAGE

如果有人能想到什么,我们将不胜感激!

If anyone can think of anything, we would be very thankful!

推荐答案

您必须使用相同的签名密钥来签署新的 APK 文件.否则 Google Play 不会将该应用视为升级版本.

You have to use the same signing keys for signing new APK file. Otherwise Google Play will not consider the app as upgraded version.

这篇关于Google Play 商店中的多个 .apk 过滤服务于旧版本的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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