我正在尝试使用相机从我的应用程序内部捕获图像后预览图像,我确定路径不为空,但我在这行代码中收到此错误Bitmap bitmap = BitmapFactory.decodeFile(fileUri.getPath(),options);并且没有图像视图。注意:我在另一台设备(不是三星)上测试了代码并且它有效。
Bitmap bitmap = BitmapFactory.decodeFile(fileUri.getPath(),options);
android bitmap samsung-mobile
android ×1
bitmap ×1
samsung-mobile ×1