Question

when I 'm compiling my project in B4A using the obfuscated option, I get the below error:

Compiling generated Java code.          Error
B4A line: 6
Dim ActivityResponse As String: ActivityResponse=\
javac 1.6.0_26
src\adamioan\cinemattica\com\actmovie.java:1192: array dimension missing
_vvvvv3 = BA.__b (new byte[] }, 680010);
                             ^
1 error

This error occures only with the obfuscated option; debug and simple compilation work great. Why is this happening?

Was it helpful?

Solution

Seems like a bug in the obfuscation feature related to empty strings. It will be fixed for the next update. Note that there is no need to assign empty strings as this is the default value. So for now just remove the assignment.

OTHER TIPS

Thank you both, it was my mistake. In the Process Globals I declared the variable ActivityResponse and in the same line I set this to "".

Dim ActivityResponse as String: ActivityResponse = ""

That was the problem. Thanks again.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top