Android Question [SOLVED] Another : Optimized dexer failed.

Discussion in 'Android Questions' started by lemonisdead, Apr 16, 2015.

  1. lemonisdead

    lemonisdead Well-Known Member Licensed User

    Hello,

    I have upgraded to jdk 1.8.0_45 and now, each time I compile, dexer takes long minutes. Then b4a asks me if I want to cancel the process.
    Pressing Yes and "Optimized dexer failed. Switching to Standard dexer." is printed. Then it compiles.

    Please :
    • Is there something I can do to make the optimized dexer work again ?
    • Is this error really related to the new jdk ?

    Many thanks

    [​IMG]

    [​IMG]

    Edit : forgot to say that I have searched the forum and found a lot about but would like to fix it even if, it is normal not to have it working from time to time :)
     
  2. NJDude

    NJDude Expert Licensed User

    I have the latest Java SDK (update 45) and no issues whatsoever, according to the screenshot, the slowness happens while installing to the device, that has nothing to do with the JDK but the connection between the PC and the device.
     
    lemonisdead likes this.
  3. lemonisdead

    lemonisdead Well-Known Member Licensed User

    Hello NJDude,

    Thanks for your reply. Are you sure about the fact that it happens while installing ? Me, I do see the process blocking while "Convert byte code - optimized dex" ?
    Well, I will try to reinstall all the package. Thanks again
     
  4. NJDude

    NJDude Expert Licensed User

    Oh I see it, yes, you are correct, well, try increasing the dexer memory size by modifying the INI (LINK)
     
    lemonisdead likes this.
  5. lemonisdead

    lemonisdead Well-Known Member Licensed User

    Thanks a lot again. I have disabled the optimized Dexer
    Code:
    UseOptimizedDexer=False
     
    pesquera and NJDude like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice