无法在Android设备上安装已下载的APK-Android OS 6.0(M),7.0(N)

时间:2018-08-20 08:50:48

标签: android android-6.0-marshmallow android-7.0-nougat android-7.1-nougat

单击登录后,我将检查当前apk的版本,并与服务器apk的版本进行比较(如果不一致),我正在下载服务器apk进行安装。

它已下载并安装了适用于android N和M android OS的弹出窗口,但是在单击安装播放保护弹出窗口后,我单击了安装,但安装失败。我在应用程序发生的后台验证中有检查日志。

在日志下方检查是否刷新。

正如您所看到的那样,验证被阻止的安装之一是静默的。

我们如何摆脱这种验证过程,因此apk应该可以正常安装。

08-20 14:02:46.023 ? D/PackageManager: START_PACKAGE_INSTALL: observer{771951998}
originPath{/storage/emulated/0/apk/app-debug46.apk}

08-20 14:02:46.073 ? D/PersonaManagerService: needVerificationForPackage  
needVerificationForPackage [PACKAGE_NAME]
needVerificationForPackage return true for  at the end [PACKAGE_NAME]

08-20 14:02:46.073 ? D/PackageManager: [VERIFY] Found 2 verifiers for intent Intent { act=android.intent.action.PACKAGE_NEEDS_VERIFICATION dat=file:///storage/emulated/0/apk/app-debug46.apk typ=application/vnd.android.package-archive flg=0x10000001 } with 0 optional verifiers
[VERIFY] sendOrderedBroadcastToPendingVerifier:
PackageVerificationState{
 verifier packages=com.android.vending(10017),com.samsung.android.sm(1000),
 intent=Intent { act=android.intent.action.PACKAGE_NEEDS_VERIFICATION dat=file:///storage/emulated/0/apk/app-debug46.apk typ=application/vnd.android.package-archive flg=0x10000001 (has extras) }
 others=4, false, false, false, false, false
}
remove MCS_UNBIND message and Posting MCS_UNBIND 10 secs later

08-20 14:02:47.303 ? D/PackageManager: [MSG] PACKAGE_VERIFIED: observer{771951998}
 [VERIFY] PACKAGE_VERIFIED: 
PackageVerificationState{
verifier packages=com.android.vending(10017),com.samsung.android.sm(1000),
intent=Intent { act=android.intent.action.PACKAGE_NEEDS_VERIFICATION dat=file:///storage/emulated/0/apk/app-debug46.apk typ=application/vnd.android.package-archive flg=0x10000001 cmp=com.android.vending/com.google.android.finsky.verifier.impl.PackageVerificationReceiver (has extras) }
others=4, false, false, false, false, true
}
08-20 14:02:47.303 ? I/Finsky: [1410] com.google.android.finsky.verifier.impl.ec.a(32): Installation silently blocked for [PACKAGE_NAME]
08-20 14:02:47.313 ? I/Finsky: [1] com.google.android.finsky.verifier.impl.ez.c(173): Verification complete: id=4, package_name=[PACKAGE_NAME]

注意:请不要将此问题链接到apk安装的其他问题,我已经检查过了,情况不一样。我已经使用过文件提供程序了。

0 个答案:

没有答案