Hello, I’m trying to learn how to create extensions here for Kodular, but I’m not succeeding. I tried to replicate everything I saw in this YouTuber’s playlist https://www.youtube.com/playlist?list=PL4yqDBLrt3wucpLoFuXCtDlQeiuQxb0is but I’m not able to create the extension because it always gives an error.
Here is the image of the error, and yes, I’m using Vscode as a code editor.
Double-check the code you’ve written against the examples. Make sure all your imports are correct and that there are no typos. Also, verify that your environment is set up properly in VSCode. Sometimes, missing dependencies can cause errors.
1.Your main mistake is that you are trying to build the extension in Visual Studio Code, and not in Rush. The video on your link specifically indicates that the extension is going to Rush, and not something else. not in Visual or Android Studio
2. The errors that you are experiencing indicate that libraries are needed for compilation that the compiler has never heard of at all. for example, com.google.appinventor.components.annotations. * and others created by Appinventor. Therefore, if you continue in this spirit, you should download or create these libraries from the provided APPInvertor resources. and get libraries at least CommonConstants.jar, AnnotationProcessors.jar,AndroidRuntime.jar.
This is a completely different topic. it is quite extensive. but it will allow you to create an extension directly on Android Studio with a few caveats… but this is a difficult path for a samurai so far, I’ve downloaded, compiled libraries and exposed dependencies… it took a lot of time, and it’s actually much easier and faster to use other compilers. unless on the same Android Studio you can see the result immediately and not upload the extension to the editor.
And finally, about your link to the course, these are some real cuts. before creating extensions on Rush, the author of the course at least explained what it consists of and how to configure it)
if you use Rash, then 8 version java is more than enough. Rash compilers understand the mnemonics of Java 7 operators, not Java 8, which is considered obsolete in principle.
If you want to go further and create a library for use in other compilers, then you will need 17 java (although the APPInvertor documentation mentions that you need 11 java. but in practice, some classes require a minimum of 17. the paradox
Hi, how are you? So, I’m new to the extension creation community. I still don’t know the correct or right way to create an extension, so I went looking for a tutorial on YouTube on how to develop an extension for Kodular and then I found this playlist: https://www.youtube.com/playlist?list=PL4yqDBLrt3wucpLoFuXCtDlQeiuQxb0is, but I’m having problems, because you can use VS Code to edit Rush extensions, but I really don’t know anything about it, lol, and that’s why I’m here. If you can tell me exactly where I went wrong, I’ll help you out, thanks.
Here’s what I’ve done so far.
Installed JDk
Followed the procedure to create an environment variable
Your Rush installation appears to be functioning correctly. However, you’re encountering code suggestion and auto-completion issues. Currently, Rush doesn’t offer VS Code support; therefore, you’ll need to manually configure VS Code to enable code suggestions within your project. Alternatively, you might consider using FAST, which provides code suggestion functionality for VS Code.