Using Crop intent Getting java.lang.SecurityException: Unable to find app for caller android.app.ApplicationThreadProxy@4266ae80

后端 未结 3 992
南方客
南方客 2020-12-30 06:09

I am using crop intent to crop the image,most of time it run fine,but sometime getting java.lang.SecurityException: Unable to find app for caller android.app.Application

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 06:37

    In my case, i was passing a byteArray of a bitmap in a intent. After seeing Roberto Lombardini's answer, I changed my code so that it could send the uri of the bitmap instead, and my problem was gone.

提交回复
热议问题