当前位置: 代码迷 >> Android >> 一个Anroid有关问题,大牛!基本异常标识为:WARN/System.err(1116): java.io.IOException: Is a direc
  详细解决方案

一个Anroid有关问题,大牛!基本异常标识为:WARN/System.err(1116): java.io.IOException: Is a direc

热度:460   发布时间:2016-05-01 21:22:15.0
一个Anroid问题,请教各位大牛!基本错误标识为:WARN/System.err(1116): java.io.IOException: Is a direc
10-15 09:45:13.088: WARN/System.err(1116): java.io.IOException: Is a directory
10-15 09:45:13.427: WARN/System.err(1116): at org.apache.harmony.luni.platform.OSFileSystem.readImpl(Native Method)
10-15 09:45:13.427: WARN/System.err(1116): at org.apache.harmony.luni.platform.OSFileSystem.read(OSFileSystem.java:118)
10-15 09:45:13.427: WARN/System.err(1116): at java.io.FileInputStream.read(FileInputStream.java:312)
10-15 09:45:13.427: WARN/System.err(1116): at java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:183)
10-15 09:45:13.427: WARN/System.err(1116): at java.io.BufferedInputStream.read(BufferedInputStream.java:346)
10-15 09:45:13.427: WARN/System.err(1116): at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
10-15 09:45:13.427: WARN/System.err(1116): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:459)
10-15 09:45:13.468: WARN/System.err(1116): at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:271)
10-15 09:45:13.468: WARN/System.err(1116): at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:296)
10-15 09:45:13.468: WARN/System.err(1116): at android.graphics.drawable.Drawable.createFromPath(Drawable.java:801)
10-15 09:45:13.468: WARN/System.err(1116): at android.widget.ImageView.resolveUri(ImageView.java:516)
10-15 09:45:13.468: WARN/System.err(1116): at android.widget.ImageView.setImageURI(ImageView.java:293)
10-15 09:45:13.468: WARN/System.err(1116): at android.widget.SimpleAdapter.setViewImage(SimpleAdapter.java:264)
10-15 09:45:13.468: WARN/System.err(1116): at android.widget.SimpleAdapter.bindView(SimpleAdapter.java:192)
10-15 09:45:13.528: WARN/System.err(1116): at android.widget.SimpleAdapter.createViewFromResource(SimpleAdapter.java:126)
10-15 09:45:13.528: WARN/System.err(1116): at android.widget.SimpleAdapter.getView(SimpleAdapter.java:114)
10-15 09:45:13.560: WARN/System.err(1116): at android.widget.AbsListView.obtainView(AbsListView.java:1294)
10-15 09:45:13.560: WARN/System.err(1116): at android.widget.ListView.measureHeightOfChildren(ListView.java:1198)
10-15 09:45:13.560: WARN/System.err(1116): at android.widget.ListView.onMeasure(ListView.java:1109)
10-15 09:45:13.560: WARN/System.err(1116): at android.view.View.measure(View.java:8171)
10-15 09:45:13.560: WARN/System.err(1116): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
10-15 09:45:13.560: WARN/System.err(1116): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
10-15 09:45:13.580: WARN/System.err(1116): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:696)
10-15 09:45:13.588: WARN/System.err(1116): at android.widget.LinearLayout.onMeasure(LinearLayout.java:306)
10-15 09:45:13.622: WARN/System.err(1116): at android.view.View.measure(View.java:8171)
10-15 09:45:13.622: WARN/System.err(1116): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:578)
10-15 09:45:13.622: WARN/System.err(1116): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:362)
10-15 09:45:13.622: WARN/System.err(1116): at android.view.View.measure(View.java:8171)
10-15 09:45:13.629: WARN/System.err(1116): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3132)
10-15 09:45:13.629: WARN/System.err(1116): at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
10-15 09:45:13.669: WARN/System.err(1116): at android.view.View.measure(View.java:8171)
10-15 09:45:13.669: WARN/System.err(1116): at android.widget.LinearLayout.measureVertical(LinearLayout.java:526)
10-15 09:45:13.669: WARN/System.err(1116): at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
10-15 09:45:13.669: WARN/System.err(1116): at android.view.View.measure(View.java:8171)
  相关解决方案