Error in creating an extension

This is my whole code
https://res.cloudinary.com/df3qkgfyp/raw/upload/v1629431329/Popup_ts7k04.java

Same code I used

No. Litle diferent.

s.length 

vs

s.length()
1 Like

Where are you writing you code? Not in a IDE like Eclipse?

I write in appy builder code editor

Thank you @Patryk_F

Strongly recommend the aixc and eclipse for extention developing:
https://www.kevinkun.cn/aixc
please translate by google.

Hey @Patryk_F again I face same error after removing ()

Help me I want to compile this fast

My mistake. I took a wrong look somewhere. This code compiles for me:
Popup.txt (3.7 KB)

1 Like

@Faraz_Firoz try to compile with https://ide.niotron.com/

1 Like

Don't use it. This is an old and outdated environment.

3 Likes

Ok friends I try I niotron ide

1 Like

Same error in niotron ide
Please see code from start to end and tell me error

Check my code which I put in the txt file. For me, this code compiles correctly in the AI2 source environment. In Niotron too.

Please give that code agian

1 Like

How we create extension in AI2 sources? From where? What are the required things?

read the App Inventor Extensions document

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

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