Extensions Build Category Error

Hi,
Any Extensions developer online now? My error showing :

@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_BOOLEAN, defaultValue = "True")
    [javac]                                    ^
    [javac]   symbol:   variable PropertyTypeConstants
    [javac]   location: class AartiViewer
    [javac] C:\appinventor-sources-master\appinventor\components\src\io\kodular\nandan\aartiEXT\AartiViewer.java:267: error: cannot find symbol
    [javac]     @DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_COLOR, defaultValue = "&FFFFFFFF")
    [javac]                                    ^
    [javac]   symbol:   variable PropertyTypeConstants

I need Kodular components type Name/help on this to fix. Please Guide.

Did you import this library?

import com.google.appinventor.components.annotations.PropertyTypeConstants

2 Likes

Instead of extension-template, I suggest you use FAST-CLI. It provides support for auto code suggestions in VS Code, IntelliJ IDEA & Android Studio.

2 Likes

I confirm, I’m starting to get into the world of extensions and I confirm that this program is phenomenal and saves you a lot of time.

2 Likes