我刚刚在Playstore上上传了一个应用,但是在某些设备上下载时出错?

时间:2018-10-26 12:11:16

标签: android google-play-services

这是在某些Android手机上下载时的错误 有代码相关的问题吗?

enter image description here

2 个答案:

答案 0 :(得分:0)

尝试一下:

      <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.xxx.xxxx">

    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.Manifest.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.GET_TASKS" />

    <supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true"
        android:xlargeScreens="true" />

    <application
------------------------
-------------------
/>

在权限下方和<application/>标签上方的清单中添加此标签

答案 1 :(得分:0)

根据list of status codes at Wikipedia,这意味着:

504 Gateway Timeout
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
In other words: the culprit should neither be (on) your device, nor (at) Google Play -- but in between.

要修复它,您有一些方法:

方法1:

  • 清除数据
  • 清除Google Play商店和Google服务框架的缓存

方法2:

  • 删除您的Google帐户
  • 重新启动
  • 重新添加帐户

例如,如果它不起作用,则可能与设备空间不足有关。