1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question B4XDrawer not working after update

Discussion in 'Android Questions' started by Paolo Trevisiol, Jul 15, 2019.

  1. techknight

    techknight Well-Known Member Licensed User

    Not the tilde, but I see a period (dot) in there.
     
  2. techknight

    techknight Well-Known Member Licensed User

    Perhaps a picture would be of assistance. For grins and giggles, I would get rid of that period and re-point your paths, re-jetify, and try again.
     

    Attached Files:

    Last edited: Jul 16, 2019
  3. Jorge M A

    Jorge M A Active Member Licensed User

    Tested and working Ok:
    • KitKat
    • Lollipop
    • Nougat
    • targetSdkVersion="26" and
    • targetSdkVersion="29"
    platforms
    • android-26
    • android-29
    • Debug and
    • Release modes.
    Additional libs path with and without "period" (mine is always with "dash" "B4X-AdditionalLibs", and it's ok.)
     
    Last edited: Jul 16, 2019
  4. Erel

    Erel Administrator Staff Member Licensed User

    Look for a file named AppCompat.androidx.aar and delete it. Run jetifier again. It should list AppCompat.aar. Jetify it and clean the project.
     
  5. DonManfred

    DonManfred Expert Licensed User

    I was sure this is not the issue
    but i tried it

    [​IMG]

    I setup a new copy of readytorunsdk, changed the path to the addlibs folder so both are not using any dot in the path.

    The error is the same.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    What about this?
     
  7. DonManfred

    DonManfred Expert Licensed User

    There is no such file.
    If i search the addlibs folder for appcompat.* i get one xml, one jar (20 bytes) and one aar (about 80kb)

    Jetifier dos not find anything to do. Even when i redownload the appcompat 4 lib and extract them to addlibs folder.
    No it does not. At least for me. Even after new download an extract them again overwriting the files available.

    Cleaning project does not help either.
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    Delete jetifier.map from the additional libraries folder and run jetifier again. Is AppCompat.aar listed?
     
    Jorge M A and DonManfred like this.
  9. DonManfred

    DonManfred Expert Licensed User

    Yes
    Now it lists. Appcompat.jar and Appcompat.aar (beside a lot of others).

    I ran Jetifier and let it work.
    I cleaned the project.
    And compile it again. NOW the AppCompat Example does not crash anymore. It now works. :)
    Thank you!
     
    Erel and Jorge M A like this.
  10. techknight

    techknight Well-Known Member Licensed User

    Maybe not, but ive seen oddball characters in folder names cause weird issues for me in windows, especially with syncing and fileservers. Just wanted to rule it out.
     
  11. Paolo Trevisiol

    Paolo Trevisiol Member Licensed User

    Hi all,
    I've again upgrade to B4A 9.30, ran Jetify ... now it works.
    Thanks all.
     
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