dex loader unable to execute dex: method ID not in [0, 0xffff]: 65536

前端 未结 6 1237
后悔当初
后悔当初 2020-12-15 10:44

iam building my application i got this error

Dx warning: Ignoring InnerClasses attribute for an anonymous inner class (com.amazonaws.javax.xml.stream.xerces.util.Se

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-15 11:16

    I just found an alternative to solve this issue on Eclipse when using Google Play Services. Because on Eclipse it seems that there is no way to use multidex as in Android Studio (and Gradle) this seems the only way to work on Eclipse rigth now.

    1. go in the google-play-service-lib project
    2. go in libs
    3. unzip the file google-play-services.jar
    4. go in the the unzipped folder and remove all folders that you don't need (i.e. if you need Analytics, you can remove ads, games, maps, wallet, drive, etc.)
    5. zip again such a folder (that now contains only the needed libraries) together with the MANIFEST folder
    6. use such new jar with your project.

提交回复
热议问题