Android Studio + Firebase = 错误无法测量 fs-verity

问题描述 投票:0回答:1

我尝试在 Android Studio、Kotlin/Jetpack Compose 上使用 firebase 进行登录。 我从该教程中学到: https://www.youtube.com/watch?v=zCIfBbm06QM&t=164s 最后我有错误:

Failed to measure fs-verity, errno 1: /data/app/~~DTbDPRa5U4n9c5MexOO_ig==/com.plcoding.composegooglesignincleanarchitecture-E0mbRNKNQsRXQX-zhiqU_w==/base.apk
Failed to measure fs-verity, errno 1: /data/app/~~MPzWcvArBU1r4B1ZJLFhbA==/com.plcoding.composegooglesignincleanarchitecture-KY8QB_efXGl-1gil0c-tOA==/base.apk

enter image description here

我将其从默认更改为specjal,没有任何效果

enter image description here

我添加指纹并更新我的网络客户端 ID

enter image description here

enter image description here

在 Linux (Hyper-V) 上也有同样的错误,所以我或我的 Android Studio 上存在问题

请帮忙

Android Studio Giraffe | 2022.3.1 Patch 4\
Build #AI-223.8836.35.2231.11090377, built on November 13, 2023\
Runtime version: 17.0.6+0-b2043.56-10027231 amd64\
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.\
Windows 10 10.0\
GC: G1 Young Generation, G1 Old Generation\
Memory: 1280M\
Cores: 8\
Registry:\
external.system.auto.import.disabled=true\
ide.text.editor.with.preview.show.floating.toolbar=false\

Non-Bundled Plugins:\
com.aexyn.compose.navigation.ComposeNavigationTemplate (1.0.8)\
com.codeium.intellij (1.4.11)\
wu.seal.tool.jsontokotlin (3.7.4)\
com.jetbrains.kmm (0.8.1(223)-26)\
org.jetbrains.compose.desktop.ide (1.5.10)\
kotlin wordpress-jetpack
1个回答
0
投票

遇到类似问题:

➜  ~ adb shell
redfin:/ $ logcat | grep cpmd-
07-27 10:06:21.389  1851  2135 E VerityUtils: Failed to measure fs-verity, errno 1: /data/app/~~vAwTdL5xdjQqyQQN-MGUww==/com.android.cpmd-lehmUb7Br45Fnrhe_IlpmQ==/base.apk
  • 原因:已启用
    Google Play Protection Mechanism
    ,但应用程序未通过扫描
    • 安装Android应用程序时,弹出通知
      Google Play Protection Mechanism
      -》,但我选择
      Not scan, install directly
      • Not scan, install directly
  • 解决方案
    • 解决方案1:禁用
      Google Play Protection Mechanism
      • disable Google Play Protection Mechanism
    • 解决方案2:保持
      Google Play Protection Mechanism
      启用,但扫描并确保通过您的应用程序
© www.soinside.com 2019 - 2024. All rights reserved.