Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Could not find any matches for com.adobe.creativesdk:image:4.6.3+ as no versions of com.adobe.creativesdk:image are available. #35

Description

@ikishanoza

i am using cordova cli to install this plugin
following are my system config.

C:\Users\pcq38\Desktop\signal>cordova -v
6.3.1

C:\Users\pcq38\Desktop\signal>npm -v
2.11.3

C:\Users\pcq38\Desktop\signal>node -v
v0.12.7

C:\Users\pcq38\Desktop\signal>ionic -v
2.0.0

simply i have one html file in which i call a function which takes image from camera or photo library
on success function i get the url of that selected image(the image that i need to edit) and i pass this url to plugin see below 👍

index.html
<button onclick="takeImage()">helo</a>

main.js

<script type="text/javascript">
  function gmail() {
          var imageUrl = "" // assume that image url is comeing from camera plugin
          var options = {
             outputType: CSDKImageEditor.OutputType.JPEG,
               tools: [
                 CSDKImageEditor.ToolType.EFFECTS,
                 CSDKImageEditor.ToolType.CROP
                 ],
                 quality: 50
                };
                CSDKImageEditor.edit(success, error, imageUrl, options);
  }            
        </script>

but when i run cordova run android
its give me following error

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 resolve all dependencies for configuration ':_debugCompile'.
   > Could not find any matches for com.adobe.creativesdk:image:4.6.3+ as no versions of com.adobe.creativesdk:image are available.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/adobe/creativesdk/image/maven-metadata.xml
         https://repo1.maven.org/maven2/com/adobe/creativesdk/image/
         https://jcenter.bintray.com/com/adobe/creativesdk/image/maven-metadata.xml
         https://jcenter.bintray.com/com/adobe/creativesdk/image/
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/android/m2repository/com/adobe/creativesdk/image/maven-metadata.xml
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/android/m2repository/com/adobe/creativesdk/image/
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/google/m2repository/com/adobe/creativesdk/image/maven-metadata.xml
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/google/m2repository/com/adobe/creativesdk/image/
     Required by:
         :android:unspecified
   > Could not find any matches for com.localytics.android:library:3.8.0+ as no versions of com.localytics.android:library are available.
     Searched in the following locations:
         https://repo1.maven.org/maven2/com/localytics/android/library/maven-metadata.xml
         https://repo1.maven.org/maven2/com/localytics/android/library/
         https://jcenter.bintray.com/com/localytics/android/library/maven-metadata.xml
         https://jcenter.bintray.com/com/localytics/android/library/
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/android/m2repository/com/localytics/android/library/maven-metadata.xml
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/android/m2repository/com/localytics/android/library/
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/google/m2repository/com/localytics/android/library/maven-metadata.xml
         file:/C:/Users/pcq38/AppData/Local/Android/sdk/extras/google/m2repository/com/localytics/android/library/
     Required by:
         :android:unspecified

* Try:
Run wit
```h --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions