androidaviaryadobecreativesdk

Aviary SDK image editor run error


I try to implement Aviary SDK in my Android app however everytime i try to run Aviary Intent i get following error:

Intent imageEditorIntent = new AdobeImageIntent.Builder(this)
            .setData(imageUri)
            .build();

    startActivityForResult(imageEditorIntent, 12233);
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.xxx/com.adobe.creativesdk.aviary.AdobeImageEditorActivity}: java.lang.ClassCastException: com.xxx.XXXX cannot be cast to com.adobe.creativesdk.aviary.IAviaryClientCredentials

I found these article, and i've changed implemented interface but it dont help me. enter link description here How can i fix it? I follow documentation instruction but without success. Maybe there is some sample project with SDK and image editor ui?


Solution

  • As a preliminary answer to your question, there is a sample project on GitHub that you can fork, clone, and run.

    Instructions for using it are in the readme.

    Points to check