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

Build failure #57

Open
ffMathy opened this issue Sep 12, 2018 · 4 comments
Open

Build failure #57

ffMathy opened this issue Sep 12, 2018 · 4 comments

Comments

@ffMathy
Copy link

ffMathy commented Sep 12, 2018

Here's my build log:

:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease
:app:preBuild UP-TO-DATE
:app:preReleaseBuild
Download https://maven.google.com/com/android/support/appcompat-v7/maven-metadata.xml
Download https://maven.google.com/com/android/support/appcompat-v7/23.4.0/appcompat-v7-23.4.0.pom
Download https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml
Download https://jitpack.io/com/github/ergovia-mobile/android-transcoder/v0.1.10R_ergovia/android-transcoder-v0.1.10R_ergovia.pom
Download https://jitpack.io/com/github/ergovia-mobile/android-transcoder/v0.1.10R_ergovia/android-transcoder-v0.1.10R_ergovia.aar
:app:compileReleaseAidl
:CordovaLib:packageReleaseRenderscript NO-SOURCE
:app:compileReleaseRenderscript
:app:checkReleaseManifest
:app:generateReleaseBuildConfig
:app:prepareLintJar
:app:generateReleaseResValues
:app:generateReleaseResources
:app:mergeReleaseResources
:app:createReleaseCompatibleScreenManifests
:app:processReleaseManifest
/usr/src/app/platforms/android/app/src/main/java/info/protonet/imageresizer/ImageResizer.java:15: error: package org.apache.cordova.camera does not exist
import org.apache.cordova.camera.FileHelper;
                                ^
/usr/src/app/platforms/android/app/src/main/java/info/protonet/imageresizer/ImageResizer.java:92: error: cannot find symbol
            BitmapFactory.decodeStream(FileHelper.getInputStreamFromUriString(uriString, cordova), null, options);
                                       ^
  symbol:   variable FileHelper
  location: class ImageResizer
/usr/src/app/platforms/android/app/src/main/java/info/protonet/imageresizer/ImageResizer.java:99: error: cannot find symbol
            Bitmap unscaledBitmap = BitmapFactory.decodeStream(FileHelper.getInputStreamFromUriString(uriString, cordova), null, options);
                                                               ^
  symbol:   variable FileHelper
  location: class ImageResizer
@xgenem
Copy link

xgenem commented Sep 13, 2018

Make sure you have added the package to your project.

@SyedAliHassan90
Copy link

@ffMathy I faced the same issue. I find its solution in closed bugs.
#33 (comment)

@jfoclpf
Copy link

jfoclpf commented Aug 10, 2021

I have exactly the same error, how did you guys solved this?
My package.json declares this plugin both in dependencies and in cordova.plugins

@jfoclpf
Copy link

jfoclpf commented Aug 10, 2021

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

4 participants