Android Question .bal file trouble

pierrem

Member
Licensed User
Longtime User
Hi,

-Starting a fresh new project
-Launch the Designer from the IDE
-In the Designer, "Open File" ... then choose a .bal file from another directory.
-Got a message "files wil be copied ...", accepted
-the .bal file is correctly displayed in the Designer, with all the Viewes
-Save, in the Designer (.bal + .png are in the ./Files directory)

-Back to the IDE,
-Run (no error during compilation nor install on device)

-Error while running :
java.lang.RuntimeException: java.lang.RuntimeException: CustomView CustomType property was not set.

There is only 1 line in the code :
activity.loadlayout("filename.bal")

Where is my mistake ?

Thanks in advance
 

Attachments

  • project.zip
    10.7 KB · Views: 92

DonManfred

Expert
Licensed User
Longtime User
you are using objects of a customview... Probable one which came with one of the librarys (or class-files) from the other project....

You need to add the other needed files before you "import" a layout from another project.
 
Upvote 0
Top