【发布时间】:2016-08-07 09:06:07
【问题描述】:
我尝试在我的 Android 应用程序中实现 Aviary SDK,但是每次我尝试运行 Aviary Intent 时都会收到以下错误:
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
我找到了这些文章,我已经更改了实现的界面,但它对我没有帮助。 enter link description here 我该如何解决? 我遵循文档说明但没有成功。 也许有一些带有 SDK 和图像编辑器 ui 的示例项目?
【问题讨论】:
-
我已经在下面回答了您的问题,并提供了指向 repo 和可能相关文件的链接。如果这不能解决问题,请将您的 gradle 代码和
Application子类添加到您的问题中。
标签: android aviary adobecreativesdk