简体   繁体   English

编译混淆错误

[英]Compile obfuscated error

when I 'm compiling my project in B4A using the obfuscated option, I get the below error: 当我使用混淆选项在B4A中编译项目时,出现以下错误:

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 "". 在Process Globals中,我声明了变量ActivityResponse,并在同一行中将其设置为“”。

Dim ActivityResponse as String: ActivityResponse = ""

That was the problem. 那就是问题所在。 Thanks again. 再次感谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM