Other B4A v9.0 has been released

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

  1. Erel

    Erel Administrator Staff Member Licensed User

    I'm happy to release B4A v9.0. Most of the steps in the compilation process were rewritten and compilation is now much faster. This update also includes many other important improvements.

    Improvements:
    • Compilation performance (about 2 times faster for first compilation and up to 4 times faster on following compilations).
    • Bookmarks and breakpoints are listed in the modules tree:

      [​IMG]
    • Auto backup improvements:
      • Project is saved before backup, based on the auto save option.
      • Project name added to the backup file.
      • The project folder is configurable (AutoBackupFolder in the ini file).
    • Warning for unused parameters in private, non-event, subs.
    • Additional library folder can be configured with a B4X folder for cross platform libraries: https://www.b4x.com/android/forum/threads/b4x-additional-libraries-folder.103165/
    • #Event declarations appear in the autocomplete list.
    • Fix for a long standing issue that caused scope changes of global variables to not always be detected.
    • Workaround for Android issue (https://issuetracker.google.com/issues/113122354) that caused services to fail to start in some edge cases. This is based on the automatic foreground mode feature.
    • Copy to clipboard option in the permissions dialog.
    • Missing maven resources can be added to the internal or additional libraries folders.
    • com.google.auto.value-auto-value-annotations added as an internal library. This is a missing maven resource that required by Firebase libraries.
    • B4XCollections, B4XFormatter, B4XTable, XML2Map and XUI Views are internal libraries.
    • Foreground services permission is added automatically. Required when setting targetSdkVersion to 28.
    • CreateResourceFromFile(Macro, Core.NetworkClearText) - Required when setting targetSdkVersion to 28 when communicating with non-SSL servers.
    • Application.Icon works with adaptive icons.
    • FirebaseAdMob v1.54 - Fixes an issue related to targetSdkVersion 28. ReceveAd event is raised when the activity resumes (if it fired while the activity was paused).
    • Files are listed in the removal dialog.
    • OkHttpUtils2 v2.81 - Includes a call to Service.StopAutomaticForeground (related to the workaround discussed above).
    • Other bug fixes and minor improvements.

    An email with upgrade instructions will be sent to developers who are eligible for free upgrades. Other developers will receive a discount offer.
     
  2. tufanv

    tufanv Expert Licensed User

    Thanks!!
    Was waiting for this firebaseadmob fix.
     
  3. Filippo

    Filippo Expert Licensed User

    WOW! :)
    Just got your e-mail with the download link.
     
  4. Randori

    Randori Member Licensed User

    Great to hear!

    Thanks for the continued updates and support!
     
  5. Adenilton A Rodrigues

    Adenilton A Rodrigues New Member Licensed User

    Good news!

    Thanks Erel!
     
  6. naldoxable

    naldoxable Member Licensed User

    Thanks Erel!
     
  7. ciprian

    ciprian Active Member Licensed User

    Thank you Erel !
    Just got the e-mail.
     
  8. evbedp

    evbedp Member Licensed User

    i can't compile my project.

    happen when i had add firebase library

    upload_2019-3-26_19-8-31.png

    i have set time out to 180 Second. but still not work like this.
     
    MichalK73 likes this.
  9. Peter Simpson

    Peter Simpson Expert Licensed User

    @evbedp first have you done what the last 2 lines of the error message says?
     
    mangojack likes this.
  10. SongJian Liu

    SongJian Liu New Member Licensed User

    Thank you very much!
     
  11. HAH

    HAH Active Member Licensed User

    Thank you
     
  12. moster67

    moster67 Expert Licensed User

    Thanks Erel
     
  13. MichalK73

    MichalK73 Active Member Licensed User

    Problem when it cancels program compilations.
    The Java process remains in the system, it loads the CPU 100% even when I close B4A.
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    Increasing MaxRamForDex will probably solve the high CPU issue.

    Close the IDE. This is a must.

    Edit the INI file: C:\Users\<user name>\AppData\Roaming\Anywhere Software\Basic4android\b4xV5.ini
    Set MaxRamForDex to 2048.
     
    Last edited: Mar 29, 2019
    Johan Hormaza likes this.
  15. Paul Leischow

    Paul Leischow Member Licensed User

    I installed this version in C:\Anywhere Software\B4A
    and I noticed it created a folder called
    C:\Anywhere Software\B4A\%SystemDrive%\ProgramData\Microsoft\Windows\Caches
    and it contains three .db files

    I'm assuming it was suppose to put this in
    C:\ProgramData\Microsoft\Windows\Caches ???

    Any idea why this happened? It was installed as an Administrator.
    Is it safe to just delete this folder?
     
    aeric likes this.
  16. Erel

    Erel Administrator Staff Member Licensed User

    Not sure whether it was created during installation or not, however it is not needed for B4A.
     
    aeric likes this.
  17. Paul Leischow

    Paul Leischow Member Licensed User

    Ok, thanks. I will just delete it.
     
  18. iCAB

    iCAB Well-Known Member Licensed User

    First time (after installation), it took a lot longer to compile compared to the previous version. Possibly not related to B4A, it was after a full reboot of the development PC, but was an observation worth mentioning.

    No issues after that. There is definitely a great improvement.

    Good job, it saves a lot of time for large projects
     
  19. ronshahrokh

    ronshahrokh New Member Licensed User

    Thanks Erel
     
  20. tufanv

    tufanv Expert Licensed User

    Firebase Admob updated version is working like charm. Thanks Erel
     
    Johan Hormaza and Erel 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