Fffys
V2EX  ›  小米

MIUI 系统是否不支持 ActivityRecognition API?

  •  
  •   Fffys · Dec 1, 2024 · 1292 views
    This topic created in 557 days ago, the information mentioned may be changed or developed.

    小米 6 ,没有刷过机,安卓 9 ,API28 ,谷歌 play 版本为:24.45.34 ,没有 root ,运行 adb logcat | grep ActivityRecognition 显示:

    11-30 12:59:44.370 2103 2117 W ActivityRecognitionProxy: com.google.android.gms resolves service com.android.location.service.ActivityRecognitionProvider, but has wrong signature, ignoring 11-30 12:59:44.371 2103 2117 W ActivityRecognitionProxy: Odd, no component found for service com.android.location.service.ActivityRecognitionProvider
    

    这是不是说明是 miui 的谷歌三件套出了问题,有简单解决这个问题的方法吗?

    1 replies    2024-12-09 23:35:36 +08:00
    ysc3839
        1
    ysc3839  
       Dec 9, 2024
    没记错的话小米 6 国内版系统是没有预装 GMS 的,小米开了后门,让 GMS 安装为用户应用时也能调用一些特权 API ,但是这种做法显然是不保证稳定性的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3072 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 12:54 · PVG 20:54 · LAX 05:54 · JFK 08:54
    ♥ Do have faith in what you're doing.