Extension Developers | Updated AppInventor Sources?

(Abhijith) #1

Hi,
I just updated my AppInventor Sources and oh no… no… I messed up everything! It’s not working as the build.xml Files are Different! The Documentation is old compared to the latest Sources. Have you guys Noticed the Changes? Any Suggestions on how to use the new Build Files?

FOR THOSE WHO ARE STARTING TO MAKE EXTENSIONS DONT FOLLOW THE OLD DOCUMENTATIONS AS it’s DIFFERENT SOMEWHAT…

2 Likes

(Yusuf Cihan) #2

Why you don’t use Kodular IDE :sunglasses:?

3 Likes

(Abhijith) #3

Limitations… There is no support for external jar files which is a huge limitation for me as i make Extensions mainly which are external

1 Like

(Abhijith) #4

My extensions are Compiling Again Once i switched back to Old AppInventor Sources

0 Likes

(Cian) #5

I agree here. I wish we could support external jar files.

1 Like

(MeteorCoder) #6

You guys are gonna have to upgrade to the Premium Plan when it releases then like they’ve said. The reason I don’t use the IDE is because the limit to not being able to change your package name.

0 Likes

(MeteorCoder) #7

By the way, I did some more research and this seems to be the issue:

Unfortunately, these implicit relationships are not present
when running either ant extensions or ant RunLocalBuildServer,
which results in a broken build.

Edit at 11:07 PM

I am testing a possible solution.

Edit at 11:39 PM

OK, I have no idea what error you’re getting, but if you could tell us that would help a lot because for me I updated and Lite compiled within 4 minutes and normally it takes 9-10 which is a huge improvement.

Edit at 11:46 PM

Hmmm, it’s literally a broken build, no definition files :thinking:

1 Like

(Abhijith) #8

My Problem was that When i Compile my extension the size was 16kb which was 1MB+. I thought woah great update the size reduced and then while testing the app crashes

The SDK is not being imported… I fixed it by reverting back to the old sources

1 Like

(Abhijith) #9

The Same thing with me but the extension won’t work…

1 Like

(Gameing live) #10

do you have forked of old source at your github if yes please give me link cuz i have clone it from mit github but i dont know how to add external library in it please give me old one

0 Likes

(MeteorCoder) #11

I simply made a new folder so I would still be able to build extensions:

Just put the extracted contents on our Desktop and you won’t have to take any extra steps to build except click the build-extensions.bat to being building. I’ve made a PR to add this to default AI to help beginners build their extensions.

2 Likes

(Abhijith) #12

Do you know any easy way to add external Libraries? I’m tired of adding lot of libraries

0 Likes

(MeteorCoder) #13

Ask or search here.

1 Like

(MeteorCoder) #14

OK everyone, you can upgrade to the latest AI Source. I’ve gotten clarification on what you have to do.

After upgrading to the latest master for AI Sources do:
ant then after that is completed ant extensions and it should work.

If you get any errors from the console, just do ant extensions anyway after ant.

1 Like

(Gameing live) #15

this is the process for before the 1605 commit after 1605 commit i am able to build extensions i am looking for old source cuz in new on i am suck in importing external library

0 Likes

(Gameing live) #16

i downloaded this and when i am trying to import external lib its give me error that cannot find symbol can u please share how to add external lib i tried this its not working for me How to Add a Component

0 Likes

(MeteorCoder) #17

Well, that’s the old one.

0 Likes