0

1.上传图片找不到UploadManager类

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/qiniu/android/c/j;

                                                                            at com.sevenplus.chinascience.activity.UserInfoActivity$5$1.run(UserInfoActivity.java:523)
                                                                            at java.lang.Thread.run(Thread.java:762)
                                                                         Caused by: java.lang.ClassNotFoundException: Didn't find class "com.qiniu.android.c.j" on path: DexPathList[[zip file "/data/app/com.sevenplus.chinascience-2/base.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_dependencies_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_0_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_1_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_2_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_3_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_4_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_5_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_6_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_7_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_8_apk.apk", zip file "/data/app/com.sevenplus.chinascience-2/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.sevenplus.chinascience-2/lib/arm64, /system/fake-libs64, /data/app/com.sevenplus.chinascience-2/base.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_dependencies_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_0_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_1_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_2_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_3_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_4_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_5_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_6_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_7_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_8_apk.apk!/lib/arm64-v8a, /data/app/com.sevenplus.chinascience-2/split_lib_slice_9_apk.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
                                                                            at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
                                                                            at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
                                                                            at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
                                                                            at com.sevenplus.chinascience.activity.UserInfoActivity$5$1.run(UserInfoActivity.java:523) 
                                                                            at java.lang.Thread.run(Thread.java:762) 

撰写答案