ClashForAndroid icon indicating copy to clipboard operation
ClashForAndroid copied to clipboard

[BUG] Cannot download app udpates with Google Play Store app

Open florianmonfort opened this issue 3 years ago • 16 comments

Describe the bug It is currently not possible to download any app updates through Google Play Store when Clash is enabled.

To Reproduce

  • Enable any proxy through Clash for Android;
  • Go to Google Play Store app, refresh updates;
  • Try to launch update process

Expected behavior

The download should work. But now the download is stuck.

Screenshots

Here is result from Clash with Server A. As you can see downloads are always stuck:

image

Here is result from Shadowsocks for Android with Server A. Downloads all work perfectly:

image

Device Info (please complete the following information):

  • Device: Xiaomi Mi 11
  • ROM: Official China
  • ROM Version: MIUI 12.5.5Stable RKBCNXM
  • Android Version 11
  • Google Play version: 22.8.42-21 [0] [PR]

Application Info (please complete the following information):

  • Version: 2.3.22
  • Apk File Name: From Google Play
  • Distribution Channel: Google Play

Additional context Tested that Clash works with any other app. Only Google Play seems to have this issue.

I have tried using also delete all data from Google Play Store app, didn't change anything. Also tried re-setting Clash completely, didn't change anything. Uninstall/Re-install also doesn't change anything.

Configure File is very long, not sure what to put.

Logs Paste logs to help detect problem

Logs trying to download an application in Google Play while Clash is enabled:

[clash-1621301636375.log](https://github.com/Kr328/ClashForAndroid/files/6497747/clash-1621301636375.log)

florianmonfort avatar May 18 '21 01:05 florianmonfort

try to use redir-host instead of fake-ip in dns enhanced-mode

railzy avatar May 20 '21 07:05 railzy

try to use redir-host instead of fake-ip in dns enhanced-mode

May I ask where / how can I change this setting?

florianmonfort avatar May 21 '21 01:05 florianmonfort

May I ask where / how can I change this setting?

in your profile yaml file or in the app: settings -> override -> enhanced mode -> real-ip to domain mapping

railzy avatar May 22 '21 02:05 railzy

I do have the same problem, and it haven't been solved yet.

xishizhe avatar May 22 '21 05:05 xishizhe

May I ask where / how can I change this setting?

in your profile yaml file or in the app: settings -> override -> enhanced mode -> real-ip to domain mapping

I have tried it, but it is useless😳😳😳

xishizhe avatar May 22 '21 05:05 xishizhe

May I ask where / how can I change this setting?

in your profile yaml file or in the app: settings -> override -> enhanced mode -> real-ip to domain mapping

If I try it your way, after enabling it, and then try to turn on Clash again, I get the following error:

image

florianmonfort avatar May 24 '21 10:05 florianmonfort

check the document https://github.com/Dreamacro/clash/wiki/configuration

railzy avatar May 24 '21 11:05 railzy

check the document https://github.com/Dreamacro/clash/wiki/configuration

Sorry this documentation doesn't help 🤣

I give up haha. I'll just use Shadowsocks native client for Android for Google Play Store, it works.

florianmonfort avatar May 25 '21 01:05 florianmonfort

It's MIUI(China Version)'s problem. MIUI point the Play Services' domian (services.googleapis.cn) to Google China Mainland server but this server doesn't provide any Google services. You can manually point this domain to a right server, for example Google Hong Kong server, by changing /etc/hosts, just like 142.250.66.35 services.googleapis.cn ROOT or TWRP Recovery is needed.

kirbyzhang avatar Jul 03 '21 10:07 kirbyzhang

你好还是不行

TangDaShuai666 avatar Jul 08 '21 23:07 TangDaShuai666

是 MIUI 中国版的问题。MIUI 将 Play 服务的域名(services.apis.cn)(谷歌中国大陆服务器,但应该服务器不提供任何谷歌服务。 您可以通过更改 /etc/hosts 手动域菜单正确的服务器,例如 Google 香港服务器,就像需要 142.250.66.35 services.googleapis.cn ROOT 或 TWRP Recovery一样。

你好如何修改呢?

TangDaShuai666 avatar Jul 08 '21 23:07 TangDaShuai666

是 MIUI 中国版的问题。MIUI 将 Play 服务的域名(services.apis.cn)(谷歌中国大陆服务器,但应该服务器不提供任何谷歌服务。 您可以通过更改 /etc/hosts 手动域菜单正确的服务器,例如 Google 香港服务器,就像需要 142.250.66.35 services.googleapis.cn ROOT 或 TWRP Recovery一样。

你好如何修改呢?

Use Root Explorer to edit /etc/hosts. Downloads-Settings-Close Xunlei download engine may also be helpful. After do that, you need clear Play Store's data in system settings.

kirbyzhang avatar Jul 13 '21 06:07 kirbyzhang

Update: I have noticed that using latest version of Clash, it now works on 5G, but not on Wifi. 5G will download all updates normally, but it switch to Home or Work wifi, always stops working.

florianmonfort avatar Jul 16 '21 02:07 florianmonfort

我也遇到了,无解🥲

git10135405 avatar Sep 16 '22 17:09 git10135405

我也遇到了,无解🥲

下载ssr可以进谷歌play,这是clash订阅链接转的ssr可订阅链接https://api.wcc.best/sub?target=ssr&url=https%3A%2F%2Fcdn.jsdelivr.net%2Fgh%2Flearnhard-cn%2Ffree_proxy_ss%40main%2Fclash%2Fclash.provider.yaml&insert=false

yami992 avatar Sep 16 '22 17:09 yami992

我也遇到了,无解🥲

你可以用安卓客户终端SSR那个,可以进谷歌play clash订阅链接转换成SSR可订阅的,就可以了

yami992 avatar Sep 16 '22 17:09 yami992