Android Question Optimized Dex Using B4ABuilder.exe

Discussion in 'Android Questions' started by cambopad, May 9, 2015.

  1. cambopad

    cambopad Active Member Licensed User

    Hi, everyone!
    Usually, when I compile the project inside B4A IDE, it always displays a message to show me that the the dex is optimized as show in the picture below:
    optimizedDex.png

    However, when I compile using B4ABuilder.exe, It only shows "Convert bye code - dex" as in the picture below:

    dex.png

    I think I also specified the "-Optimize=True" parameter, but why did it still show a message like this?
    Will compiling using B4ABuilder.exe produce Optimized Dex?
    Can anyone body explain me about this?

    Thanks you for your help!
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The outputs of the optimized dexer and the standard dexer are the same. The difference is that the optimized dexer is usually much faster because it "dexers" the libraries in the background and then waits for you to compile your app. It is not relevant for command line builds.
     
    pesquera and cambopad like this.
  3. cambopad

    cambopad Active Member Licensed User

    Thanks you Erel! Will there be any performance issue in any APK generated when they are running on phone?
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    No. The output is exactly the same.
     
    cambopad likes this.
  5. cambopad

    cambopad Active Member Licensed User

    Thanks you! Now I understand :D
     
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