首页 > 解决方案 > 找不到 com.androidx.multidex:multidex:2.0.1

问题描述

> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Could not find com.androidx.multidex:multidex:2.0.1.
     Required by:
         project :app

在我的项目中添加 multidex 后出现此错误

标签: androidkotlinfragmentandroid-multidexandroid-viewpager2

解决方案


尝试

implementation "androidx.multidex:multidex:2.0.1"

推荐阅读