Interesting part of log is here
Code:
07-27 14:58:02.036 3127 12484 D DownloadThread: runInternal catch StopRequestException:10535 fileName= url=https://android.clients.google.com/download/by-token/AOTCm0SzFvEhPOx5qPkf_ztaVnCP3ZeJMnKQbpWrLOqyeVp3I7CsQpaGkuGUI4kUdka5UTyGKVQN8FYxWuDnvHDk1OgAK9ToRozUlbrUC4HvlSjDYUlzM9tmRA2L8JkoI4NRp6jt1WmFub1vZ2GQoC5zwqBt1WNylAk8_Mcn36hGBqlBj3WWBbHOsxKi1ydmQulYdQw1OmxxO547XFGD3ArNO7B8RlbLpzMfjdMTVCvW340A5vxEqkQ43vdVdcrW2CO4Wg48UT0vy9tu6c8vuWyB_ZDTx_FWF11DG81BlBGlD2sDSPwzqSUkOnCKv-HHWbu1UZt3xlV5mNnz-5j3TM5oztnLUMOEAPB_EQ?ssl=1&cpn=CDN3EaxgyjVE-ed6 statusInfo=FILE_ERROR(492), errorMsg=Failed to create target file /data/user/0/com.android.providers.downloads/cache/AOTCm0SzFvEhPOx5qPkf_ztaVnCP3ZeJMnKQbpWrLOqyeVp3I7CsQpaGkuGUI4kUdka5UTyGKVQN8FYxWuDnvHDk1OgAK9ToRozUlbrUC4HvlSjDYUlzM9tmRA2L8JkoI4NRp6jt1WmFub1vZ2GQoC5zwqBt1WNylAk8_Mcn36hGBqlBj3WWBbHOsxKi1ydmQulYdQw1OmxxO547XFGD3ArNO7B8RlbLpzMfjdMTVCvW340A5vxEqkQ43vdVdcrW2CO4Wg48UT0vy9tu6c8vuWyB_ZDTx_FWF11DG81BlBGlD2sDSPwzqSUkOnCKv-HHWbu1UZt3xlV5mNnz-5j3TM5oztnLUMOEAPB_EQ.bin msg=open failed: ENAMETOOLONG (File name too long)
Do you use 2 steps authentication for Google account..? try disable it or enable if dont..
also try clear Google Play and Downloads app data and reboot...
I've already posted that - the similar issue is in my logs:
I've tried to use another (new) google account - and the problem dissapeared - that makes me think the issue is on google (not a dvice) side.
The way google play donloads the file is slightly different in new account:
Working (new account)
07-26 09:05:09.884 6778 17449 D DownloadThread: in runInternal, Download mId=16 uri=
https://android.clients.google.com/market/download/Download?packageName=com.pluscubed.matlog&versionCode=6&ssl=1&token=
07-26 09:05:11.298 6778 17449 D DownloadThread: runInternal 16 finished with status
SUCCESS
Not working (primary account)
07-26 09:23:27.304 7287 15080 D DownloadThread: in runInternal, Download mId=16 uri=
https://android.clients.google.com/download/by-token/
07-26 09:23:28.654 7287 15080 D DownloadThread: runInternal catch StopRequestException:16 fileName= url=
https://android.clients.google.com/download/by-token/..... statusInfo=FILE_ERROR(492),
errorMsg=Failed to create target file /data/user/0/com.android.providers.downloads/cache/....
msg=
File name too long
Somehow in new account the download method is slightly different.
It looks the issue happens - since the DownloadThread uses the token to create the filename - and token is too long (~400 bytes - while ext handles names up to 255 chars).
Is the DownloadThread some MIUI specific code or rather android provided ?
Found the code at :
android /
platform /
packages /
providers /
DownloadProvider / .
.. /
. /
src/
com /
android /
providers /
downloads / DownloadThread.java