Questions tagged [ucrop]
19 questions
5
votes
1 answer
java.io.FileNotFoundException open failed: ENOENT (No such file or directory)
I have a temp file that is made for creating an image from a cropping library and I can see the file in Device File Explorer but when I try to open the file I get this error:
java.io.FileNotFoundException:…

Eman
- 1,093
- 2
- 26
- 49
5
votes
3 answers
UCrop from a fragment no requestCode being sent
I am trying to use Ucrop from a fragment. The issue I am facing is that onActivityresult is not receiving requestCode == UCrop.REQUEST_CROP thus not performing the actions I need to do with the image. I have searched around for tutorials but I…

Fabrizio Mazzoni
- 1,831
- 2
- 24
- 46
3
votes
2 answers
Android Java weird UCrop permission issue
So here is something that I am just having a world of trouble understanding the issue with. Let me start by saying that I have the proper permissions settings in the manifest file. I also verify that the user has permission to access files in…

Alexis Shepard
- 63
- 1
- 7
3
votes
5 answers
Error "Program type already present: android.support.design.widget.CoordinatorLayout$Behavior" when adding new libraries
I am getting this error when I am trying to add new libraries to my project and then run my app:
Program type already present: android.support.design.widget.CoordinatorLayout$Behavior
Following are the libraries I am trying to add
implementation…

Adarsh Chaudhary
- 67
- 1
- 1
- 7
2
votes
1 answer
I want to show the cropView to small size using Ucrop Library
I tried to set ucropView size shows when begin crop start but the default aspect ratios does not give this result i want to show the ucropView like the above picture
Uri sourceUri = PIDUtility.getImgUri(source);
Uri desiUri =…

Jey Arun
- 103
- 5
1
vote
1 answer
Android - image crop not loading image
I want to cut the photo I took from the gallery or the camera. But I can't see the photo in cropping activity. It just doesn't come. I take a photo from the camera and start the cutting activity. The screen just looks like this:
Camera and…

Pehr Sibusiso
- 862
- 1
- 14
- 27
1
vote
1 answer
"PKIX path building failed" after updating to AS 3.3
This is what I get in Build tab:
* What went wrong:
Could not determine the dependencies of task ':app:compileDebugAidl'.
> Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'.
> Could not resolve…

Anton Holovin
- 5,513
- 1
- 31
- 33
1
vote
0 answers
Rotate and Tilt image horizontally and vertically using seekbar progress value
I am using UCROP library and able to rotate the image but not able to get code for tilt image horizontally and vertically, for tilt I used rotationY and rotationX on image but white spaces appears in container.
enter image description here

sumit sonawane
- 1,525
- 1
- 9
- 15
1
vote
3 answers
Ucrop onActivityMethod not working
I used below code from ucrop library and crop window is showing up.
Uri destinationUri = Uri.fromFile(new File(myContext.getCacheDir(), "IMG_" + System.currentTimeMillis()));
UCrop.of(sourceUri, destinationUri)
…

user7327850
- 229
- 5
- 15
0
votes
1 answer
Ucrop yalantis contracts kotlin camera
Hello I have to develope a program meeting the next requirements
I have to use Kotlin
I have to use Ucrop Yalantis Library
I have to use contracts
I have to crop images from picker and camera
I've been able to design the picker a crop the image but…

Monrac
- 49
- 1
- 6
0
votes
0 answers
Activity result contracts with Ucrop: cannot get crop result into app
I have an activity that is supposed to get an image from gallery and preview it before allowing the user to upload it to a database. I am using UCrop as my image cropper with Activity Result Contracts for this. The image cropper activity launches…

Adrian Njagi
- 3
- 2
0
votes
0 answers
how can we customize an crop image activity using ucrop library
I'm using an implementation 'com.github.yalantis:ucrop:2.2.2' library for cropping purposes
Can anyone tell how can we edit this above design? can we make a custom design (UI) for this?
Because the above UI is default when selecting image from…

IRON MAN
- 191
- 3
- 18
0
votes
1 answer
open failed: ENOENT Android R
open failed: ENOENT (No such file or directory)
Already added manifests, Because Environment.getExternalStorageDirectory() is deprecated on Android R.if I change that to getExternalFilesDir() the path is going to the app directory, not to…

James
- 235
- 1
- 2
- 10
0
votes
1 answer
Receive two requestCode == UCrop.REQUEST_CROP in onActivityResult?
I am using a uCrop library, to perform image cropping.
I need to cut two different images in the same activity. But with the code I have, the return is falling into a single loop.
How could I separate this return, to treat it…

TiagoIB
- 439
- 7
- 25
0
votes
1 answer
Ucrop activity skips with camera image :Android
I used Ucrop to crop an image from camera, but the activity skips. Here is my MainActivity.java file. I think i'm missing something. My code is little bit longer, please take a look. Thanks in advance.
package…

Sathwik Gangisetty
- 268
- 5
- 17