Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Bug: unable to get correct app label/name for some APKs #123

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

v2.6.10

Found out that for some APK files, it failed to get their label/name. Sometimes it returns null, so in this case I used the package name according to the docs, but it can still be wrong.

Attached here the problematic APK files:

problematic apk files.zip

This is the log from my sample of testing it on the emulator (found on emulator API 29) :

E: apk label is different for /system/app/GoogleExtShared/GoogleExtShared.apk : correct one is: Android Shared Library vs found: {7:65536}
E: apk label is different for /system/app/RcsService/RcsService.apk : correct one is: com.android.service.ims.RcsServiceApp vs found: com.android.service.ims
E: apk label is different for /system/priv-app/NetworkPermissionConfig/NetworkPermissionConfig.apk : correct one is: com.android.server.NetworkPermissionConfig vs found: com.google.android.networkstack.permissionconfig

And here's how I tested it:

https://github.com/AndroidDeveloperLB/apk-parser

EDIT: found more APKs, this time of Xiaomi Redmi 8 Android 9:

problematic apk files2.zip

Logs:

E: apk label is different for /system/priv-app/GoogleExtServices/GoogleExtServices.apk : correct one is: Android Services Library vs found: {7:131072}
E: apk label is different for /system/app/GoogleExtShared/GoogleExtShared.apk : correct one is: Android Shared Library vs found: {7:131072}
E: apk label is different for /system/priv-app/CNEService/CNEService.apk : correct one is: com.quicinc.cne.CNEService.CNEServiceApp vs found: com.quicinc.cne.CNEService
E: apk label is different for /system/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk : correct one is: com.xiaomi.micloudsdk.SdkApplication vs found: com.xiaomi.micloud.sdk
E: apk label is different for /system/app/miuisystem/miuisystem.apk : correct one is: com.miui.internal.app.SystemApplication vs found: com.miui.system
E: apk label is different for /system/app/FileExplorer_old/FileExplorer_old.apk : correct one is: com.android.fileexplorer.FileExplorerApplication vs found: com.android.fileexplorer
E: apk label is different for /system/app/SmsExtra/SmsExtra.apk : correct one is: com.miui.smsextra.internal.SmsExtraApp vs found: com.miui.smsextra
E: apk label is different for /system/app/ThemeModule/ThemeModule.apk : correct one is: miui.external.Application vs found: com.android.thememanager.module

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions