N Nitin Joshi Active Member Licensed User Longtime User Mar 26, 2021 #1 I am facing below error while debugging the project. What could be the reason? B4A Version: 10.70 Parsing code. (0.02s) Java Version: 8 Building folders structure. (0.02s) Running custom action. (0.06s) Compiling code. (0.07s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) (AndroidX SDK) Compiling resources (0.46s) Linking resources (0.30s) Compiling debugger engine code. Error B4A line: 24 End Sub javac 1.8.0_201 shell\src\B4X\test\main_subs_0.java:388: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types; b4xmainpage_subs_0._process_globals(); ^ required: RemoteObject found: no arguments reason: actual and formal argument lists differ in length 1 error
I am facing below error while debugging the project. What could be the reason? B4A Version: 10.70 Parsing code. (0.02s) Java Version: 8 Building folders structure. (0.02s) Running custom action. (0.06s) Compiling code. (0.07s) Compiling layouts code. (0.00s) Organizing libraries. (0.00s) (AndroidX SDK) Compiling resources (0.46s) Linking resources (0.30s) Compiling debugger engine code. Error B4A line: 24 End Sub javac 1.8.0_201 shell\src\B4X\test\main_subs_0.java:388: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types; b4xmainpage_subs_0._process_globals(); ^ required: RemoteObject found: no arguments reason: actual and formal argument lists differ in length 1 error
aeric Expert Licensed User Longtime User Mar 26, 2021 #2 Something wrong at line 24. You may post your code here. Upvote 0
N Nitin Joshi Active Member Licensed User Longtime User Mar 26, 2021 #3 Thanks Aeric, I found error. I declared sub "Process_Global" in B4XMainPage. This is not acceptable. I changed to "Global". It worked, Upvote 0
Thanks Aeric, I found error. I declared sub "Process_Global" in B4XMainPage. This is not acceptable. I changed to "Global". It worked,