Export to GitHub

android-logging-log4j - issue #6

Does not working using ProGuard?


Posted on Jan 19, 2013 by Happy Wombat

What steps will reproduce the problem?

  1. Create an Android application using the log4j logging as you described in the documentation in the Using log4j directly section.
  2. Run the application on the phone in debug mode and the logging is working.
  3. Export the Android application using Proguard and it gives unresolvable warnings about the log4j classes (I presume that's because they are simple Java classes and not "Android Java" classes).

Any suggestions?

Thanks. Daniel

Comment #1

Posted on Mar 9, 2013 by Helpful Rabbit

If it doesn't work with Proguard, Is there any work-around to make it work? I am planning to use, but if it doesn't work with proguard, then I will be stuck. Any suggestions?

Comment #2

Posted on Mar 9, 2013 by Swift Camel

I'm very sorry for not having time to care for it yet.

In the meantime you can try to find some ProGuard config options fixing the problem. See http://proguard.sourceforge.net/index.html#manual/usage.html.

In the first week of april I will have time to fix it if it is possible or at least update the documentation.

Sorry for any inconvenience.

Comment #3

Posted on Mar 9, 2013 by Swift Camel

Can you please attach the exact warning/error message(s) of ProGuard?

Comment #4

Posted on Mar 9, 2013 by Swift Camel

You also can try to contact ProgGuard community. That is waht I will do in april if can't fix it.

Comment #5

Posted on May 17, 2013 by Swift Cat

Were you guys able to make it work? Tried all option that I can think of but doesn't seems to work.

Comment #6

Posted on Apr 27, 2014 by Swift Panda

has this been fixed?

Comment #7

Posted on May 19, 2015 by Quick Cat

Hi, Has this been fixed? Need something for proguard.

Comment #8

Posted on May 19, 2015 by Swift Camel

No, it has not been fixed, yet. Unfortunately, this project is not actively developed anymore due to lack of contributors.

Comment #9

Posted on May 19, 2015 by Quick Cat

Is there a work around?

Comment #10

Posted on May 19, 2015 by Swift Camel

I do not know, sorry.

Comment #11

Posted on May 19, 2015 by Quick Cat

Oooh! :( Thanks for the prompt replies! :)

Status: New

Labels:
Type-Defect Priority-Medium