this is the error while downloading on some android phones Is there any code related issue?
Try this:
<?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
------------------------
-------------------
/>
Add this in Manifest below permission and above <application/>
Tag
According to the list of status codes at Wikipedia this means that:
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.
In order to fix it you have some methods:
Method 1:
Method 2:
If it doesn't work it cloud be related to the device lack of space for example.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.