Code Monkey home page Code Monkey logo

Comments (6)

ajalt avatar ajalt commented on May 23, 2024

That is strange, I've never seen that before. I include in the reprint aar the following proguard rules for the spass module:

-dontwarn com.samsung.**
-keep class com.samsung.** {*;}

If you are using the jar dependency, you wouldn't have those. I'd suggest making sure you are using the AARs in your gradle script. You could also try manually adding those proguard rules. Make sure you do a clean build.

from reprint.

MFlisar avatar MFlisar commented on May 23, 2024

I know those proguard rules, I suggested them ;-).

I'm using the @aars and my own proguard file still has the proguard rules as well.

Since my last release build, I did following:

  • updated support library 23.4.0 => 24.2.0
  • updated build tools from 23.?.? => 24.0.0 (used the latest of v23)
  • updates target sdk from 23 => 24
  • updated gradle build tools from 2.1.2 => 2.1.3
  • updated gradle from ? => 2.14.1 (used the latest that was common before)
  • enabled instant run

I am not sure why it's not working anymore now. Maybe instant run or something with the newer gradle version? I tried a few things but could not find any work around yet. Any other ideas?

from reprint.

ajalt avatar ajalt commented on May 23, 2024

You could rule out instant run and Android Studio by doing your project's equivalent to ./gradlew clean assembleRelease from the command line.

from reprint.

ajalt avatar ajalt commented on May 23, 2024

I just built a release build successfully using all the latest build tools, target sdk, and support libraries. I also see the warning about broken class files, but only from the lint task. Do the errors you're seeing prevent the app from building or working, or is it just that lint won't run on the spass jars?

from reprint.

MFlisar avatar MFlisar commented on May 23, 2024

My fault... I could build my project now, I oversaw one warning...

You're right, those broken class file? lines don't break the release build...

I've just never seen this lines before (I think, proguard problems occur every now and then and I'm looking through all lines then and never saw this error before)...

from reprint.

ajalt avatar ajalt commented on May 23, 2024

I haven't seen those warning before either; I think they must have started showing up as a result of one of the newer libraries or build tools. Good to know that everything still works, though. Let me know if it causes any problems.

from reprint.

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.