Comments (4)
Since the problem happend in the simulator I created a new simulator configuration with Android pixel 2 and SDK 26. Here the problem is gone. I also found a lot of references to "system UI has stopped" (e.g. on SOV https://stackoverflow.com/questions/15678520/android-emulator-error-system-ui-has-stopped). This leads me to believe its probably an bug in the simulator itself...
from imagepicker.
For those who faced the same problem =>
Before start lib
val builder = StrictMode.VmPolicy.Builder() StrictMode.setVmPolicy(builder.build())
from imagepicker.
@SergeyMilevskiy This is not a proper solution.
Have you overridden <provider>...</provider>
tag on AndroidManifest.xml?
provider tag is added in the library manifest file. It will auto-merge with the app manifest.
from imagepicker.
I think I have the same problem. I'm getting a "System UI has stopped".
To simulate:
- Run in simulator SDK 26
- install my app (that is using this lib) from scratch (so that no permission for camera has been received yet)
- I press button to select a new profile picture (that is when I use the lib in my app)
- The pop-up appears to select between camera - library pictures (so far so good)
- Press camera and then I briefly see the "Allow xxxx to access...." immediately overlayed by a "System UI has stopped" error message :
- Pressing [close app] in this message, just pop-up the same "System UI has stopped" message over and over again...
- If I am fast enough and press the [Allow] button on the initial message (underneath the "System UI has stopped", then pressing [close app] successfully opens the camera app
- Once the app has camera approval then all works as expected
So I guess there is an issue when pressing camera and no permission has been given yet?
In my AndroidManifest.xml I have indeed a provider section like so:
<provider
android:name="com.facebook.FacebookContentProvider"
android:authorities="@string/facebook_content_provider"
android:exported="true" />
And I did set:
android:requestLegacyExternalStorage="true" also in my manifest (targeting min 26 sdk 29)
from imagepicker.
Related Issues (20)
- https://jitpack.io/com/github/dhaval2404/imagepicker-support/1.7.1/imagepicker-support-1.7.1.pom'. Received status code 521 from server: HOT 4
- Unable to start activity ComponentInfo{halal.app.dating/com.github.dhaval2404.imagepicker.ImagePickerActivity}:
- Android 13 permissions compatibility HOT 1
- how to delete an image clicked by user which gets saved in scope storage through this dependency. Please help HOT 1
- In Android 13 ImagePicker not working. HOT 7
- How to not move the image during crop
- Image picket
- Wrong extension detection in FileUtil.getImageExtension(). OneDrive can't be used. HOT 2
- Camera not found error for OnePlus 9R device.
- App crash in Arabic Languages HOT 1
- Help me, liblary cant work on android 13 HOT 1
- Edit Photo Text
- Crash - width and height must be > 0
- Not Works On Android 13 And Api 34 HOT 4
- How to get crop position and original image?
- Crash when selecting camera HOT 4
- Access galerie from camera interface
- when opening the gallery, go to the gallery, not the file manager HOT 1
- Image Picker is not working on new version of android studio
- ImagePicker DIalog is of Same White Color.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imagepicker.