Android Studio DexIndexOverflowException: method ID not in

前端 未结 8 1813
长情又很酷
长情又很酷 2020-12-04 13:56

I use Android Studio to develop an application and I face this error which I have no idea how to solve.

com.android.dex.DexIndexOverflowException: met

8条回答
  •  半阙折子戏
    2020-12-04 14:44

    DexIndexOverflowException is also caused by exceeding 65536 methods. This can easily happen when adding a large library such as Google Play services. See this answer for a solution.

提交回复
热议问题