Google has presented an update to its integrated development environment (IDE), Android Studio. This update incorporates an advanced AI-powered code generation assistant based on the AI model Gemini Pro. Google promises developers increased efficiency and innovative capabilities in app creation processes.
Not Just a Code Editor
Android Studio doesn’t solely serve as a text editor for code writing but offers developers a suite of tools. This includes an emulator that allows for launching virtual Android smartphones on Windows and utilizing them for app testing and debugging.
Google’s Venture Into AI
In May of the previous year, Google implemented the generative artificial intelligence Studio Bot into its IDE, derived from the large language model (LLM) PaLM 2, which Google announced in that same month. Six months following the debut of PaLM 2, Google introduced its flagship LLM series, Gemini, encapsulating three models with varying capabilities and hardware requirements.
Gemini Pro in Android Studio
The updated chatbot in Android Studio operates on Gemini 1.0 Pro, an AI model in the series optimized for high-quality responses and efficient hardware resource usage. Google has also announced an update to Gemini 1.5 Pro which, according to the company’s internal testing, surpasses its predecessor in 87% of benchmarks, successfully managing tasks with more than 100,000 lines of code.
User Experience And Quality Enhancements
Android Studio Product Manager Sandhya Mohan expressed that using Studio Bot in the Canary channel had already displayed the technology’s potency and usability. However, with the transition of the chatbot to Gemini Pro, users will witness considerable improvements to response quality.
The chatbot is equipped to reply to general Android inquiries, such as integrating apps with the operating system’s location tracking feature. It can also answer project-specific questions. For instance, a developer can seek advice on removing record duplicates from a dataset that an app uses for certain functions.
Gemini Pro’s Extensive Capabilities
Gemini Pro’s capabilities in Android Studio cover even more complex tasks. Google states that the new AI assistant can rewrite code across various programming languages, generate entire sections of app interfaces, and draft documentation for new code, explaining its functionality and workings principle.
Activating Gemini In Android Studio
To activate Gemini, users must sign in and enable the feature in settings. Most capabilities are available without uploading a code context, and chatbot responses are based on communication history, granting users data privacy control.
This post was last modified on 04/30/2024