Tag

APK

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Apr 22, 2025 · Mobile Development

Using ADB to Install, Uninstall, List, Start, and Stop Android Apps

This guide explains how to use Android Debug Bridge (ADB) commands to install and uninstall APKs, list installed packages, and start or stop applications on a connected device, providing essential tools for mobile developers and testers.

ADBAPKAndroid
0 likes · 3 min read
Using ADB to Install, Uninstall, List, Start, and Stop Android Apps
Python Programming Learning Circle
Python Programming Learning Circle
Mar 30, 2024 · Mobile Development

Developing Python Mobile Apps with Kivy and Buildozer: Installation, First App, and Packaging

This guide explains how to set up Kivy on macOS and Linux, create a simple Python hello‑world mobile app, test it, install and use Buildozer to package the app into an Android APK, and troubleshoot common build issues, providing full command‑line examples and code snippets.

APKBuildozerKivy
0 likes · 11 min read
Developing Python Mobile Apps with Kivy and Buildozer: Installation, First App, and Packaging
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 2, 2024 · Mobile Development

Android APK Size Optimization: Removing Duplicate Resources and Image Compression with a Gradle Plugin

This article explains how the Android resources.arsc file is generated, identifies the problem of duplicate and uncompressed image resources in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources, compress images using pngquant, guetzli and cwebp, and repack the .ap_ files, resulting in significant APK size reduction.

APKAndroidGradle Plugin
0 likes · 10 min read
Android APK Size Optimization: Removing Duplicate Resources and Image Compression with a Gradle Plugin
Python Programming Learning Circle
Python Programming Learning Circle
Oct 13, 2023 · Mobile Development

How to Develop and Package a Python Kivy App for Android and iOS Using Buildozer

This guide explains how to set up the Kivy framework, write a simple Python app, install required dependencies on macOS, Linux, and CentOS, and use Buildozer to package the app into an Android APK, including troubleshooting tips for common build errors.

APKBuildozerKivy
0 likes · 10 min read
How to Develop and Package a Python Kivy App for Android and iOS Using Buildozer
JD Tech
JD Tech
Aug 16, 2023 · Mobile Development

APK Shrinking Practices for JD Finance Android App

This article details the systematic reduction of the JD Finance Android app's APK size from 117 MB to 74 MB between 2019 and 2022, covering background analysis, APK and SDK component breakdown, a series of optimization techniques—including image processing, resource inlining, compression tools, dynamic SO loading, and pluginization—plus governance, results, and future plans.

APKAndroidApp Size Optimization
0 likes · 20 min read
APK Shrinking Practices for JD Finance Android App
DeWu Technology
DeWu Technology
Jul 19, 2023 · Mobile Development

Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking

DeWu reduces its APK size by removing unused plugin resources, compressing images with WebP, Guetzli, PNGQuant and Gifsicle, deduplicating and obfuscating ARSC entries, applying 7‑zip compression, delivering large assets dynamically, and continuously cleaning unused resources through compile‑time checks and runtime scanning.

APKARSCAndroid
0 likes · 15 min read
Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking
37 Interactive Technology Team
37 Interactive Technology Team
May 8, 2023 · Information Security

Android Reverse Engineering: Process, Tools, and Code Examples

Android reverse engineering involves extracting an APK, decompiling it with tools like apktool, dex2jar, or JADX, analyzing and modifying Smali or Java code, recompiling and signing the package with jarsigner, and testing the changes, while using adb commands to retrieve the original file and emphasizing deeper analysis for robust security.

APKAPKToolAndroid
0 likes · 10 min read
Android Reverse Engineering: Process, Tools, and Code Examples
Python Programming Learning Circle
Python Programming Learning Circle
Mar 11, 2023 · Mobile Development

How to Develop and Package a Python App with Kivy and Buildozer

This tutorial explains how to set up the Kivy framework on macOS and Linux, write a simple Python hello‑world app, test the installation, install and configure Buildozer, and use it to package the app into an Android APK while addressing common build issues.

APKBuildozerKivy
0 likes · 11 min read
How to Develop and Package a Python App with Kivy and Buildozer
37 Interactive Technology Team
37 Interactive Technology Team
Sep 19, 2022 · Mobile Development

AAB+PAD Conversion and Repackaging: From Android App Bundle to APK and Back

The workflow extracts PAD assets from an AAB, builds a universal APK with bundletool, runs the legacy APK split pipeline, then reassembles a new AAB by merging the split base module with the saved PAD zip, preserving Play Asset Delivery for Google Play compliance.

AABAPKAndroid
0 likes · 9 min read
AAB+PAD Conversion and Repackaging: From Android App Bundle to APK and Back
Baidu App Technology
Baidu App Technology
Aug 2, 2022 · Mobile Development

Baidu App Android APK Resource Optimization Practices

The article details Baidu App’s third‑stage Android APK size reduction, explaining the res/ and assets structure, reviewing AGP’s OptimizeResources, ShrinkResources and new flags, and describing a custom AAPT2‑based tool that shortens paths and filenames, removes extensions, collapses names, uses sparse encoding, integrates third‑party guards and image‑compression techniques to significantly shrink the package.

AAPT2APKAndroid
0 likes · 19 min read
Baidu App Android APK Resource Optimization Practices
IT Services Circle
IT Services Circle
May 28, 2022 · Information Security

Xiaomi Engineer’s AOSP Commit to Block Shell Access to Installed APKs Rejected

An AOSP commit proposed by a Xiaomi engineer to prohibit shell extraction of installed APKs—citing potential IP leakage—was rejected after receiving only the author’s support and two opposing votes, with reviewers arguing that such restrictions are ineffective, could be bypassed, and should be handled via DRM or device‑specific policies.

AOSPAPKAndroid
0 likes · 3 min read
Xiaomi Engineer’s AOSP Commit to Block Shell Access to Installed APKs Rejected
Baidu App Technology
Baidu App Technology
Mar 17, 2022 · Mobile Development

Baidu App APK Size Optimization: Principles, Tools, and Implementation

The Baidu App team applied a systematic, sustainable approach—combining Dex, resource, and native‑library optimizations with tools such as R8, ProGuard, AndResGuard, and custom compression pipelines—to shrink the APK by several megabytes, improve download conversion, and establish reusable mechanisms for future builds.

APKAndroidDex
0 likes · 20 min read
Baidu App APK Size Optimization: Principles, Tools, and Implementation
ByteDance Terminal Technology
ByteDance Terminal Technology
Feb 17, 2022 · Mobile Development

DexInjector: Direct APK (dex) Instrumentation Tool and Technical Design

This article introduces DexInjector, a tool for directly instrumenting Android APK dex files to insert logging, performance monitoring, and third‑party hooks without recompiling, explains the underlying technical research, design choices, implementation details, handling of method limits, string jumbo, obfuscation, class conflicts, and provides code examples and workflow diagrams.

APKAndroidBytecode
0 likes · 23 min read
DexInjector: Direct APK (dex) Instrumentation Tool and Technical Design
DeWu Technology
DeWu Technology
Jan 10, 2022 · Mobile Development

APK Package Size Optimization and Monitoring Platform for Android Apps

The platform optimizes Android APK size by shrinking resources, compressing images, filtering native libraries, and applying selective byte‑code reductions, then continuously monitors package composition, trends, and business‑line usage, alerting teams to abnormal growth while preserving functionality for large‑scale apps.

APKAndroidDex
0 likes · 13 min read
APK Package Size Optimization and Monitoring Platform for Android Apps
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Oct 20, 2021 · Mobile Development

Bypassing Android dex2oat Restrictions for targetSdkVersion ≥ 29: Analysis and Implementation

This article investigates the Android dex2oat compilation restrictions introduced for targetSdkVersion ≥ 29, analyzes their impact on app performance, explores SELinux enforcement, and presents a practical solution using system commands and binder calls to trigger dex2oat compilation for both primary and secondary APKs, improving load and runtime speed.

APKAndroidCompilation
0 likes · 19 min read
Bypassing Android dex2oat Restrictions for targetSdkVersion ≥ 29: Analysis and Implementation
Beike Product & Technology
Beike Product & Technology
Mar 5, 2021 · Mobile Development

APK Size Analysis by Library Dimension Using Gradle Intermediate Files

This article describes a method for analyzing Android APK size at the library level by extracting and parsing Gradle intermediate merge files, mapping resources, assets, native libraries and Java resources to their originating libraries, and linking them to maintenance teams for precise package‑size reporting.

APKAndroidBuild Tools
0 likes · 13 min read
APK Size Analysis by Library Dimension Using Gradle Intermediate Files
360 Quality & Efficiency
360 Quality & Efficiency
Jul 24, 2020 · Mobile Development

Static Analysis of Android APK Files Using Python and Androguard

This article explains how to perform static analysis of Android APK files with Python, covering environment preparation, unpacking the APK, extracting basic metadata, analyzing classes and methods using the Androguard library, and generating a method call graph for deeper reverse‑engineering insights.

APKAndroguardAndroid
0 likes · 7 min read
Static Analysis of Android APK Files Using Python and Androguard
DevOps Cloud Academy
DevOps Cloud Academy
Jul 7, 2020 · Mobile Development

Building and Deploying the HelloWorld Android Gradle Project

This guide demonstrates how to clone the HelloWorld Android Gradle repository, build the project using Gradle, locate the generated debug and release APK files, upload them to Fir for distribution, and verify the installation, providing all necessary commands and output details.

APKAndroidBuild
0 likes · 3 min read
Building and Deploying the HelloWorld Android Gradle Project
DevOps Cloud Academy
DevOps Cloud Academy
Jul 7, 2020 · Operations

Android CI/CD Pipeline with Jenkins and Automated APK Upload to Fir.im and Pgyer

This guide explains how to configure an Android project, write Python upload scripts for Fir.im and Pgyer, create a Jenkinsfile with checkout, build, and upload stages, set up Jenkins global variables and pipeline parameters, and run a full build‑test cycle to publish APKs via QR codes.

APKAndroidCI/CD
0 likes · 6 min read
Android CI/CD Pipeline with Jenkins and Automated APK Upload to Fir.im and Pgyer