coomar2841 / android-multipicker-library

Android Multipicker Library
Apache License 2.0
439 stars 107 forks source link

Crash on device Huawei MediaPad T1-701u after takepicture and select #108

Open thanhtrungng opened 7 years ago

thanhtrungng commented 7 years ago

I'm take picture OK but when I select image is crash. Please help me, thank you very much!

Log

E/AndroidRuntime(7915): java.lang.SecurityException: Permission Denial: opening provider com.kbeanie.multipicker.utils.AMPFileProvider from ProcessRecord{42337fc8 7915:com.huawei.camera/u0a39} (pid=7915, uid=10039) that is not exported from uid 10089 E/AndroidRuntime(7915): at android.os.Parcel.readException(Parcel.java:1475) E/AndroidRuntime(7915): at android.os.Parcel.readException(Parcel.java:1429) E/AndroidRuntime(7915): at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:2888) E/AndroidRuntime(7915): at android.app.ActivityThread.acquireProvider(ActivityThread.java:4771) E/AndroidRuntime(7915): at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2315) E/AndroidRuntime(7915): at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1459) E/AndroidRuntime(7915): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:916) E/AndroidRuntime(7915): at android.content.ContentResolver.openOutputStream(ContentResolver.java:679) E/AndroidRuntime(7915): at android.content.ContentResolver.openOutputStream(ContentResolver.java:655) E/AndroidRuntime(7915): at com.huawei.camera.util.ActivityUtil.openOutputStream(ActivityUtil.java:72) E/AndroidRuntime(7915): at com.huawei.camera.util.ActivityUtil.writeDataToUri(ActivityUtil.java:81) E/AndroidRuntime(7915): at com.huawei.camera.ui.page.ReviewPage.handlePhotoDataResult(ReviewPage.java:117) E/AndroidRuntime(7915): at com.huawei.camera.ui.page.ReviewPage.doReturnToCaller(ReviewPage.java:107) E/AndroidRuntime(7915): at com.huawei.camera.ui.page.ReviewPage.access$000(ReviewPage.java:33) E/AndroidRuntime(7915): at com.huawei.camera.ui.page.ReviewPage$1.onClick(ReviewPage.java:49) E/AndroidRuntime(7915): at android.view.View.performClick(View.java:4449) E/AndroidRuntime(7915): at android.view.View$PerformClick.run(View.java:18483) E/AndroidRuntime(7915): at android.os.Handler.handleCallback(Handler.java:733) E/AndroidRuntime(7915): at android.os.Handler.dispatchMessage(Handler.java:95) E/AndroidRuntime(7915): at android.os.Looper.loop(Looper.java:136) E/AndroidRuntime(7915): at android.app.ActivityThread.main(ActivityThread.java:5398) E/AndroidRuntime(7915): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(7915): at java.lang.reflect.Method.invoke(Method.java:515) E/AndroidRuntime(7915): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864) E/AndroidRuntime(7915): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:680) E/AndroidRuntime(7915): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager(671): Force finishing activity com.huawei.camera/.ThirdCamera V/WindowManager(671): Pausing WindowToken AppWindowToken{42e533f8 token=Token{421ca6c8 ActivityRecord{4239ed20 u0 com.huawei.camera/.ThirdCamera t12}}} D/JLOG38(671): #IT:27#LF:res/layout/alert_dialog_emui.xml#LT:android/LinearLayout#T:1118369 I/PhoneStatusBar(794): hw_status_bar_operators = true, setSystemUIVisibily(SHOW_OPERATOR = false) D/WindowManager(671): Input focus has changed to Window{426ddf88 u0 Application Error: com.huawei.camera} D/gralloc.sc8830(197): alloc buffer start w:400 h:180 format:0x1 usage:0x933 D/gralloc.sc8830(197): get vadress:0xb4767000 size:0x46500 ion_hnd:0x0 D/gralloc.sc8830(197): alloc buffer end handle:0xb78356f4 ion_hnd:0x14 D/PowerManagerService(671): mDisplayPowerController = com.android.server.power.DisplayPowerController@42576248 D/PowerManagerService(671): mDisplayPowerController = com.android.server.power.DisplayPowerController@42576248 I/sensor_drv_u(201): L 2605, Sensor_Ioctl: SENSOR: Sensor_Ioctl -> cmd = 36, arg = 0xb2c43d6c. D/StatusBar.NetworkController(794): refreshViews !mDataConnected E/dalvikvm(7787): heapsize Dalvik_dalvik_system_VMRuntime_nativeMinimumHeapSize 4194304 E/dalvikvm(7787): heapsize dvmMinimumHeapSize 4194304 E/dalvikvm(7787): heapsize dvmMinimumHeapSize set minimumSize 4194304 E/dalvikvm(7787): heapsize Dalvik_dalvik_system_VMRuntime_nativeMinimumHeapSize 4194304 E/dalvikvm(7787): heapsize dvmMinimumHeapSize 4194304 E/dalvikvm(7787): heapsize dvmMinimumHeapSize set minimumSize 4194304 W/ActivityManager(671): Activity pause timeout for ActivityRecord{4239ed20 u0 com.huawei.camera/.ThirdCamera t12 f}

This Device

https://www.thegioididong.com/may-tinh-bang/huawei-mediapad-t1-701u