Android Question Printing and Pdf creation ERROR

4rdn1_s

Member
Hi, does anyone can help me,

I'm new in B4A developing, and I got error when I'm trying to print using this code

Dim printer As Printer
printer.Initialize("")

printer.PrintPdf("Cetak",File.DirInternal,"1.pdf")

The Error :
Caused by: java.lang.ClassNotFoundException: Didn't find class "androidx.print.PrintHelper" on path: DexPathList[[zip file "/data/app/b4a.example-2/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

please, maybe someone got a solution
thanks before.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…