Dim wd As WordUtils
wd.Initialize
Dim doc As WordDocument = wd.CreateDocument
doc.Append($"[p]Word document with two lines.
This is the second line.[/p]"$)
Dim f As String = doc.SaveAs(File.DirApp, "1.docx", True)
It runs fine when you run from the IDE but errors when it is packaged. The specific line that errors is
There are several mistakes here:
1. The thread title is meaningless. What does it mean "never resolved previously"? Clearly if you are posting a question then it doesn't work for you.
2. Never write to File.DirApp with standalone packages.
3. You don't need to use toast messages to debug it. Follow this tutorial: https://www.b4x.com/android/forum/threads/macsigner-building-notarized-mac-packages.130890/#content
4. You need to choose Project - Build Standalone Package and then copy the generated packager.json file to your Mac, in the same folder as the jar.
Since it happens when it is packaged, there is no error message. The program terminates. I had to use toasts to narrow down the line.
To be more specific, when I use the b4j bridge in debug mode, it works fine on the MAC. After I use the macSigner, it errors. There is no error message, it just exits the program.
There are several mistakes here:
1. The thread title is meaningless. What does it mean "never resolved previously"? Clearly if you are posting a question then it doesn't work for you.
2. Never write to File.DirApp with standalone packages.
3. You don't need to use toast messages to debug it. Follow this tutorial: https://www.b4x.com/android/forum/threads/macsigner-building-notarized-mac-packages.130890/#content
4. You need to choose Project - Build Standalone Package and then copy the generated packager.json file to your Mac, in the same folder as the jar.