java.lang.noclassdeffounderror:com.adobe.creativesdk.aviary.adobeimageeditoractivity adobe creative sdk图像编辑器ui

ebdffaop  于 2021-07-09  发布在  Java
关注(0)|答案(1)|浏览(377)

如何解决这个问题?我已经按照正确的步骤集成了multidex,但应用程序有时仍然会崩溃

07-14 16:28:38.103 16031-16031/? E/SELinux: [DEBUG] get_category: variable seinfo: release sensitivity: NULL, cateogry: NULL
07-14 16:28:38.163 8303-8303/com.randomsoft.love.poetry.photo.editor E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                       Process: com.randomsoft.love.poetry.photo.editor, PID: 8303
                                                                                       java.lang.NoClassDefFoundError: com.adobe.creativesdk.aviary.AdobeImageEditorActivity
                                                                                           at com.adobe.creativesdk.aviary.AdobeImageIntent$Builder.<init>(AdobeImageIntent.java:191)
                                                                                           at com.randomsoft.love.poetry.photo.editor.WorkONIMAGEActivity$17.onClick(WorkONIMAGEActivity.java:1668)
                                                                                           at com.android.internal.app.AlertController$ButtonHandler.handleMessage(AlertController.java:167)
                                                                                           at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                           at android.os.Looper.loop(Looper.java:145)
                                                                                           at android.app.ActivityThread.main(ActivityThread.java:6837)
                                                                                           at java.lang.reflect.Method.invoke(Native Method)
                                                                                           at java.lang.reflect.Method.invoke(Method.java:372)
                                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
                                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)

这是我的gradle文件中的依赖项,每个依赖项只使用一次,它们的版本对于支持库也是相同的

dependencies {
    compile 'com.android.support:appcompat-v7:24.2.1'
    compile 'com.google.android.gms:play-services-ads:10.0.1'
    compile project(':CropPhotoCommon')
    compile 'com.startapp:inapp-sdk:3.6.1'
    compile 'com.android.support:design:24.2.1'
    compile 'com.jrummyapps:colorpicker:2.1.6'
    compile 'com.android.support:multidex:1.0.1'
    compile 'com.github.bumptech.glide:glide:3.5.2'
    compile 'com.mcxiaoke.volley:library:1.0.19'
    /* 4) Add the CSDK framework dependencies (Make sure these version numbers are correct) */
    compile 'com.adobe.creativesdk.foundation:auth:0.9.1251'

    /* Add the CSDK framework dependencies (Make sure these version numbers are correct) */
    compile 'com.adobe.creativesdk:image:4.8.4'
    compile 'com.localytics.android:library:3.8.0'
}
wgx48brx

wgx48brx1#

这样做是因为类在编译时存在,但在运行时找不到。查找构建时和运行时类路径中的差异。并从csdk示例中添加了一些类

相关问题