Good morning,
sorry, this is my second question for this morning, but I can't find similar problems in the forum.
I created a new empty project in B4A 8.0.
Then I created a layout and saved it as "LayoutA".
After clicking on OK (for saving the layout in designer), I'm immediatly getting three warnings:
Warning 1:
File 'LAYOUTA.BAL' in Files folder was not added to the Files tab.
You should either delete it or add it to the project.
You can choose Tools - Clean unused files. (warning #14)
Warning 2:
Layout file 'layouta.bal' is not used. Are you missing a call to Activity.LoadLayout? (warning #16)
Warning 3:
File 'LAYOUTA.BAL' is not used (warning #15)
If I start the project in the emulator (click on the Play-Icon in the toolbar), I'm getting the following crash with error-details:
java.io.FileNotFoundException: /data/data/xxxxx/files/virtual_assets/layoutmain.bal: open failed: ENOENT (No such file or directory)
Note: I replaced the app-name by xxxxx in this thread. But: layoutmain.bal was the name of the layout of the project, I have opened before starting this new project. Is there a cache or something else, I can clean?
If I open older projects (which I have started prior B4A 8.0), then I have no Problems with layouts.
Thank you again and kind regards!
Wolfgang
sorry, this is my second question for this morning, but I can't find similar problems in the forum.
I created a new empty project in B4A 8.0.
Then I created a layout and saved it as "LayoutA".
After clicking on OK (for saving the layout in designer), I'm immediatly getting three warnings:
Warning 1:
File 'LAYOUTA.BAL' in Files folder was not added to the Files tab.
You should either delete it or add it to the project.
You can choose Tools - Clean unused files. (warning #14)
Warning 2:
Layout file 'layouta.bal' is not used. Are you missing a call to Activity.LoadLayout? (warning #16)
Warning 3:
File 'LAYOUTA.BAL' is not used (warning #15)
If I start the project in the emulator (click on the Play-Icon in the toolbar), I'm getting the following crash with error-details:
java.io.FileNotFoundException: /data/data/xxxxx/files/virtual_assets/layoutmain.bal: open failed: ENOENT (No such file or directory)
Note: I replaced the app-name by xxxxx in this thread. But: layoutmain.bal was the name of the layout of the project, I have opened before starting this new project. Is there a cache or something else, I can clean?
If I open older projects (which I have started prior B4A 8.0), then I have no Problems with layouts.
Thank you again and kind regards!
Wolfgang