BufferOverflowException when building application

前端 未结 13 1276
孤独总比滥情好
孤独总比滥情好 2020-11-29 09:29

Everytime i want to run my Android application i get a error:

[2013-11-02 13:05:36 - Dex Loader] Unable to execute dex: java.nio.BufferOverflowException. Che         


        
相关标签:
13条回答
  • 2020-11-29 09:49

    In the file project.properties, replace
    target=android-??
    with
    target=android-19

    0 讨论(0)
  • 2020-11-29 09:49

    Try right click your project > android > Project build Target >select less version than 4.4 and try to clean the project.

    It worked for me. :)

    0 讨论(0)
  • 2020-11-29 09:51

    I have solved this with build tools 19.0.1 and project build target to API 19. With build tools 19.0 I have this problem.

    0 讨论(0)
  • 2020-11-29 09:52

    I just deleted Android dependencies from project > properties > java build path > libraries. After I clean the project and run it

    0 讨论(0)
  • 2020-11-29 09:53

    try to Add Android Support Library :D https://stackoverflow.com/a/19803777/544265

    0 讨论(0)
  • 2020-11-29 09:55

    I was able to get my problem project to build by adding this extra line:

    sdk.buildtools=18.1.1
    

    ...to my project.properties file, which is present in the root of the project folder. All other approaches seemed to fail for me.

    0 讨论(0)
提交回复
热议问题