[java] view plaincopy
try {
slidecontontParam = (FrameLayout.LayoutParams) slidecontont
.getLayoutParams();
} catch (Exception ex) {
StringWriter stringWriter = new StringWriter();
ex.printStackTrace(new PrintWriter(stringWriter));
Log.e("ClassActivity", "getText"
+ stringWriter.getBuffer().toString());
}
如果需要在LogCat中Filter有助于你的error信息。可以参考上边的代码!
God bless you!
阅读(2074) | 评论(0) | 转发(0) |