Until now I couldn't update to B4A 10.7, due some issues (incompatibility with DesignSupport and MaterialDateTimePicker libs, for example).
I fixed some of them , but now I got another issue:
I tried to compile the WhatsApp Sticker Example from DonManfred (Thanks Don!), but I get this error:
First I thought the cause was the images is in the subfolder "1" in DirAssets (I saw some questions about 10.7 and subfolders).
I tried to move the all the images files from the subfolder "1" to the DirAssets folder, but I still get the same error.
The lib works only with images in the DirAssets folder.
I have some apps that uses this lib with several subfolders with images in DirAssets folder.
If I compile with the B4A 10.2 works fine.
There are a workaround for this issue?
Thanks in advance for any tip.
I fixed some of them , but now I got another issue:
I tried to compile the WhatsApp Sticker Example from DonManfred (Thanks Don!), but I get this error:
B4X:
** Activity (main) Create, isFirst = true **
content://de.donmanfred.sticker42.stickercontentprovider/metadata
[com.sticker4w.StickerPack@df102d1]
loader.fetchStickerPacks
main_activity_create (java line: 369)
java.lang.IllegalStateException: Asset file doesn't exist. pack: Cuppy, sticker: 01_Cuppy_smile.webp
at com.sticker4w.StickerPackLoader.getStickersForPack(StickerPackLoader.java:82)
at com.sticker4w.StickerPackLoader.fetchStickerPacks(StickerPackLoader.java:63)
at de.donmanfred.StickerPackLoaderwrapper.fetchStickerPacks(StickerPackLoaderwrapper.java:37)
at de.donmanfred.sticker42.main._activity_create(main.java:369)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.donmanfred.sticker42.main.afterFirstLayout(main.java:105)
at de.donmanfred.sticker42.main.access$000(main.java:17)
at de.donmanfred.sticker42.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6123)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
Caused by: java.io.IOException: cannot read sticker asset:1/01_Cuppy_smile.webp
at com.sticker4w.StickerPackLoader.fetchStickerAsset(StickerPackLoader.java:137)
at com.sticker4w.StickerPackLoader.getStickersForPack(StickerPackLoader.java:76)
... 15 more
I tried to move the all the images files from the subfolder "1" to the DirAssets folder, but I still get the same error.
The lib works only with images in the DirAssets folder.
I have some apps that uses this lib with several subfolders with images in DirAssets folder.
If I compile with the B4A 10.2 works fine.
There are a workaround for this issue?
Thanks in advance for any tip.
Last edited: