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

Apps In-memory DEX loading function removed in Android 4.4

Discussion in 'Android Development' started by jrong1104, Jan 9, 2014.

  1. jrong1104

    jrong1104 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 8, 2014

    Jan 8, 2014
    1
    0
    5
    Noticed in Android 4.4, Google removed one of internal functions in class, DexFile:

    native private static int openDexFile(byte[] fileContents);

    which is capable of performing loading dex from byte-array without going through reading the dex file on disk, which has proven to be very useful

    Anybody knows why this happens or if there is any other alternatives. Hopefully Google will put it back in the future release.

    Thanks.
     

    Advertisement

  2. Thom

    Thom  
    VIP Member
    Rank:
     #22
    Points:
    1,318
    Posts:
    11,920
    Joined:
    Feb 16, 2011

    Feb 16, 2011
    11,920
    4,920
    1,318
    Male
    Software Developer
    Keene, NH USA
    Welcome to Android Forums. This thread was moved from Android Lounge to the forum where application development is discussed.

    ... Thom
     

Share This Page

Loading...