Closed lvtanxi closed 8 years ago
你好,
能否放上你的完整调用代码,以及图片的具体信息?方便我定位问题。
` @Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == RESULT_OK && requestCode == PhotoPicker.REQUEST_CODE && data != null) {
List
}
}`
选择的图片的尺寸,大小也放上来下
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference