Code Monkey home page Code Monkey logo

Comments (3)

EricLafortune avatar EricLafortune commented on May 18, 2024

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.

imattaullah avatar imattaullah commented on May 18, 2024

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.

mrjameshamilton avatar mrjameshamilton commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.