Comments (3)
Can you provide more details?
- How is ProGuard integrated in your gradle build? Is this an Android project?
- ProGuard doesn't have an eeror message "Unresolved class name error". What is the complete error message? Do you have a stack trace (gradle option
-s
)? Do you see any other differences in the ProGuard console output, compared with a working build (gradle option-i
to see details)?
from proguard.
I integrated like this,
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
I can build without any error but the issue is that when I open proguard-rules.pro then following errors occur, Unresolved class name
from proguard.
Hi @attaullahpro, this is actually an Android Studio feature and not related to ProGuard: recent versions of Android Studio include ProGuard rule support in *.pro
files https://developer.android.com/studio/releases?hl=hr#4-0-0-smart-code-shrinker-rules
from proguard.
Related Issues (20)
- Support K2 HOT 2
- Excluded directories are still being processed incorrectly
- Proguard removes method invocation, changing behaviour HOT 1
- keep rule not working with annotation nested inside class HOT 2
- CRITICAL PROGUARD BUG! Very simple code not working!
- adaptresourcefilecontents on path like package reference
- Gradle plugin keep rules are not task inputs - breaking up-to-date checking
- Anonymous Classes Inside Other Anonymous Classes Produce "Unresolved references to program class members" Warning HOT 2
- Wildcard of field type, method return type and method parameters in conditional rules can't be referenced
- java.lang.VerifyError: Bad return type
- Support for Java 22 HOT 11
- com.android.tools.r8.ResourceException: com.android.tools.r8.internal.vc: I/O exception while reading HOT 1
- Java Formats and locales do not work
- Caused by: java.lang.ClassNotFoundException: proguard.optimize.gson._OptimizedJsonWriter HOT 1
- Modular program
- ProGuard writes wrong version code in zip files
- Reproducible Build Support HOT 1
- How to find root issue relate "It appears you are missing some classes resulting in an incomplete class hierarchy" HOT 1
- Generics from interfaces are removed HOT 7
- When I use Spring Framework 6.x, I can mix up packaging normally, but the controller reports an error after running it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proguard.