Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android java.lang.reflect.UndeclaredThrowableException #390

Open
yomigatz opened this issue Apr 25, 2018 · 5 comments
Open

Android java.lang.reflect.UndeclaredThrowableException #390

yomigatz opened this issue Apr 25, 2018 · 5 comments

Comments

@yomigatz
Copy link

Android java.lang.reflect.UndeclaredThrowableException

报错:行代码是===》》》 getTakePhoto().onActivityResult(requestCode, resultCode, data);

@longxuewei
Copy link

你好, 你解决这个问题了吗? 我也是这个问题。 。

@hangker
Copy link

hangker commented May 3, 2018

Uri uriForFile = FileProvider.getUriForFile(this, "com.xxxx.android", file);

@godoge
Copy link

godoge commented May 26, 2018

我的解决办法是把自己的provider标签的authorities属性值改成${applicationId}.fileprovider即可

@yisan
Copy link

yisan commented Jul 9, 2018

请看我的解决方法:https://www.jianshu.com/p/e1dac53baf82

@taiji1
Copy link

taiji1 commented Mar 12, 2020

将takePhoto.onPickFromDocumentsWithCrop(imageUri, getCropOptions());
替换成takePhoto.onPickFromGalleryWithCrop(imageUri, getCropOptions());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants