D devlei Active Member Licensed User Longtime User Aug 18, 2011 #1 I wanted to change the Home/Starting page of my app. So I 'Saved As' my initial "Main" Activity as "New" Activity (a bit confusing because "New" is actually the old one). The existing "Main" activity I changed to the way I wanted it. I updated the code in the corresponding modules (Main & New), but when I try run the app (Bman) I get the following error: Code: Copy Compiling generated Java code. Error javac 1.6.0_21 src\B4A\Bman\main.java:215: illegal start of type public new _new = null; ^ 1 error Can anyone point me in the right direction?
I wanted to change the Home/Starting page of my app. So I 'Saved As' my initial "Main" Activity as "New" Activity (a bit confusing because "New" is actually the old one). The existing "Main" activity I changed to the way I wanted it. I updated the code in the corresponding modules (Main & New), but when I try run the app (Bman) I get the following error: Code: Copy Compiling generated Java code. Error javac 1.6.0_21 src\B4A\Bman\main.java:215: illegal start of type public new _new = null; ^ 1 error Can anyone point me in the right direction?
thedesolatesoul Expert Licensed User Longtime User Aug 18, 2011 #2 'New' is a reserved keyword. Use another variable. Upvote 0
D devlei Active Member Licensed User Longtime User Aug 18, 2011 #3 Thank you so much!!! Such as basic mistake that I just didn't see. Upvote 0