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?

有帮助吗?

解决方案

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.

其他提示

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top