Android Question B4A and 64bit apps for new Android versions

Discussion in 'Android Questions' started by Indic Software, Oct 27, 2018.

  1. Indic Software

    Indic Software Member Licensed User

  2. DonManfred

    DonManfred Expert Licensed User

    How do you come on this date????

    Check the link you posted. Aug 2019

    Google force target sdk 26 in Oreo this year. That´s not a new info.
     
  3. Indic Software

    Indic Software Member Licensed User

    Hello Don,

    May be not for you! But it is new info for me so I am interested in know as to how does B4A handle generating 32bit (for older version of Android) and 64bit apps (for Android Oreo and higher).

    Of it is dependent of which target SDK we have set in the manifest?

    Regards,
     
  4. DonManfred

    DonManfred Expert Licensed User

    i can not answer about 64bit apps. And, as we do have a year to go, i´m not interested in investigating it at this time.
    I´m sure there will be a solution for B4A

    About Targetsdk 26: android.jar / targetSdkVersion / minSdkVersion
     
  5. moster67

    moster67 Expert Licensed User

  6. Erel

    Erel Administrator Staff Member Licensed User

    The 64 bit requirement is only relevant to libraries such as SQLCipher which include native binaries. There are very few such libraries. They will need to be updated to include a 64 bit binary.

    Edit: latest version of SQLCipher includes a 64 bit binary.
     
    Last edited: Jan 28, 2019
    Peter Simpson likes this.
  7. Indic Software

    Indic Software Member Licensed User

    Hello,

    Thanks everyone for clarification.

    Regards,
     
  8. JohnC

    JohnC Well-Known Member Licensed User

  9. DonManfred

    DonManfred Expert Licensed User

    if you are using a problematic library in your app then it would apply to your app for sure. Until you get new libraries containing 64bit natives.
     
  10. JohnC

    JohnC Well-Known Member Licensed User

    So, just to be clear, if I do NOT use a problematic library (and most of the B4A libraries are NOT problematic), then the B4A compiler already automatically generates APKs that will meet Google's 64-bit requirement on 8/19?
     
  11. DonManfred

    DonManfred Expert Licensed User

    I dont know. I did not wote b4a and for me it is not 2021 and there is as of today no need for 64 bit.
    And based on Erels answer i do not expect any problem.

    I do care in 2021.
     
  12. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    After reading the article last night, my understanding is that apps written in Java (which B4A apps are converted to before being compiled) are not native apps & are therefore not required to be 64bit.

    - Colin.
     
  13. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    Native apps that don't include 64bit support won't be able to be uploaded to Play Store (new or updates) from 1 August 2019. Only Unity apps built using v5.6 or older will be allowed until August 2021.

    - Colin.
     
    Last edited: Jan 28, 2019
  14. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    Fyi - native Android apps are built using the Android NDK (https://developer.android.com/ndk/). For B4A developers it seems the only potential issue with the 64bit requirement is any library you might be using that contains native code.

    - Colin.
     
  15. JohnC

    JohnC Well-Known Member Licensed User

    I am confused why you are mentioning 2021 because the article I posted said that all NEW and UPDATED apps posted to the Play Store NEED to include a 64-bit version by Aug of THIS year (2019 - in 6 months).
     
    Last edited: Jan 28, 2019
  16. DonManfred

    DonManfred Expert Licensed User

    That was my reason.
    Erel mentioned somewhere that it only applies to app using native .so file which needs to include an 64bit native in future.
    Only a few libs are problematic so i do not care about. Even if it will be in 6 months. I am using 64bit java on a 64bit Windows 10 PC.
    I´m positive that the apks generated by B4A will meet the requirements in 6 Months... Maybe we need a new version with a new compiler. I don´t know. But i´m sure Erel do have plans already.
     
  17. JohnC

    JohnC Well-Known Member Licensed User

    I am curious what Erel will say regarding this issue..
     
  18. DonManfred

    DonManfred Expert Licensed User

    He already did.
     
  19. JohnC

    JohnC Well-Known Member Licensed User

    Yes, but Erel's reply was to this Google post from over a year ago that specifically ONLY specified "Native Libraries":

    https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html

    Whereas the newer post is broader and not limited to just "libraries" but to the overall "app" and SDK's:

    https://android-developers.googleblog.com/2019/01/get-your-apps-ready-for-64-bit.html

    I have no idea if the 64-bit SDK's requirement mentioned in the new post applies only for third-party SDK's or also apply to the SDK's we download using the SDK manager.

    So my post was simply asking if Erel's response is still the same in light of the newer/broader post from Google.
     
  20. DonManfred

    DonManfred Expert Licensed User

    Yes. You can read there
     
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