Android Question List of 64-bit librarys for b4a

Discussion in 'Android Questions' started by renemo, May 25, 2019.

  1. renemo

    renemo New Member Licensed User

    Hello

    In case of Google 64-bit recomendation for apps since August 2019. Where can i get list of libs with correct 64-bit nature for b4a ? For example - LibGDX is 64-bit library ?
     
    JohnC and Syd Wright like this.
  2. Syd Wright

    Syd Wright Active Member Licensed User

    I fully support your question. Yesterday Google sent me a list showing that about 15 of my apps are not compliant with 64-bit. No idea where or how to start determining which of the many libraries that I use in my apps is/are causing this.
     
    JohnC likes this.
  3. moster67

    moster67 Expert Licensed User

  4. Erel

    Erel Administrator Staff Member Licensed User

    Only libraries with native binaries can be non-64 bit compliant. There are very few libraries with native binaries.
    The most common one is SQLCipher. The latest version of SQLCipher includes a 64 bit binary.

    I'm not sure about libgdx. You can check it with the instructions given in the above post.
     
  5. Syd Wright

    Syd Wright Active Member Licensed User

    I suggest that a new thread is created where all non-64 bit compliant libraries are listed, plus links where newer compliant libraries can be found (and that this thread is not closed after 30 days, such that library titles can constantly be added). As it stands now, many forum members (like me) are searching individually to find the culprit libraries.

    I doesn't seem that mainly ".so" files are the source of the problem. Most of my (15) apps that Google has listed as being non-64 bit do not use .so files.

    Furthermore, some more information would be welcome how to determine whether a ".so" file is 32 or 64 bits.

    Isn't it possible to add a feature to the B4A IDE by which a list of used 32 bit libraries can be composed (for example by marking 32-bit libraries with a * in the libraries list?)
     
    Last edited: May 26, 2019
  6. Erel

    Erel Administrator Staff Member Licensed User

    Syd Wright likes this.
  7. Syd Wright

    Syd Wright Active Member Licensed User

    To start the list of non-compliant 64-bit libraries that I suggested above, I suspect:
    1. AACdecoder (which I still use because Exoplayer cannot show the song titles while listening to radio streams)
    Ref: https://www.b4x.com/android/forum/threads/aacdecoder-android-0-8-jar.75364/#post-478498

    2. Vitamio-5 library (It doesn't show any 64-bit platforms in the "libs" folder, after unzipping the jar file as recommended by Moster67).
    Ref: https://www.b4x.com/android/forum/threads/vitamio-5-version-5-2-3.65176/#content

    Also I am not sure about the ABZip and other AB.. libraries.
     
    Last edited: May 26, 2019
  8. Erel

    Erel Administrator Staff Member Licensed User

  9. Syd Wright

    Syd Wright Active Member Licensed User

    Erel likes this.
  10. wonder

    wonder Expert Licensed User

    LibGDX is 64bit compatible (thanks @Informatix).
     
    Erel likes this.
  11. moster67

    moster67 Expert Licensed User

    I am not at home now but Vitamio5 should be 64bit compliant. Decompress the jar and there should be a 64bit folder. Make sure to use the latest version I have sent to all donators.
     
  12. Syd Wright

    Syd Wright Active Member Licensed User

    To add another library to the list:

    3. SnowBoyNative.jar in the Snowboy Hotword detection library. It only shows armeabi-v7a as platform which I understand to be 32-bits. If contains a .so file: "libsnowboy-detect-android.so"
    Ref: https://www.b4x.com/android/forum/t...ord-detection-engine.82939/page-5#post-537725
    Maybe Don Manfred, who created this library, would be so kind to see if a 64-bit version can be made?
     
  13. Syd Wright

    Syd Wright Active Member Licensed User

    Unless I am mistaken, in the "lib" folder of this jar (Vitamio 5.12) are only 2 folders: "x86" and "armeabi-v7a". According to this link, "armeabi-v7a" is 32-bit only:
    https://stackoverflow.com/questions/54482989/android-64-bits-compatibility-and-armeabi
    It says that: "The 64-bit ABIs are arm64-v8a and x86_64".
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    That's true. x86 is the 32 bit simulator binary.
     
  15. moster67

    moster67 Expert Licensed User

    Check again with latest library which you have already received. Latest version of Vitamio is 5.2.3
     
    Erel likes this.
  16. Syd Wright

    Syd Wright Active Member Licensed User

    OK, then I am using the wrong Vitamio version. The cause of the confusion is the version numbering. To me 5.12... is higher than 5.2... (It doesn't say 5.1.2 in the B4a libraries list, but 5.12).

    PS: I now see that you have also changed the lib name from Vitamio5.jar to Vitamio5_23.jar which indeed contains the "arm64-v8a" platform. My mistake.
     
    Last edited: May 26, 2019
    moster67 likes 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