【发布时间】:2017-08-22 02:35:05
【问题描述】:
我正在尝试在 AviaryIntent.Builder 的帮助下编辑图像 它在 6.0 之前工作正常,但在 7.0 中应用程序崩溃
Intent newIntent = new AviaryIntent.Builder(this)
.setData(Uri.parse(photoItem.getFilePath()))
.withOutput(Uri.fromFile(mEditingPhotoFile))
.saveWithNoChanges(false)
.withOutputFormat(Bitmap.CompressFormat.JPEG)
.withOutputSize(MegaPixels.Mp30)
.withOutputQuality(100)
.withVibrationEnabled(true)
.build();
startActivityForResult(newIntent, REQUEST_EDIT_PHOTO);
overridePendingTransition(R.anim.modal_activity_open_enter, R.anim.modal_activity_open_exit);
它正在崩溃 startActivityForResult(newIntent, REQUEST_EDIT_PHOTO);
【问题讨论】:
-
崩溃日志或堆栈跟踪会有所帮助。
-
应用程序只需关闭并在 android 监视器中没有错误,而不是在运行中
标签: android