Coder Social home page Coder Social logo

Comments (5)

tony19 avatar tony19 commented on April 23, 2024

For starters, it looks like logback-extensions isn't in your classpath based on:

Caused by: java.lang.ClassNotFoundException: Didn't find class "ch.qos.logback.ext.loggly.LogglyAppender" on path: DexPathList[[zip file "/data/app/co.librarytest-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

Can you add the library to your classpath and retest?

from logback-extensions.

keyuraashra avatar keyuraashra commented on April 23, 2024

I am testing with Jar now, just want to add one more thing which might help. I am working on library project and I am including AAR file in main project and I have integrated logback in library project. Is there anything which cause the issue in this case as i can see its printing on base.apk with Dex?

proguard:-
-keep class ch.qos.** { ; }
-keep class org.slf4j.
* { ; }
-keepattributes *Annotation

from logback-extensions.

manvinderKalsi avatar manvinderKalsi commented on April 23, 2024

Did this ever worked. I am having a hard time getting this configured in my application.
Have to do it through in code statements and then getting error: android.os.NetworkOnMainThreadException

Is there anything i am missing?

from logback-extensions.

grote avatar grote commented on April 23, 2024

Adding this to my proguard file gets rid of the error:

-keep class ch.qos.logback.classic.android.LogcatAppender

from logback-extensions.

vijaycaimi avatar vijaycaimi commented on April 23, 2024

worked for me by adding new version of logback

from logback-extensions.

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.