ta1dr Member Licensed User Longtime User Aug 25, 2016 #1 Hello All I update my B4J for 4.50 versiyon but when I compile debug mode give error... do you have any solution ? , B4J version: 4.50 Parsing code. (0.00s) Compiling code. (0.01s) Compiling layouts code. (0.00s) Compiling generated Java code. Error javac 1.8.0_40 src\b4j\example\main.java:57: error: method shouldDelegate in class Debug cannot be applied to given types; if (Debug.shouldDelegate(ba, "appstart")) ^ required: String found: BA,String reason: actual and formal argument lists differ in length 1 error Click to expand... Non-UI application (console / server application) #Region Project Attributes #CommandLineArgs: #MergeLibraries: True #End Region Sub Process_Globals Dim osc As Int=270 Dim i As Int=0 Dim txt As String="" Dim ax As String End Sub Sub AppStart (Args() As String) txt=osc i=(txt.Length -1) Do Until i=0 txt="0" & txt i=i-1 Loop ax=txt osc=0 LogDebug("test") End Sub B4X:
Hello All I update my B4J for 4.50 versiyon but when I compile debug mode give error... do you have any solution ? , B4J version: 4.50 Parsing code. (0.00s) Compiling code. (0.01s) Compiling layouts code. (0.00s) Compiling generated Java code. Error javac 1.8.0_40 src\b4j\example\main.java:57: error: method shouldDelegate in class Debug cannot be applied to given types; if (Debug.shouldDelegate(ba, "appstart")) ^ required: String found: BA,String reason: actual and formal argument lists differ in length 1 error Click to expand... Non-UI application (console / server application) #Region Project Attributes #CommandLineArgs: #MergeLibraries: True #End Region Sub Process_Globals Dim osc As Int=270 Dim i As Int=0 Dim txt As String="" Dim ax As String End Sub Sub AppStart (Args() As String) txt=osc i=(txt.Length -1) Do Until i=0 txt="0" & txt i=i-1 Loop ax=txt osc=0 LogDebug("test") End Sub B4X:
Erel B4X founder Staff member Licensed User Longtime User Aug 25, 2016 #2 Seems like you are still using an old version of the debug library. Uninstall B4J, make sure that all the libraries in the internal libraries folder were deleted and install v4.50 again. Upvote 0
Seems like you are still using an old version of the debug library. Uninstall B4J, make sure that all the libraries in the internal libraries folder were deleted and install v4.50 again.
ta1dr Member Licensed User Longtime User Aug 25, 2016 #3 thanks Erel... I reinstall all OK regards Upvote 0