cordova-plugin-image-resizer icon indicating copy to clipboard operation
cordova-plugin-image-resizer copied to clipboard

build failed Could not find exifinterface.jar

Open 3creatives opened this issue 6 years ago • 4 comments

Hi, here's my build log:

`$ cordova build android ANDROID_HOME=E:\android\Sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_161 Reading build config file: E:\movil_phonegap\indata1\build.json Reading the keystore from: E:\movil_phonegap\indata1\largekey.keystore Subproject Path: CordovaLib null The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead. at build_2a96tzvbki9m3komuie0misov.run(E:\movil_phonegap\indata1\platforms\android\build.gradle:146) org.xwalk:xwalk_core_library:23+ The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. Incremental java compilation is an incubating feature. The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

BUILD FAILED

Total time: 3.543 secs FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'android'.

Could not find exifinterface.jar (com.android.support:exifinterface:27.1.1). Searched in the following locations: https://jcenter.bintray.com/com/android/support/exifinterface/27.1.1/exifinterface-27.1.1.jar

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. (node:19588) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: cmd: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'android'.

Could not find exifinterface.jar (com.android.support:exifinterface:27.1.1). Searched in the following locations: https://jcenter.bintray.com/com/android/support/exifinterface/27.1.1/exifinterface-27.1.1.jar`

3creatives avatar Oct 24 '18 13:10 3creatives

Hi, There is a temporary fix: https://github.com/vlinde/cordova-plugin-image-resizer

iadimitriu avatar Oct 25 '18 06:10 iadimitriu

Hey.

I have the same problem. I tried to remove my plugin and to add yours @iadimitriu but i still didn't work. Do you have any idea?

image

Rlamotte avatar Oct 25 '18 14:10 Rlamotte

I think your old plugin is still there. Can you check your plugins list? When you delete the plugin you should use ionic cordova plugin rm cordova-plugin-simple-image-resizer

iadimitriu avatar Oct 25 '18 14:10 iadimitriu

it worked. Wow Thank you so much. 2 days i'm trying to keep out the cordova app our sutdent has done :D

Rlamotte avatar Oct 25 '18 15:10 Rlamotte