[英]Multiple .apk filtering in the Google Play store serves older version of app
I was wondering if anyone could have any information that could help us with a problem we have been having. 我想知道是否有人可以提供任何信息来帮助我们解决所遇到的问题。
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.
旧应用仍然可用,因此我们有多个apk场景。
The old app has compatibility for screens described in the manifest as small, normal, large and xlarge. 旧版应用程序可兼容清单中所述的屏幕,分别为small,normal,large和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
(似乎没有任何密度声明)api是8+新的应用程序与清单中描述的屏幕具有兼容性:
<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>
Our api is 14+ 我们的api是14+
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. 问题是,当使用Sony Experia Z1(似乎是“大”屏幕)的客户端在商店上安装该应用程序时,他们会获得该应用程序的旧版本。
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? 您能想到的是什么使这种情况发生了吗?
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 (?) 我正在查看清单中的其他内容,例如“本地平台”,但这似乎是因为原始开发人员使用了一些NDK,而我认为那不是问题(?)
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. 另一件事是权限,据我所知,任何电话都应该能够且不应成为问题。
In the new app they are 在新应用中,它们是
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
in the old app they are 在旧版应用中
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! 如果有人能想到什么,我们将非常感谢!
You have to use the same signing keys for signing new APK file. 您必须使用相同的签名键来签署新的APK文件。 Otherwise Google Play will not consider the app as upgraded version.
否则,Google Play不会将该应用视为升级版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.