Android Question B4XDrawer not working after update

techknight

Well-Known Member
Licensed User
Longtime 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.
 

Attachments

  • catch.png
    35.3 KB · Views: 206
Last edited:
Upvote 0

Jorge M A

Well-Known 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:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I was sure this is not the issue
I would get rid of that period and re-point your paths, re-jetify, and try again
but i tried it



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.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Look for a file named AppCompat.androidx.aar and delete it.
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)

Run jetifier again.
Jetifier dos not find anything to do. Even when i redownload the appcompat 4 lib and extract them to addlibs folder.
It should list AppCompat.aar
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.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Delete jetifier.map from the additional libraries folder and run jetifier again. Is AppCompat.aar listed?
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!
 
Upvote 0

techknight

Well-Known Member
Licensed User
Longtime User
I was sure this is not the issue

but i tried it



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.

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.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…