I am receiving this error (not sure if to post here or in bugs/wish)
src\b4j\example\main.java:88: error: incompatible types: int cannot be converted to String
anywheresoftware.b4a.keywords.Common.Log(_decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"));
The routine returns an int (not Integer)
I can work round it by changing the code to
the xml def for this routine is
src\b4j\example\main.java:88: error: incompatible types: int cannot be converted to String
anywheresoftware.b4a.keywords.Common.Log(_decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"));
The routine returns an int (not Integer)
B4X:
Log(decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"))
I can work round it by changing the code to
B4X:
Log(""&decompiler.decompileToDir("c:/temp/src4decomp/bindertest.jar","c:/temp/testdecomp"))
B4X:
<method>
<name DesignerName="decompile_1">decompile</name>
<comment>generated</comment>
<returntype>int</returntype>
<parameter>
<name>jarPath</name>
<type>java.lang.String</type>
</parameter>
<parameter>
<name>outDir</name>
<type>java.lang.String</type>
</parameter>
</method>