Other B4A v9.0 BETA has been released

Discussion in 'Android Questions' started by Erel, Mar 19, 2019.

Thread Status:
Not open for further replies.
  1. Erel

    Erel Administrator Staff Member Licensed User

    Thank you. The issue is fixed for the next beta.
     
  2. Jmu5667

    Jmu5667 Well-Known Member Licensed User

    Hello

    If I want to down grade back to 8.8, as I am not too sure if there is a error in my app or if it is the Beta 9.0 (most likely not), in relation to background services running, will this be an issue ?

    Regards

    John.
     
  3. Jmu5667

    Jmu5667 Well-Known Member Licensed User

    I had the same, if you make any of these subs public, the warning goes away.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    No.

    Many improvements were made in the compilation process:

    - Most resources are being reused between compilations.
    - AAR libraries, such as Google Play Services and Firebase libraries, are unpacked once. This makes the "organizing libraries" step very fast.
    - Optimized dexer was optimized and it prepares more things in the background (when MultiDex = False).
     
    Last edited: Mar 20, 2019
    Jmu5667 likes this.
  5. Jmu5667

    Jmu5667 Well-Known Member Licensed User

    thanks :)
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Beta #2 has been released. It is available from the same link as before.

    It fixes several issues including:

    - Wrong warning about unused 'ba' variable.
    - AAR with nested jars cause builds to fail (amir glide library).
    - Failure to create the 'gen' folder.
     
  7. Gunther

    Gunther Active Member Licensed User

    upload_2019-3-20_13-20-37.png upload_2019-3-20_13-21-32.png

    Just after opening and compile.
     
    Johan Hormaza, Peter Simpson and Erel like this.
  8. Erel

    Erel Administrator Staff Member Licensed User

    Two things"

    1. It takes some time for the optimized dexer to precompile the libraries. So if you open the project and immediately compile, the performance gain will not be full.
    2. You might get even better results if you increase MaxRamForDex. Set it to 4096 if there is enough RAM on your PC.
     
    Alexander Stolte likes this.
  9. Gunther

    Gunther Active Member Licensed User

    after 2nd complie: (the MaxRamForDex was remaining on 8192 on an i5)

    upload_2019-3-20_13-34-2.png

    After some coffe break just pressed again Compile: (all fine - just let you know)
    upload_2019-3-20_13-51-24.png
     
    Last edited: Mar 20, 2019
  10. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread for this.
     
  11. Filippo

    Filippo Expert Licensed User

    Does not look bad as beta 2, it has become much faster.
    b4a.8.80.JPG

    b4a.9.00_beta-2.JPG
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    On the next runs, the "compiling generated java code" should be much quicker (until you clean the project or switch a build configuration).
     
  13. iz0ndg

    iz0ndg Member Licensed User

    With Beta #2 the problem seems to be solved.

    Thanks Erel ;)
     
    Erel likes this.
  14. Erel

    Erel Administrator Staff Member Licensed User

    Beta #3 has been released. It fixes an issue with build configurations with different package names.
     
    lemonisdead, Gunther and MarcoRome like this.
  15. Kwame Twum

    Kwame Twum Active Member Licensed User

    Getting this error even on BETA #3

    Code:
    B4A Version: 9.00 BETA #3
    Parsing code.    (
    0.30s)
    Building folders structure.    (
    0.03s)
    Compiling code.    (
    4.37s)
    Compiling layouts code.    (
    1.67s)
    Organizing libraries.    (
    0.00s)
    Generating R 
    file.    Error
    ERROR: Unable 
    to open class file gen\com\excellium\wsh\Manifest.java: No such file or directory
    This is happening to multiple projects that work fine with 8.8 so I'm sure there's nothing wrong with my projects.
     
  16. Erel

    Erel Administrator Staff Member Licensed User

  17. Kwame Twum

    Kwame Twum Active Member Licensed User

  18. Kwame Twum

    Kwame Twum Active Member Licensed User

    hello Erel, been able identify the issue yet? I'm unable to compile any of my projects now.
    Even after reinstalling 8.8, I still get the same error with the projects (which wasn't there previously). Could the 9 beta have installed some configurations causing this?
     
  19. klaus

    klaus Expert Licensed User

    Can you post such a project, as zip file, so we could test it to see where the problem might be.
     
    MarcoRome likes this.
  20. JOTHA

    JOTHA Well-Known Member Licensed User

    THX Erel, I'll update it today ...
     
Thread Status:
Not open for further replies.
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