1. Download our Official Android App: Forums for Android!

Apps number of method references in a .dex file cannot exceed 64K

Discussion in 'Android Development' started by ac4android, Jul 19, 2016.

  1. ac4android

    ac4android Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    198
    Joined:
    Nov 3, 2015

    Nov 3, 2015
    198
    29
    53
    I have some old apps that worked before upgrade to 2.1.2, now they either throw errors like "300minutes timeout" or this one:
    Error:The number of method references in a .dex file cannot exceed 64K.
    Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html


    What?

    On and off, I spent 2 weeks battling with re-install and reloading SDKs and Tools. Right now I spend about 70% of my time getting 2.1.2 to work rather then design and coding.

    Based on the number of people reporting errors in Google, I'd say 2.1.2 I am not the only
    one.

    SOLUTION:
    http://stackoverflow.com/questions/...rences-in-a-dex-file-cannot-exceed-64k-api-17
     

    Advertisement

    #1 ac4android, Jul 19, 2016
    Last edited: Jul 19, 2016
  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #11
    Points:
    1,988
    Posts:
    7,308
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    7,308
    10,420
    1,988
    Male
    Software developer
    South West of England
    Did Multidexing work for you?
     
  3. ac4android

    ac4android Well-Known Member
    Thread Starter
    Rank:
    None
    Points:
    53
    Posts:
    198
    Joined:
    Nov 3, 2015

    Nov 3, 2015
    198
    29
    53
    Yes.

    I am hope it helps others.
     

Share This Page

Loading...