compile 'com.android.support:multidex:1.0.1' happened wrong: all com android support libraries must use the exact same version

前端 未结 4 1904
梦如初夏
梦如初夏 2021-02-13 20:57

Today, I update my Android studio to 2.3, and I update gradle to 3.4.1. But when I build my project, an error occurred: This is the error So I add \" buildToolsVersion \'25.0.0\

4条回答
  •  名媛妹妹
    2021-02-13 21:50

    This is probably an issue with Android Studio 2.3. There's a new inspection that checks if all dependencies of com.android.support use the same version number. However, multidex doesn't have a matching version number. You can disable the inspection via the red light bulb icon next to it as a work-around for now

提交回复
热议问题