Closed GoogleCodeExporter closed 9 years ago
Do you have a log4j.xml in your classpath? if so, try to remove it
Original comment by rolf.kul...@gmail.com
on 23 Apr 2012 at 1:55
I do not have this file.
Original comment by gethot.c...@gmail.com
on 23 Apr 2012 at 2:43
Attachments:
Ok. Also make sure, that no other used libs ship log4j.xml and please tell me
which version of the log4j lib u are using.
Original comment by rolf.kul...@gmail.com
on 23 Apr 2012 at 3:15
Android: android-logging-log4j-1.0.2.jar
Apache: log4j-1.2.16.jar
these are the libs I'm using
Original comment by gethot.c...@gmail.com
on 23 Apr 2012 at 3:39
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$18) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$19) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$2) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$20) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$21) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$22) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$23) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$24) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$25) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$26) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$27) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$28) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$29) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$30) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$31) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$32) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$4) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$5) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$6) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$7) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$8) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogBrokerMonitor$9) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogFactor5ErrorDialog$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogFactor5InputDialog$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogFactor5InputDialog$2) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.LogFactor5InputDialog$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerModel$1) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryExplorerTree$1) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$1) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$2) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$3) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$4) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$5) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$6) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$7) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.lf5.viewer.categoryexplorer.CategoryNodeEditor$8) that
doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:17 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.net.SMTPAppender$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:18 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.xml.DOMConfigurator$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:18 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.xml.DOMConfigurator$2) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:18 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.xml.DOMConfigurator$3) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:18 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.xml.DOMConfigurator$4) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:18 - Teste] Dx warning: Ignoring InnerClasses attribute for
an anonymous inner class
(org.apache.log4j.xml.DOMConfigurator$5) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2012-04-23 13:35:18 - Teste] ------------------------------
[2012-04-23 13:35:18 - Teste] Android Launch!
[2012-04-23 13:35:18 - Teste] adb is running normally.
[2012-04-23 13:35:18 - Teste] Performing teste.portal.Main activity launch
[2012-04-23 13:35:18 - Teste] Automatic Target Mode: launching new emulator
with compatible AVD 'Teste'
[2012-04-23 13:35:18 - Teste] Launching a new emulator with Virtual Device
'Teste'
[2012-04-23 13:35:23 - Teste] New emulator found: emulator-5554
[2012-04-23 13:35:23 - Teste] Waiting for HOME ('android.process.acore') to be
launched...
Original comment by gethot.c...@gmail.com
on 23 Apr 2012 at 4:38
Hello
I can not identify the moment in which the configuration class is called. For
example I created a class within a package but do not see where it is called.
Sorry for bad English.
Original comment by gethot.c...@gmail.com
on 23 Apr 2012 at 6:21
I will test it myself these days again. Please be patient. I think I have time
at the weekend. Sorry.
Original comment by rolf.kul...@gmail.com
on 24 Apr 2012 at 6:59
I appreciate your good will, thank you. I'll be waiting for your views on the
matter.
Thank you!
Original comment by will...@developweb.com.br
on 27 Apr 2012 at 7:53
I had some further looks now. Unfortunately, my provided example is not very
good. I updated the main project page example to fix this issue.
You should refactor your ConfigureLog4J class as described in the fixed
example. That means you have to introduce a method hwere tthe code from static
block should be moved. Thean call tha method from within your activity code.
Simply placing the class in the class will not work properly, since the Android
JVM will only load - and execute the static code block - if the class is used
somewhere.
I hope that helps.
Original comment by rolf.kul...@gmail.com
on 29 Apr 2012 at 11:50
I haven't heard anything yet. I close the issue.
Original comment by rolf.kul...@gmail.com
on 5 May 2012 at 8:37
Original comment by rolf.kul...@gmail.com
on 23 Jun 2012 at 5:28
I'm also getting this issue. I've searched around and they say it's because
log4j wasn't compiled with a compiler that's compatible with DalvikVM. Are you
able to replicate this issue? I tried to follow your instructions in comment
#9, but I couldn't understand what you were talking about. I'm using
log4j-1.2.17. Thanks and I look forward to your reply!
Original comment by penaf...@gmail.com
on 19 Sep 2012 at 3:22
In comment 9 I just said, that I updated the sample on the project's homepage.
Maybe u can attach your code showing how you initialize the log4j system.
Original comment by rolf.kul...@gmail.com
on 19 Sep 2012 at 11:37
Thanks for your quick reply. I've created a sample project here.
https://github.com/RestlessThinker/android-log4j-prototype
Be sure to watch the console in Eclipse and not the LogCat as it does not show
up in LogCat. Thanks again and I look forward to your reply!
Original comment by penaf...@gmail.com
on 19 Sep 2012 at 4:34
I will have a look at the weekend.
Original comment by rolf.kul...@gmail.com
on 21 Sep 2012 at 7:40
After a first look, I think your code is correct. I will now try to run your
example and see if I can get the same outputs.
A question: Beside the ugly outputs, does the log4j system operate fine while
your app is running? As far as I can see, the outputs are only warnings and
should not be harmful.
Original comment by rolf.kul...@gmail.com
on 22 Sep 2012 at 8:03
Ok, I see what you mean. I think we can not do anything about those warning
messages. And, IMHO, using a DalvikVM won't help, since Log4J uses some classes
e.g. java.beans package, which are not supported by Android.
That is the reason why the project android-logging-log4j is existing. Also see
http://mindpipe.blogspot.de/2011/11/android-log4j-exception-properties.html
So, I think we have to live with those warnings in Eclipse console.
Original comment by rolf.kul...@gmail.com
on 22 Sep 2012 at 9:01
Thank you for looking into it!
Original comment by penaf...@gmail.com
on 2 Oct 2012 at 6:26
i have problem the same.I try trial very solution but not successfull .
Somebody can help me resolve this problem !
Thank you very much !
ps: My project use library : quickblow.jar and asmark-android-7.jar
Original comment by anhson.d...@gmail.com
on 19 Feb 2013 at 4:39
Original issue reported on code.google.com by
gethot.c...@gmail.com
on 23 Apr 2012 at 1:49