Science and Tech

Android introduces Studio Bot, an AI-powered developer tool capable of generating and fixing code

The new Android Studio Bot.


The new Android Studio Bot. – GOOGLE

May 12. (Portaltic/EP) –

Android has introduced the new tool for developers Studio Botwhich is capable of performing functions such as generate code and fix bugsin a conversational experience powered by Artificial Intelligence (AI) in Android Studio.

Within the framework of the annual Google I/O 2023 developer event, whose inaugural conference took place on Tuesday the 10th, the technology giant has announced some news for Android Studioas the inclusion of AI among its functionsin order to offer more facilities and tools to code developers who work creating ‘software’ and applications for the Google operating system.

In this sense, the company has presented Studio Bota new AI-powered tool, which is based on a coding bot capable of answering development queries for Android. With this tool, you enable features to generate code, fix bugs, find relevant resources, and even learn best practices.

In this way, Android intends save time on developer work using AI in a chat format that users can make queries in a simple way. Also, Studio Bot understands natural language so developers can easily ask.

Specifically, as Android has explained in a communication on the web of Android Studio, to use it you have to insert the queries in the main interface, which is the chat window. These questions can be very broad or even pose specific problems. For example, developers can ask questions like ‘I want to create a room database’ or ‘How do I add camera support to my app?’.

Thus, the new capabilities of Studio Bot allow it to be used to help in occasions such as creating test cases or updating APIs. In fact, in the chat interface, several entry points are offered to speed up the work.

In this sense, Studio Bot includes intelligent actions together with the generated code, as the possibility of insert the code in the open editor with just one click. Also offers useful resources according to the topics covered, facilitating access to relevant documentation pages with more information directly from the chat.

Likewise, the user can ask Studio Bot directly from your code base. This is an option in which, once you have selected the text you want to ask about in the code editor, you can click on the ‘Ask Studio Bot’ option to complete the chat message with said code.

Studio Bot is currently a “initial experiment” which has been trained on a curated data set that represents “best practices for Android development”.

However, it is a preview versionso Android warns that, for the moment, may provide misleading or inaccurate information. That is, Studio Bot may offer suboptimal or incomplete code that is not capable of performing the function that developers want. For this reason, Android suggests to all developers who are encouraged to use it that review the answers and “carefully” test the code.

At the moment, Studio Bot is only available to US developers who want to try this bot by downloading the latest Canary version of Android Studio Hedgehog, in order to “evaluate the quality and performance” of the tool.



Source link