Skip to content

Question: is it possible to inspect code of APK using this library? #21

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

For example like this website:

http://www.javadecompilers.com/

I tried to use the library to get to the dex files, hoping it's the classes, but I got Chinese/Japanese strings:

        thread{
            val appInfo = packageManager.getApplicationInfo("com.whatsapp", 0)
            val apkParser = ApkParser.create(appInfo)
            val dexFiles = apkParser.dexInfos
            for (dexInfo in dexFiles) {
                val dexClasses: Array<DexClass> = dexInfo.classes
                val dexHeader: DexHeader = dexInfo.header
                Log.d("AppLog", "")
            }
        }

image

DeobfuscationSample.zip

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