将 Android Studio 更新到 1.3 版本后,我无法正确构建项目。我在项目 gradle 文件中发现行错误
compile 'com.android.support:multidex:1.0.1'
它说
This support library should not use a lower version (1) than the targetSdkVersion (22)
但在我的 SDK 文件夹中,我找不到更高版本的 multidex。
有什么办法可以解决吗?
将 Android Studio 更新到 1.3 版本后,我无法正确构建项目。我在项目 gradle 文件中发现行错误
compile 'com.android.support:multidex:1.0.1'
它说
This support library should not use a lower version (1) than the targetSdkVersion (22)
但在我的 SDK 文件夹中,我找不到更高版本的 multidex。
有什么办法可以解决吗?
Android Studio 1.3 目前还没有准备好生产(这就是它在 Canary 频道上的原因)。虽然可以尝试,但由于许多潜在的错误或问题,永久切换可能是不明智的。我建议降级到1.2。而且我猜 Android Studio 团队不介意看到基于您在此处提交的 1.3 体验的错误报告。