APK安装失败:Error: Failed to parse APK file: /data/local/tmp/File_Manager_Plus.apk
Exception occurred while executing:
java.lang.IllegalArgumentException: Error: Failed to parse APK file: /data/local/tmp/File_Manager_Plus.apk
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:471)
at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169)
at android.os.ShellCommand.exec(ShellCommand.java:104)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22135)
at android.os.Binder.shellCommand(Binder.java:881)
at android.os.Binder.onTransact(Binder.java:765)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4892)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4166)
at android.os.Binder.execTransactInternal(Binder.java:1021)
at android.os.Binder.execTransact(Binder.java:994)
Caused by: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/local/tmp/File_Manager_Plus.apk
at android.content.pm.PackageParser.parseApkLiteInner(PackageParser.java:1597)
at android.content.pm.PackageParser.parseApkLite(PackageParser.java:1582)
at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:464)
... 10 more
临时文件/tmp/File_Manager_Plus.apk已清理
按任意键继续...
其它几个内置的 APK 安装都正常,只有这个不行:
请输入选项的序号(输入q退出): 14 --2024-02-20 18:08:39-- https://github.com/wukongdaily/tvhelper/raw/master/apks/File_Manager_Plus.apk Resolving github.com... 20.205.243.166 Connecting to github.com|20.205.243.166|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/wukongdaily/tvhelper/master/apks/File_Manager_Plus.apk [following] --2024-02-20 18:08:39-- https://raw.githubusercontent.com/wukongdaily/tvhelper/master/apks/File_Manager_Plus.apk Resolving raw.githubusercontent.com... 0.0.0.0 Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected. ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'O=OpenWrtF1538897CFFDB557,CN=OpenWrt,L=None,ST=Somewhere,C=ZZ': Self-signed certificate encountered. ERROR: certificate common name 'OpenWrt' doesn't match requested host name 'raw.githubusercontent.com'. To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'. 正在推送和安装apk,请耐心等待... ..
APK安装失败:Error: Failed to parse APK file: /data/local/tmp/File_Manager_Plus.apk
Exception occurred while executing: java.lang.IllegalArgumentException: Error: Failed to parse APK file: /data/local/tmp/File_Manager_Plus.apk at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:471) at com.android.server.pm.PackageManagerShellCommand.runInstall(PackageManagerShellCommand.java:1060) at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:169) at android.os.ShellCommand.exec(ShellCommand.java:104) at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:22135) at android.os.Binder.shellCommand(Binder.java:881) at android.os.Binder.onTransact(Binder.java:765) at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4892) at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:4166) at android.os.Binder.execTransactInternal(Binder.java:1021) at android.os.Binder.execTransact(Binder.java:994) Caused by: android.content.pm.PackageParser$PackageParserException: Failed to parse /data/local/tmp/File_Manager_Plus.apk at android.content.pm.PackageParser.parseApkLiteInner(PackageParser.java:1597) at android.content.pm.PackageParser.parseApkLite(PackageParser.java:1582) at com.android.server.pm.PackageManagerShellCommand.setParamsSize(PackageManagerShellCommand.java:464) ... 10 more 临时文件/tmp/File_Manager_Plus.apk已清理 按任意键继续...