Android Question B4A vers. 9.01.2

Discussion in 'Android Questions' started by Angelo Messina, Apr 29, 2019.

  1. Angelo Messina

    Angelo Messina Active Member Licensed User

    Hi, I've updated B4A to version 9.01.2, but compile very slowly and it's not
    as responsive as the previous version, what do you recommend? (same project
    and same pc)

    MaxRamForDex. ?

    Hi, but it does the same thing with an example of 4 lines of code and no
    Atctivity
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The minor changes in v9.01.2 were in areas that have no effect on the IDE or compiler performance. The problem is probably somewhere else.

    Please upload the project and also post the compilation window text.
     
  3. Angelo Messina

    Angelo Messina Active Member Licensed User

    Code:
    B4A Versione: 9.01.2
    Java Versione: 
    8
    Analisi del Codice.    (
    0.09s)
    Building folders structure.    (
    0.02s)
    Compilazione del codice.    (
    0.07s)
    Compilazione del codice di layouts    (
    0.00s)
    Organizzazione Librerie.    (
    0.00s)
    Generazione 
    file R.    (0.00s)
    Compilazione del codice Java prodotto.    (
    0.01s)
    Conversione byte code - ottimizzazione dex.    (
    0.94s)
    Packaging files.    (
    0.31s)
    Copia risorse delle librerie    (
    0.00s)
    Firmo il package 
    file ( chiave di debug ).    (0.54s)
    ZipAlign 
    file.    (0.03s)
    Installazione 
    file sul dispositivo.    (0.05s)
        Installazione tramite B4A-Bridge.
    Completato con successo.
     
  4. Angelo Messina

    Angelo Messina Active Member Licensed User

    Code:
    B4A Versione: 9.01.2
    Java Versione: 
    8
    Analisi del Codice.    (
    0.23s)
    Building folders structure.    (
    0.14s)
    Compilazione del codice.    (
    0.20s)
    Compilazione del codice di layouts    (
    0.02s)
    Organizzazione Librerie.    (
    0.01s)
    Generazione 
    file R.    (0.17s)
    Compilazione del codice Java prodotto.    (
    2.15s)
    Conversione byte code - ottimizzazione dex.    (
    5.29s)
        Ottimizzazione dexer fallita. Passaggio alla modalità Standard dexer
    Packaging files.    (
    0.53s)
    Copia risorse delle librerie    (
    0.12s)
        Found 
    9 resource files.
    Firmo il package 
    file ( chiave di debug ).    (1.03s)
    ZipAlign 
    file.    (0.04s)
    Installazione 
    file sul dispositivo.    (0.06s)
        Installazione tramite B4A-Bridge.
    Completato con successo.
     
  5. DonManfred

    DonManfred Expert Licensed User

    What is slow?
     
  6. Angelo Messina

    Angelo Messina Active Member Licensed User

    Hi, how is MaxRamForDex increased?
    in MANIFEST
     
  7. DonManfred

    DonManfred Expert Licensed User

  8. Erel

    Erel Administrator Staff Member Licensed User

    I don't see any slow step here. The numbers look good. The optimized dexer can "fail" from time to time. This is not a problem.
     
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