Thursday, June 2, 2016

[GUIDE] Logcat Error Reading

  • Requirements::D:D
*Catlog/Logcat app
  • How to read errors:;);)
*Force close first the app you want to logcat
*Open Catlog and set the log level to error
  • Find/Search the AndroidRuntime then the app will show this:
E - FATAL EXCEPTION: main
E - Process: com blah blah <- The app that has error
E - java.lang.RuntimeException: NoSuchFieldError blah blah <- The error of the app
E - at blah blah(java:###) <- the smali or xml where the error occurs
(java:###) <- the .line in the smali where the error is placed
  • Errors I encounted as of when I started theming::cyclops::cyclops:
NoSuchMethodError - means there is a missing .method in the smali
NoSuchFieldError - means there is a missing .field in the smali
AbstractMethodError - means there is a missing Abstract method in the smali
Content.res - means wrong ID(0x7xxxxxxxx)
Unable to start activity - means the smali address it wrong or the code you declare is wrong
  • Note:
Not yet finished, Still thinking of the errors I encountered :v
Comment below the errors you encountered that is not stated in the guide
I will include logcat reading in porting system apps

#WeAreTeamPussy

credits :

Material Modding Team
XDA
Underground
MAAaD
MAAaDR
Maximum Team
Android Matrix Team


from xda-developers http://ift.tt/1P8jgTb
via IFTTT

No comments:

Post a Comment