我是adobe创建SDK for android的新手,我已经成功地将adobe creative SDK与我的应用程序集成在一起。它在Android 5.0及更高版本上成功运行。 但是当试图在4.0,4.1,4.4,4.4.2和4.4.4上运行时,它会给出如下错误: -
java.lang.VerifyError: com/adobe/creativesdk/aviary/internal/account/BillingContentFactory
at com.adobe.creativesdk.aviary.AdobeImageBillingService.<init>(AdobeImageBillingService.java:41)
at com.adobe.creativesdk.aviary.AdobeImageBillingService.getInstance(AdobeImageBillingService.java:220)
at com.adobe.creativesdk.aviary.internal.account.AdobeAccountConnection.<init>(AdobeAccountConnection.java:31)
at com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.createAdobeAccountConnection(AdobeImageEditorActivityAbstract.java:552)
at com.adobe.creativesdk.aviary.AdobeImageEditorActivityAbstract.onCreate(AdobeImageEditorActivityAbstract.java:535)
at com.adobe.creativesdk.aviary.AdobeImageEditorActivity.onCreate(AdobeImageEditorActivity.java:29)
at android.app.Activity.performCreate(Activity.java:5447)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2393)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2493)
at android.app.ActivityThread.access$800(ActivityThread.java:166)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1283)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5590)
at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1280)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1096)
at dalvik.system.NativeStart.main(Native Method)
任何帮助都会很棒。
答案 0 :(得分:4)
我面临与Creative SDK相同的问题,但我使用multidex解决了同样的问题。请在下面的步骤中解决此错误。
defaultConfig {
multiDexEnabled true
}
dependencies {
compile 'com.android.support:multidex:1.0.1'
}
@Override
public void onCreate() {
MultiDex.install(this);
}
这个解决方案对我有用,我希望这对你也有帮助。