Compile Error in B4A v1.5

RichardN

Well-Known Member
Licensed User
Longtime User
I have just upgraded to B4A v1.5

During modification of an existing project I get this on compile. The project includes one small SQL.db used of about 170k size but nothing else controversial.


B4X:
Compiling code.                      0.04
Generating R file.                               0.00
Compiling generated Java code.           0.91
Convert byte code - optimized dex.      0.59
Packaging files.                        Error
AndroidManifest.xml:13: error: Error parsing XML: not well-formed (invalid token)

The log does not return any compile activity... I guess the process is not getting that far.

I have checked for 'likely-suspect' variables that might be reserved words. I have commented out each and every SUB both individually then collectively with the same result on compile.

I am out of ideas.
 

agraham

Expert
Licensed User
Longtime User
It looks like an error in the AndroidManifest.xml in your project Object folder. If you can't spot the problem in it, maybe an invalid name, then post it here, or better still post a small version of the project that demonstrates the problem (File -> Export As Zip).
 
Upvote 0

RichardN

Well-Known Member
Licensed User
Longtime User
Got it......

Surely a label can be any text..... No!

B4X:
<application android:icon="@drawable/icon" android:label="Fish [COLOR="Red"]&[/COLOR] Chips">

Works fine after removing the '&'. Perhaps you might like to think about trapping illegal characters in application label strings?

Thanks for the pointers guys.

R.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…