Android Question Can't compile my APP

Luiz Fernando Orlandini

Active Member
Licensed User
Longtime User
Hi guys,

really strange but since yesterday I started to get a strange message when I try to compile my APP.

B4A version: 5.20
Parsing code. (0.18s)
Compiling code. Error
Caracteres inválidos no caminho.

Nothing else happens.

Anyone can help me with? Any ideas?
 
One quick information about this.

My paths are:

javac.exe: C:\Program Files\Java\jdk1.7.0_51\bin\javac.exe
android.jar: C:\Program Files (x86)\Android\android-sdk\platforms\android-17\android.jar
 
Upvote 0
like Erel pointed out you have ASCII control characters (0 to 31) within your code, you can find them with the following expression and remove them:
[\x00-\x1F]+
 
Upvote 0
paste your code into here http://basic4ppc.com:51042/regex/index.html
and search with the regex pattern: [\x00-\x1F]+

Thanks eurojam!!! :)

Did that and got this result. Does it looks good?

Match (length=1):
Match (length=2):
Match (length=2):
Match (length=1):
Match (length=1):
Match (length=2):
Match (length=2):
Match (length=2):
Match (length=1):
Match (length=2):
Match (length=2):
Match (length=2):
Match (length=2):
Match (length=4):
Match (length=2):
Match (length=2):
Match (length=3):
Match (length=2):
Match (length=2):
Match (length=2):
Match (length=1):
Match (length=2):
Match (length=2):
Match (length=3):
Match (length=4):
Match (length=3):
Match (length=4):
 
Upvote 0
try this [^\x00-\x7F]

This was the result:

No matches were found.


Other test I did:

Match (length=1): ã
Match (length=1): ç
Match (length=1): ã
Match (length=1): ç
Match (length=1): ã
Match (length=1): ç
Match (length=1): ã
Match (length=1): ç
Match (length=1): ã
Match (length=1): ê
Match (length=1): á
Match (length=1): ã
Match (length=1): à
Match (length=1): ç
Match (length=1): ã
 
Upvote 0
Back
Top