Android - MultiDex Install

烂漫一生 提交于 2019-12-02 06:51:45

Using the SDK Manager I have installed 'Android Support Repository' Rev. 11

That is for developers using Android Studio or other tools that use Gradle for Android. Its contents will not be presently used by standard Eclipse.

According to the Official Google Documentation, this jar should be located /extras/android/support/multidex/

Try one of these:

  1. Follow the instructions for adding a support library with resources, using <sdk>/extras/android/support/multidex/library/

  2. Copy the <sdk>/extras/android/support/multidex/library/libs/android-support-multidex.jar JAR into your project's libs/ directory (since the aforementioned Android library project seems to only contain this JAR and nothing else)

Do not do both. Do one or the other.

UPDATE

Here is a screenshot of my <sdk>/extras/android/support/, showing multidex/ right where the docs say it should be:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!