Android Question DesignSupport problem after update

Pxs

Member
Licensed User
Hello
After updating from b4a 11 to 12, and downloading the new sdk ( 33)
Design support no longer works. i get:

Maven artifact not found: androidx.viewpager2/viewpager2
Source: DesignSupport

Redownloading com.android.support:design from the sdk manager does nothing

I tried to search around and seems like DesignSupport is no longer supported? i need it for DSTabLayout and DSNavigationDrawer...Rewriting all the navigation and layouts across multiple apps would take me alot of time i cannot afford right now.... is there any workaround?


Thanks
 

Pxs

Member
Licensed User
Darn it, this is going to be a headache?
Whats the current library recommendation for tabbed navigation to replace DSTabLayout? ( not yet using b4xpages)
 
Upvote 0

Pxs

Member
Licensed User
TabStripViewPager
Tried experimenting with it, have a few issues i need to solve before implementing it ( left tab goes out of screen border, and the tabstrip has issues taking the full screen, a few pixels of border remain all around it).
Also tested ASTabMenuAdvanced , seems promising but more complex and quite different to implement


On a side note, i tried experimenting with different manifest/sdk versions/ b4a versions.

Tinkering around with different versions (same source still using designsupport) i managed somehow to compile with no error and get google play store to accept the apk ( still not sure why it works, as my android.jar is lower then the target, but w/e):
  • Manifest target sdk=31
  • path: android-30 jar
  • b4A v12.00

Only ...small... problem is, it crashes at boot :
 
Upvote 0

Pxs

Member
Licensed User
Replacing the internal firebase notifications lib from b4a 12 with the one found in v 11 (i know i probably shouldnt, just experimenting to see if i can find a workaround) solves this ^

The app no longer crashes, works fine but now it's no longer accepted by the store, as i get:

 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…