简单一步 , 微信登陆
打印调用栈是android平台问题定位的基本方法,如果需要知道谁在调用某个函数,可以在此函数中添加打印调用栈函数,弄清楚函数之间的调用关系。
Java层打印调用栈方法 RuntimeException here = new RuntimeException("here"); here.fillInStackTrace(); Log.w(TAG, "Called: " + this, here);
使用道具 举报