Media & Entertainment

Google Launches Android Studio 2.0 With Improved Android Emulator And New Instant Run Feature

Comment

Image Credits: Bryce Durbin (opens in a new window) /

Google today launched version 2.0 of its Android Studio integrated development environment (IDE) for writing apps for its mobile operating system.

Android Studio, which is based on IntelliJlaunched back in 2013 and came out of beta a year ago. It includes everything a developer needs to build an app, including a code editor, code analysis tools, emulators for all of Google’s Android platforms, and more.

The new version is now available as a preview in the Canary release channel of Android Studio.

With version 2.0, as Google’s group product manager for Android Studio Stephanie Cuthbertson told me, the team wanted to build on the foundation it laid over the last two years and focus on speed. “For the IDE to be delightful, it doesn’t just have to be stable — but amazingly stabled,” she told me. The team felt that it achieved this with the last couple of releases.

AndroidStudio2.0_InstantRun

With this update, Google massively accelerated deployment speeds, for example. Cuthbertson tells me that a full build is now 2x to 2.5x faster than in previous releases. That’s a huge step forward, but what developers will likely appreciate even more in this new version is the addition of a new feature called “Instant Run.” This almost mimics the experience of writing HTML, where you write your code, reload your browser and see what changed. On mobile, that process typically takes quite a bit longer, even with the improved build speeds.

Instant Run lets developers build and deploy their apps once (both to the emulator or to a physical device) and then as they change their code and deploy it, it’ll only take a second or two before they can see those changes in the running app. This feature will work for all apps that target Ice Cream Sandwich and later. Cuthbertson politely refused to tell us how exactly Instant Run works, but promised that Google will detail the technology behind this feature in the future.

Given the size of the Android ecosystem, it’s almost impossible for most developers to test their apps on even the most popular devices early on in the development phase. With services like Xamarin Test Cloud, the AWS Device Farm and Google’s own Test Lab, developers have plenty of options to test their apps later on, but during the development process, most of the testing happens with the help of emulators. Google’s own emulator wasn’t always the fastest and easiest to use (to the point where Microsoft ended up releasing its own).

AndroidStudio2_Emulator

With this update, Google is introducing new emulators that, given modern hardware, should run faster than any physical device. The team also rebuilt the interface, so that it’s now easy to trigger typical actions like firing up the camera. Developers will also be able to emulate different network conditions and emulate the GPS (even with pre-configured paths). The emulator also includes access to all the standard Google Play services. Maybe more importantly, though, you can now simply resize the emulator window to test different screen sizes.

For developers who build graphics-intensive apps and games, the Studio now also includes a new GPU profiler. This will allow developers to see exactly what’s happening every time the screen draws a new image to trace performance issues, for example. This tool is still officially in preview.

AndroidStudio2.0_GPUProfiler_Preview

One area Google has recently focused on is app indexing, which brings content from apps into its search engine. The Android Studio team worked closely with the Search team to make it easier to enable this feature in new apps. The emulator now automatically generates deep links for Google Search, for example.

Before the launch of Android Studio, Google offered a number of tools for the Eclipse IDE. Earlier this year, Google announced that it would stop supporting this option at the end of the year, something Cuthbertson also stressed in our interview.

Chances are there are still quite a few Android developers who are using the old tools to develop their apps. At this point, though, Google’s official tools — which also include all the latest updates to IntelliJ — are likely the far better option for most, especially given that Google now offers a far improved build system in this new version of Android Studio.

More TechCrunch

Featured Article

Two students uncover security bug that could let millions do their laundry for free

CSC ServiceWorks provides laundry machines to thousands of residential homes and universities, but the company ignored requests to fix a security bug.

22 mins ago
Two students uncover security bug that could let millions do their laundry for free

OpenAI’s Superalignment team, responsible for developing ways to govern and steer “superintelligent” AI systems was promised 20% of the company’s compute resources, according to a person from that team. But…

OpenAI created a team to control ‘superintelligent’ AI —then let it wither, source says

TechCrunch Disrupt 2024 is just around the corner, and the buzz is palpable. But what if we told you there’s a chance for you to not just attend, but also…

Harness the TechCrunch Effect: Host a Side Event at Disrupt 2024

Decks are all about telling a compelling story and Goodcarbon does a good job on that front. But there’s important information missing too.

Pitch Deck Teardown: Goodcarbon’s $5.5M seed deck

Slack is making it difficult for its customers if they want the company to stop using its data for model training.

Slack under attack over sneaky AI training policy

A Texas-based company that provides health insurance and benefit plans disclosed a data breach affecting almost 2.5 million people, some of whom had their Social Security number stolen. WebTPA said…

Healthcare company WebTPA discloses breach affecting 2.5 million people

Featured Article

Microsoft dodges UK antitrust scrutiny over its Mistral AI stake

Microsoft won’t be facing antitrust scrutiny in the U.K. over its recent investment into French AI startup Mistral AI.

2 hours ago
Microsoft dodges UK antitrust scrutiny over its Mistral AI stake

Ember has partnered with HSBC in the U.K. so that the bank’s business customers can access Ember’s services from their online accounts.

Embedded finance is still trendy as accounting automation startup Ember partners with HSBC UK

Kudos uses AI to figure out consumer spending habits so it can then provide more personalized financial advice, like maximizing rewards and utilizing credit effectively.

Kudos lands $10M for an AI smart wallet that picks the best credit card for purchases

The EU’s warning comes after Microsoft failed to respond to a legally binding request for information that focused on its generative AI tools.

EU warns Microsoft it could be fined billions over missing GenAI risk info

The prospects for troubled banking-as-a-service startup Synapse have gone from bad to worse this week after a United States Trustee filed an emergency motion on Wednesday.  The trustee is asking…

A US Trustee wants troubled fintech Synapse to be liquidated via Chapter 7 bankruptcy, cites ‘gross mismanagement’

U.K.-based Seraphim Space is spinning up its 13th accelerator program, with nine participating companies working on a range of tech from propulsion to in-space manufacturing and space situational awareness. The…

Seraphim’s latest space accelerator welcomes nine companies

OpenAI has reached a deal with Reddit to use the social news site’s data for training AI models. In a blog post on OpenAI’s press relations site, the company said…

OpenAI inks deal to train AI on Reddit data

X users will now be able to discover posts from new Communities that are trending directly from an Explore tab within the section.

X pushes more users to Communities

For Mark Zuckerberg’s 40th birthday, his wife got him a photoshoot. Zuckerberg gives the camera a sly smile as he sits amid a carefully crafted re-creation of his childhood bedroom.…

Mark Zuckerberg’s makeover: Midlife crisis or carefully crafted rebrand?

Strava announced a slew of features, including AI to weed out leaderboard cheats, a new ‘family’ subscription plan, dark mode and more.

Strava taps AI to weed out leaderboard cheats, unveils ‘family’ plan, dark mode and more

We all fall down sometimes. Astronauts are no exception. You need to be in peak physical condition for space travel, but bulky space suits and lower gravity levels can be…

Astronauts fall over. Robotic limbs can help them back up.

Microsoft will launch its custom Cobalt 100 chips to customers as a public preview at its Build conference next week, TechCrunch has learned. In an analyst briefing ahead of Build,…

Microsoft’s custom Cobalt chips will come to Azure next week

What a wild week for transportation news! It was a smorgasbord of news that seemed to touch every sector and theme in transportation.

Tesla keeps cutting jobs and the feds probe Waymo

Sony Music Group has sent letters to more than 700 tech companies and music streaming services to warn them not to use its music to train AI without explicit permission.…

Sony Music warns tech companies over ‘unauthorized’ use of its content to train AI

Winston Chi, Butter’s founder and CEO, told TechCrunch that “most parties, including our investors and us, are making money” from the exit.

GrubMarket buys Butter to give its food distribution tech an AI boost

The investor lawsuit is related to Bolt securing a $30 million personal loan to Ryan Breslow, which was later defaulted on.

Bolt founder Ryan Breslow wants to settle an investor lawsuit by returning $37 million worth of shares

Meta, the parent company of Facebook, launched an enterprise version of the prominent social network in 2015. It always seemed like a stretch for a company built on a consumer…

With the end of Workplace, it’s fair to wonder if Meta was ever serious about the enterprise

X, formerly Twitter, turned TweetDeck into X Pro and pushed it behind a paywall. But there is a new column-based social media tool in town, and it’s from Instagram Threads.…

Meta Threads is testing pinned columns on the web, similar to the old TweetDeck

As part of 2024’s Accessibility Awareness Day, Google is showing off some updates to Android that should be useful to folks with mobility or vision impairments. Project Gameface allows gamers…

Google expands hands-free and eyes-free interfaces on Android

A hacker listed the data allegedly breached from Samco on a known cybercrime forum.

Hacker claims theft of India’s Samco account data

A top European privacy watchdog is investigating following the recent breaches of Dell customers’ personal information, TechCrunch has learned.  Ireland’s Data Protection Commission (DPC) deputy commissioner Graham Doyle confirmed to…

Ireland privacy watchdog confirms Dell data breach investigation

Ampere and Qualcomm aren’t the most obvious of partners. Both, after all, offer Arm-based chips for running data center servers (though Qualcomm’s largest market remains mobile). But as the two…

Ampere teams up with Qualcomm to launch an Arm-based AI server

At Google’s I/O developer conference, the company made its case to developers — and to some extent, consumers — why its bets on AI are ahead of rivals. At the…

Google I/O was an AI evolution, not a revolution

TechCrunch Disrupt has always been the ultimate convergence point for all things startup and tech. In the bustling world of innovation, it serves as the “big top” tent, where entrepreneurs,…

Meet the Magnificent Six: A tour of the stages at Disrupt 2024