I try to create new extension

Hi i try to create my first extension with makeroid ide but i always get this error

AndroidRuntime:
[mkdir] Created dir: /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
[javac] Compiling 313 source files to /home/Makeroid/appinventor/components/build/classes/AndroidRuntime
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /home/Makeroid/appinventor/components/src/com/google/appinventor/components/runtime/Factorial.java:25: error: class NewExtension is public, should be declared in a file named NewExtension.java
[javac] public final class NewExtension extends AndroidNonvisibleComponent {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
[javac] 1 warning

You need to rename “NewExtension” to “Factorial”

1 Like

uhhh thx havent noticed

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.