渺哥
渺哥
  • 发布:2022-10-15 00:05
  • 更新:2022-10-15 00:05
  • 阅读:221

【有偿】之前用云打包没问题,用本地打包后,在手机上能安装,在pda上不行

分类:HBuilderX

把打包好的apk放到pda设备上,然后正常安装会 提示应用未安装, 然后通过adb查看日志 发现

0-14 22:29:01.595 I/PackageManager( 1432): ==============Install PKG: com.google.android.packageinstaller ================
10-14 22:29:01.595 D/PMUtils ( 1432): allowInstall marketPKG: com.google.android.packageinstaller installPKG: com.android.simple
10-14 22:29:01.595 D/PMUtils ( 1432): Forbid Install Android App
10-14 22:29:01.596 W/PackageManager( 1432): Failed parse during installPackageLI
10-14 22:29:01.596 W/PackageManager( 1432): android.content.pm.PackageParser$PackageParserException: Forbid AOSP App
10-14 22:29:01.596 W/PackageManager( 1432): at com.android.server.pm.PackageManagerService.installPackageLI(PackageManagerService.java:15544)
10-14 22:29:01.596 W/PackageManager( 1432): at com.android.server.pm.PackageManagerService.installPackageTracedLI(PackageManagerService.java:15257)
10-14 22:29:01.596 W/PackageManager( 1432): at com.android.server.pm.PackageManagerService.-wrap26(PackageManagerService.java)
10-14 22:29:01.596 W/PackageManager( 1432): at com.android.server.pm.PackageManagerService$12.run(PackageManagerService.java:12748)
10-14 22:29:01.596 W/PackageManager( 1432): at android.os.Handler.handleCallback(Handler.java:751)
10-14 22:29:01.596 W/PackageManager( 1432): at android.os.Handler.dispatchMessage(Handler.java:95)
10-14 22:29:01.596 W/PackageManager( 1432): at android.os.Looper.loop(Looper.java:154)
10-14 22:29:01.596 W/PackageManager( 1432): at android.os.HandlerThread.run(HandlerThread.java:61)
10-14 22:29:01.596 W/PackageManager( 1432): at com.android.server.ServiceThread.run(ServiceThread.java:46)

2022-10-15 00:05 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复