Tag

ProGuard

0 views collected around this technical thread.

vivo Internet Technology
vivo Internet Technology
Nov 13, 2024 · Mobile Development

APK Size Optimization Techniques for Game Center Application

Ke Jie explains why reducing the Game Center APK—by eliminating alpha‑PNG images, unused code and resources, limiting language and density assets, disabling v1 signing, compressing images, loading native libraries on demand, shipping only 64‑bit binaries, enabling code/resource shrinking and R‑file inlining—cut size by about 31% (≈20 MB), boosting download conversion and launch performance.

APK optimizationMatrix ApkCheckerProGuard
0 likes · 14 min read
APK Size Optimization Techniques for Game Center Application
Java Tech Enthusiast
Java Tech Enthusiast
Aug 4, 2024 · Information Security

Java Code Obfuscation and Encryption with ProGuard, Xjar, and ClassFinal

The guide explains how to protect a Java core module deployed on user servers by integrating ProGuard for bytecode obfuscation, Xjar for JAR encryption, and ClassFinal for class‑file encryption, providing Maven plugin configurations, startup commands, and verification that the combined approach renders decompiled code empty or unreadable.

ClassFinalJavaMaven
0 likes · 20 min read
Java Code Obfuscation and Encryption with ProGuard, Xjar, and ClassFinal
Top Architect
Top Architect
Mar 25, 2024 · Backend Development

Design and Evaluation of Java Backend Code Protection Solutions

This article analyses the challenges of protecting intellectual property in B2B Java applications, reviews existing obfuscation and encryption tools, and proposes a lightweight Maven‑based encryption plus javaagent decryption scheme that secures both proprietary code and third‑party dependencies while keeping performance impact below five percent.

GraalVMJavaMaven
0 likes · 9 min read
Design and Evaluation of Java Backend Code Protection Solutions
Selected Java Interview Questions
Selected Java Interview Questions
Jan 30, 2024 · Backend Development

Using ProGuard, Xjar, and ClassFinal to Obfuscate and Encrypt Java JARs in Spring Boot Projects

This article explains how to protect Java server-side code from decompilation by applying ProGuard shrinking/obfuscation and Xjar/ClassFinal encryption, provides detailed Maven plugin configurations, sample pom.xml snippets, command‑line launch options, and demonstrates the resulting protected JARs with screenshots.

JavaMavenProGuard
0 likes · 22 min read
Using ProGuard, Xjar, and ClassFinal to Obfuscate and Encrypt Java JARs in Spring Boot Projects
Java Architect Essentials
Java Architect Essentials
Jan 30, 2024 · Backend Development

Using ProGuard for Java Code Obfuscation in Maven Projects

This article explains how to protect Java applications from decompilation by configuring a ProGuard file and adding the ProGuard Maven plugin, then building the project to generate an obfuscated JAR, complete with step‑by‑step instructions and sample configuration code.

BuildJavaMaven
0 likes · 5 min read
Using ProGuard for Java Code Obfuscation in Maven Projects
Java Architect Essentials
Java Architect Essentials
Nov 15, 2023 · Backend Development

Java Compilation, Decompilation, and Obfuscation Using ProGuard and Maven

This article explains Java compilation and decompilation basics, introduces the JD‑GUI decompiler, and provides a step‑by‑step guide to protect Java applications by configuring ProGuard and integrating it into a Maven build, including sample configuration files and common pitfalls.

CompilationJavaMaven
0 likes · 8 min read
Java Compilation, Decompilation, and Obfuscation Using ProGuard and Maven
Code Ape Tech Column
Code Ape Tech Column
Sep 18, 2023 · Information Security

Java Code Obfuscation with ProGuard: Configuration and Maven Integration

This article explains how to protect Java applications from reverse engineering by using ProGuard for code obfuscation, detailing the creation of a proguard.cfg file, Maven plugin configuration, and the build process to generate an obfuscated JAR.

JavaMavenProGuard
0 likes · 7 min read
Java Code Obfuscation with ProGuard: Configuration and Maven Integration
Architect's Tech Stack
Architect's Tech Stack
Nov 21, 2022 · Backend Development

How to Obfuscate Java Projects Using ProGuard and Maven

This guide explains Java compilation basics, the need for code obfuscation, provides a complete ProGuard configuration file, shows how to integrate the ProGuard Maven plugin into a pom.xml, and demonstrates building an obfuscated JAR with Maven.

JavaMavenProGuard
0 likes · 7 min read
How to Obfuscate Java Projects Using ProGuard and Maven
Sohu Tech Products
Sohu Tech Products
Nov 17, 2022 · Information Security

How to Obfuscate Java Projects Using ProGuard and Maven

This article explains the concepts of Java compilation and decompilation, introduces code obfuscation with ProGuard, and provides step‑by‑step Maven configuration to protect Java applications from reverse engineering, including sample configuration files and build commands.

Build ToolsJavaMaven
0 likes · 7 min read
How to Obfuscate Java Projects Using ProGuard and Maven
Code Ape Tech Column
Code Ape Tech Column
Nov 17, 2022 · Information Security

Java Code Obfuscation with ProGuard: A Step‑by‑Step Guide

This article explains how Java source files are compiled into class files, how they can be decompiled, and provides a detailed, code‑rich tutorial on protecting a Spring Boot project by configuring ProGuard through a proguard.cfg file and Maven plugin to produce an obfuscated JAR.

Backend DevelopmentJavaMaven
0 likes · 7 min read
Java Code Obfuscation with ProGuard: A Step‑by‑Step Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 28, 2022 · Mobile Development

Inlining R Files for Android Package Size Optimization

This article explains how Android developers can reduce APK size by inlining R files, detailing the generation of R.java and R.txt, the causes of oversized R files, and step‑by‑step bytecode transformation techniques using ASM to replace resource ID lookups with constant values.

GradleProGuardandroid
0 likes · 11 min read
Inlining R Files for Android Package Size Optimization
Baidu Geek Talk
Baidu Geek Talk
Jul 18, 2022 · Mobile Development

Baidu App APK Size Optimization: Fundamentals, Tools, and Practices

The article explains why reducing APK size improves download conversion and performance, then details a systematic, divide‑and‑conquer approach for Baidu App that trims Dex, resources, native libraries and ZIP overhead using tools such as R8, AndResGuard, ByteX, Booster and AGP, achieving a reduction from roughly 123 MB to 115 MB with up to 6 MB saved per batch and outlining plans to open‑source the utilities.

APK optimizationDexProGuard
0 likes · 17 min read
Baidu App APK Size Optimization: Fundamentals, Tools, and Practices
JD Retail Technology
JD Retail Technology
Jun 1, 2022 · Mobile Development

Migrating JD Android App to R8: Obfuscation Rules, v1 Signing Issues, and Build Process Pitfalls

This article details JD's Android app migration to the R8 compiler, explains differences between ProGuard and R8, analyzes the impact of the -useuniqueclassmembernames rule, addresses v1 signing loss after AGP 3.6.4 upgrade, and provides practical solutions for build‑process ordering and packaging pitfalls.

AGPBuild OptimizationProGuard
0 likes · 23 min read
Migrating JD Android App to R8: Obfuscation Rules, v1 Signing Issues, and Build Process Pitfalls
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.

APKDexProGuard
0 likes · 20 min read
Baidu App APK Size Optimization: Principles, Tools, and Implementation
Sohu Tech Products
Sohu Tech Products
Jun 16, 2021 · Mobile Development

Android Code Obfuscation: ProGuard, R8, D8 and Build Process Deep Dive

This article provides a comprehensive guide to Android code obfuscation, covering the purpose and benefits of minification, detailed ProGuard/R8 configuration, resource shrinking, desugaring, D8/R8 internals, custom obfuscation dictionaries, and modular ProGuard rules for multi‑module projects.

D8GradleMobile Development
0 likes · 23 min read
Android Code Obfuscation: ProGuard, R8, D8 and Build Process Deep Dive
Sohu Tech Products
Sohu Tech Products
Apr 7, 2021 · Mobile Development

Android Code Obfuscation: ProGuard vs R8 and Configuration Guide

This article explains Android code obfuscation, compares ProGuard and R8, details their four core functions, shows how to enable or disable them via Gradle settings, discusses ProGuard rule syntax and sources, and provides best practices for modular projects and componentized obfuscation.

Build ToolsDexGradle
0 likes · 12 min read
Android Code Obfuscation: ProGuard vs R8 and Configuration Guide
Hujiang Technology
Hujiang Technology
Jun 22, 2017 · Mobile Development

Elegant Kotlin‑Java Mixed Programming for Android Projects

This article explains how to smoothly integrate Kotlin and Java in Android development, covering IDE conversion, class handling, ProGuard pitfalls, library considerations, calling conventions, keyword conflicts, static methods, package‑level functions, and null‑safety with practical code examples.

JavaKotlinMobile Development
0 likes · 9 min read
Elegant Kotlin‑Java Mixed Programming for Android Projects
Tencent Music Tech Team
Tencent Music Tech Team
Apr 28, 2016 · Mobile Development

Understanding and Using EventBus 3 in Android: Setup, Core Architecture, Index Acceleration, and Best Practices

EventBus 3 provides a lightweight publish/subscribe framework for Android that simplifies inter‑module communication by allowing any object to be posted and received via @Subscribe methods, with optional index acceleration for faster registration, customizable thread modes, and guidance on setup, ProGuard rules, pitfalls, and alternatives.

EventBusIndexingObserver Pattern
0 likes · 22 min read
Understanding and Using EventBus 3 in Android: Setup, Core Architecture, Index Acceleration, and Best Practices