这是在某些Android手机上下载时的错误 有代码相关的问题吗?
答案 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:
方法2:
例如,如果它不起作用,则可能与设备空间不足有关。