Why isn't this working?

When making an extension with the IDE, I canโ€™t seem to get AndroidViewComponent working. Can I know why?

1 Like

Because this is used only for visible components

My extensions arenโ€™t visible components and it works by me building source. I already did the extension with my computer since I figured I wouldnโ€™t have to rebuild source since I donโ€™t have a lib with it.

Whatโ€™s the error message?

As long as your class doesnโ€™t extend AndroidViewComponent and only uses it in parameter types, I see no reason why your extension wonโ€™t build.

1 Like

It just says that thereโ€™s no class with that nameโ€ฆ

[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/something.java:43: error: cannot find symbol
[javac] symbol:   class AndroidViewComponent

Iโ€™m not gonna put the code, but at this point itโ€™s useless since Iโ€™ve already built my extension with my own source which took a shorter amount of time than the IDE.