Results 2 comments of Doraemon

+1,我也遇到一样的问题,使用以下方法代替 *** `/** * Android 10 以上适配 * @param context * @param uri * @return */ @RequiresApi(api = Build.VERSION_CODES.Q) private static String uriToFileApiQ(Context context, Uri uri) { File file =...

在你app的build.gradle里引用: compile 'com.android.support:multidex:1.0.0' 在你的application里复写: protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(this); } 然后重新编译,就可以解决这个问题