Android Question error "current module does not support adding members"

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

After adding a custom view I get the following errors when trying to add a member using the "Generate" menu item.

current module does not support adding members

Why? I thought we are allowed to add them to custom views.

Do I need to set something? This is happening to all custom views I try to add a member to.

The attached screen shots shows what happens when I tried to add the Dim statement.

Thanks.
 

Attachments

  • Screen Shot 2018-02-24 at 20.20.52.png
    Screen Shot 2018-02-24 at 20.20.52.png
    326.2 KB · Views: 350
  • Screen Shot 2018-02-24 at 20.20.33.png
    Screen Shot 2018-02-24 at 20.20.33.png
    355.5 KB · Views: 308

rleiman

Well-Known Member
Licensed User
Longtime User
Looks like I may have found a bug in the designer.

I added an image view and tried to add some members to it and was able to do so. Next I tried to do the same thing to the custom views and I was able to do it without any errors.

The error originally happened after I copied and pasted a custom view from another app so it seems the coping and pasting caused the error to surface.
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Erel,

An activity module was open at the time but the next time it happens, I will try closing the designer and clicking through the other modules and returning to the activity module or closing the app and re-opening it and try again.
 
Upvote 0
Top