android - The logcat can't show me the Exception message -


i have 1 activiy , contain these code.

    @override     protected void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         log.e("asdasd", "asddasd");         throw new nullpointerexception(); } 

but logcat notice me this:

error opening trace file: no such file or directory (2) refusing reopen boot dex '/system/framework/hwframework.jar'
w/dalvikvm(2068): threadid=1: thread exiting uncaught exception (group=0x40e70438)

and it's warning not error.

if surround these codes try-catch,and add e.printstacktrace(); ,it can show me exception message,but still warning not error.so if don't know program throw exception, i'll can't see exception message.all project has problem ,it's terrible.

i using phone, not emulator.

please ,thanks lot.


Comments

Popular posts from this blog

matlab - How to equate a structure array to structure array -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -