Android Question 'illegal characters in path' error when using 'RuntimePermissions' or 'Printing' libraries

matt humphreys

Member
Licensed User
Longtime User
I have installed B4A on a Windows 10pro 64bit machine along with latest resources and JDK14.
My project uses a bunch of libraries but I am getting the 'illegal characters in path' error.
Creating a new 'default' blank project and compiling I get no errors so I assume issue is not related to the 'Configure Paths' issue.
In any case I installed B4A to C:\B4A rather than ..Program Files\Anywhere Software\... as a precaution.
The default libraries for a blank project are:
Core
XUI
...adding:
DateUitils
Excel
JavaObject
JSTouchImageView
OKHttpUtils2
Phone
RandomAccessFile
Reflection
StringUtils
ViewsEx
xCustomListView
and the blank project still compiles just fine.

If I add either the 'RuntimePermissions' v1.12 or 'Printing' v1.11 libraries the error appears as below:

"B4A Version: 12.20
Parsing code. (0.01s)
Java Version: 11
Building folders structure. (0.01s)
Compiling code. (0.02s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.03s)
(AndroidX SDK)
Compiling resources Error
Illegal characters in path."

(it is the same when I use JDK14)

Any idea what issue that may point to?
 

MarcoRome

Expert
Licensed User
Longtime User
The same problem about a year ago:

Can you attach an example with the error ?
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
work without problem

1682681986983.png
 
Upvote 0

matt humphreys

Member
Licensed User
Longtime User
C:\Program Files\Java\jdk-1.8\bin\javac.exe
same issue but worth a try.
I can't see it being a java path given it does compile...but not with either of those two particular libraries included.
hang sec i'll get rid of the program files path and try again...
 
Upvote 0

matt humphreys

Member
Licensed User
Longtime User
I thought it might be that the SDK path points to some resource in the SDK whose path is only invoked when using those libraries - apparently not.
Good thought tho.
C:\Java\jdk-1.8\bin\javac.exe
I despairingly confirm same issue with spaceless path to jdk8u371.
 
Upvote 0
Top