Android Question Upgrade B4A 8.00 to 8.80 XUI Views

Pete_S

Member
Licensed User
I recently upgraded to 8.80
I added the XUI Views library to my old project and it compiled OK without any code changes.
I tried to make code changes to replace a Button with a SwiftButton and I get the following error:

B4A Version: 8.80
Parsing code. (0.06s)
Building folders structure. (0.02s)
Compiling code. (0.12s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.07s)
Compiling debugger engine code. Error
B4A line: 193
End Sub
javac 1.8.0_191
shell\src\com\sobolsoft\russian\b4xcolortemplate_subs_0.java:851: error: cannot find symbol
if (RapidSub.canDelegate("show")) { __ref.runUserSub(false, "b4xcolortemplate","show", __ref, parent._dialog); return;}
^
symbol: variable parent
location: class b4xcolortemplate_subs_0
1 error
 

Pete_S

Member
Licensed User
1.
B4A Version: 8.80
Parsing code. (0.07s)
Building folders structure. (0.03s)
Compiling code. (0.05s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (0.08s)
Compiling generated Java code. Error
B4A line: 193
End Sub
javac 1.8.0_191
src\com\sobolsoft\russian\b4xcolortemplate.java:551: error: cannot find symbol
ResumableSub_Show rsub = new ResumableSub_Show(this,parent._dialog);
^
symbol: variable parent
location: class b4xcolortemplate

2. Yes, your XUI Views Example code runs fine.

3. I deleted:
\Program Files (x86)\Anywhere Software\Basic4android\Libraries
folder and reinstall B4A 8.80 (using the B4A.exe setup that you sent to me when I purchased)
I still get the same error.
Is this what you wanted me to do? Or did you want me to do something with the Objects folder in my code files?
 
Upvote 0

Pete_S

Member
Licensed User
I removed the module "Dialog" and it worked thanks.

I will use the name "Dialog1" for the module in the future.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…