the error is
E:\extensions\appinventor-sources-master\appinventor\components\src\com\parmarprovisionstore\test.java:25: error: class Test is public, should be declared in a file named Test.java
and the code is
package com.parmarprovisionstore;
import com.google.appinventor.components.annotations.DesignerComponent;
import com.google.appinventor.components.annotations.DesignerProperty;
import com.google.appinventor.components.annotations.PropertyCategory;
import com.google.appinventor.components.annotations.SimpleEvent;
import com.google.appinventor.components.annotations.SimpleFunction;
import com.google.appinventor.components.annotations.SimpleObject;
import com.google.appinventor.components.annotations.SimpleProperty;
import com.google.appinventor.components.annotations.UsesPermissions;
import com.google.appinventor.components.common.ComponentCategory;
import com.google.appinventor.components.common.PropertyTypeConstants;
import com.google.appinventor.components.runtime.AndroidNonvisibleComponent;
import com.google.appinventor.components.runtime.ComponentContainer;
@DesignerComponent(
version = 1,
description = "Extension made with Kodular IDE",
category = ComponentCategory.EXTENSION,
nonVisible = true,
iconName = "https://ide.kodular.io/assets/logo.png")
@SimpleObject(external = true)
public final class Test extends AndroidNonvisibleComponent {
/**
* Creates a new component
*/
public Test(ComponentContainer container) {
super(container.$form());
}
@DesignerProperty(editorType = PropertyTypeConstants.PROPERTY_TYPE_STRING,
defaultValue = "screenshot.jpg")
@SimpleProperty
public void FileName(String fileName) {
this.fileName = fileName;
}
}