01-apk-edition-analyzer

Statically analyzes APK and XAPK packages to map ads SDKs, premium gates, and integrity checks.

1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/ntd237/draft_toolkits_20042026 --skill 01-apk-edition-analyzer-ntd237
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: 01-apk-edition-analyzer
Source: https://github.com/ntd237/draft_toolkits_20042026/tree/main/other-skills/apk-skills/01-apk-edition-analyzer
Command: npx skills add https://github.com/ntd237/draft_toolkits_20042026 --skill 01-apk-edition-analyzer-ntd237

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually reverse-engineering an Android APK to understand its monetization model, obfuscation level, and re-signing risks is slow and error-prone. This Skill automates deep static analysis of APK/XAPK packages and produces structured, machine-readable findings for downstream conversion workflows. ## Core Features & Use Cases - Monetization Mapping: Detects ads SDKs (AdMob, AppLovin, Unity Ads, IronSource, Pangle), feature flags, and premium gates with concrete smali evidence for each finding. - Integrity & Auth Risk Detection: Pinpoints self-signature checks, Play Integrity, SafetyNet, App Check, certificate pinning, and Google Sign-In dependencies that break after re-signing. - Structured Dual Output: Generates machine-readable analysis.json and a human-readable REPORT.md covering tech stack, obfuscation level, native libraries, and an edition guess (free vs paid) with confidence. - Use Case: You own an APK and want to know whether it is the free or premium edition and what will break if you re-sign it. Run the analyzer to get a full inventory of ad networks, premium gates, and signature checks before any modification. ## Quick Start Analyze my app.apk file to detect its edition, ads SDKs, premium gates, and re-signing risks, then produce analysis.json and REPORT.md.

Frequently Asked Questions about 01-apk-edition-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect ads SDKs inside an Android APK?▼

Decompile the APK with apktool and jadx, then grep the manifest, smali files, and resources.arsc for known ad network signatures such as com.google.android.gms.ads, com.applovin, and com.unity3d.ads. Each detection should record the file path and caller method as evidence.

How to check if an APK has premium or paid feature gates?▼

Search the decompiled smali code for BuildConfig fields, FLAVOR, IS_PREMIUM, isPro, and BillingClient references. Record the field name, default value, and the gating branch opcodes like if-eqz or if-nez that control premium access.

Does this analyzer work with XAPK files and split APKs?▼

Yes. XAPK files are extracted first, split config APKs and obb assets are listed, and the primary base.apk is selected for deep decompilation while the split layout is recorded in the output.

What breaks when re-signing an APK with a new keystore?▼

Google Sign-In fails with ApiException 10 unless the new keystore SHA-1 is added to Firebase Console. Self-signature checks, Play Integrity, SafetyNet, and Firebase App Check can also detect the signature change and block the app.

Can this tool modify or patch the APK it analyzes?▼

No. The analyzer is strictly read-only and does not modify, patch, rebuild, or re-sign the package. It only produces analysis.json and REPORT.md so a separate downstream converter can act on the findings.

How is obfuscation level determined in APK analysis?▼

Obfuscation is assessed by checking for shortened class hierarchies like smali/a/b/c.smali and apktool.yml framework markers. The result is classified as none, light, or heavy, and class names are never guessed on obfuscated code.