Giter Site home page Giter Site logo

Proguard Setup about scissors HOT 6 CLOSED

rohanmahale avatar rohanmahale commented on July 24, 2024
Proguard Setup

from scissors.

Comments (6)

eveliotc avatar eveliotc commented on July 24, 2024

@rohanmahale your BitmapLoader class are getting obfuscated, can you confirm this works for you?:

-keepnames class com.bumptech.glide.Glide
-keepnames class com.squareup.picasso.Picasso

from scissors.

rohanmahale avatar rohanmahale commented on July 24, 2024

@eveliotc Are these the only lines I need to add to proguard?

I tried it and I get an error

Error:proguard.ParseException: Unexpected keyword 'com.bumptech.glide.Glide' in line 110 of file '/Users/rohanmahale/AndroidStudioProjects/Prism/app/proguard-rules.pro'

@eveliotc - Any idea what I'm missing here?

EDIT :

I added this line in proguard which seems to have made it work

-keep class com.bumptech.glide.**{ *; }

from scissors.

eveliotc avatar eveliotc commented on July 24, 2024

@rohanmahale you also need class keyword before classname, I've updated snippet, please let me know

from scissors.

rohanmahale avatar rohanmahale commented on July 24, 2024

@eveliotc Works perfectly now. Thanks! Could we have a proguard setup section in the README?

from scissors.

eveliotc avatar eveliotc commented on July 24, 2024

@rohanmahale I added those rules on #17 once it's deployed build process should pick up scissors' proguard rules :)

from scissors.

rohanmahale avatar rohanmahale commented on July 24, 2024

πŸ‘

from scissors.

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.