LoadLayout Problem

grant1842

Active Member
Licensed User
Longtime User
I have not started a new project in a while.
I started one.
Went to Desighner added contactus.bal and saved main.bal as well.


Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("main")
End Sub
and u tried the contactus as well


and gives me error when i run the app on my tablet or emulator that the main.bal can not be fond .

Can someone help me figure this out.

I can open up any examples I download an they work fine.
 

Attachments

  • main.jpg
    48.6 KB · Views: 350

grant1842

Active Member
Licensed User
Longtime User
Thanks for your quick reply guys.
This is WEIRD .
I do not have the Do not overwrite manifest file checked.
I see the main.bal and the contactus.bal.
I switched to my wife's account on my computer I started Basic4android . I started a new project, etc and ALL works fine.
I switch back to my account and no go.
I wonder what the problem is when I am on my account ?
 
Upvote 0

grant1842

Active Member
Licensed User
Longtime User
Here is the project

Sorry for not posting last time.
 

Attachments

  • loadlayoutprob.zip
    8 KB · Views: 259
Upvote 0

klaus

Expert
Licensed User
Longtime User
Strange, your project works fine on my device.
So I don't know what exactly the problem is.
Are you sure that in the not working project main.bal is really in the Files folder of the project ?
I suggest you to open a new folder, copy the zip file you posted and try again.
Or try the attached project with a second activity 'contactus' in a new folder.

Best regard.
 

Attachments

  • loadlayoutprob1.zip
    8.5 KB · Views: 258
Upvote 0

grant1842

Active Member
Licensed User
Longtime User
Klaus Thanks for your efforts.
After trying several times it seems to be working now.
It is a weird issue.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…