Questions tagged [android-studio-3.0]

Use for questions about using Android Studio, an official IDE targeted at Android development. Do NOT use for questions about programming for Android in general; instead use [android].

Android Studio is the official IDE for Android development, and includes everything you need to build Android apps.

For more updates about Android Studio 3.0 check out these videos

  1. AS 3.0
  2. Java 8 support
  3. The new Profiler
1629 questions
16
votes
2 answers

Gradle sync Error on Android Studio 3.1 Canary 3

Hey fellows after update Android Studio to 3.1 Canary 3 I've just created fresh project but gradle synchronization failed…
murt
  • 3,790
  • 4
  • 37
  • 48
16
votes
2 answers

Android Studio 3.0 Preview missing 'use the same device for future launch' checkbox

I faced a bug with Android Studio 3.0 Preview. When I plug the device, small useful checkbox is missing. Does anybody know how to enable it?
Lukas
  • 1,216
  • 12
  • 25
16
votes
4 answers

Issues with resources generated by react in Android Studio 3

I recently upgraded to Android Studio 3 gradle plugin: 3.0.0-beta2 gradle: 4.1 In our project we use: "react-native": "0.46.4" with the codepush plugin. Building: gradlew assembleStagingDebug works just fine, but as soon as I try to build…
Mike T
  • 1,194
  • 14
  • 25
16
votes
2 answers

Why Android change 'compile' to 'implementation' configuration in Gradle dependencies?

As seen in Android Studio 3.0 (canary 3.0), we now add depedencies by declaring implementation instead of compile configuration. // Before compile 'com.android.support:appcompat-v7:25.3.1' // Currently implementation…
Quang Nguyen
  • 2,600
  • 2
  • 17
  • 24
16
votes
5 answers

Unable to compile under Android Studio 3.0 Canary 1

I attempt to compile my Android project under AS 3.0 Canary 1 (it works fine on AS 2.3.2 stable version) but failed with the following error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task…
chubao
  • 5,871
  • 6
  • 39
  • 64
15
votes
5 answers

Android Studio issue with HAXM

I am trying android studio 3.1 canary 5 release And when i created an avd of nexus 5 api 27 getting issue/warning reported in macintosh 10.13.2 After looking over to issue as mentioned to install HAXM of >=6.2.1 7:21 PM Emulator: WARNING: HAXM…
15
votes
6 answers

emulator broken: This adb server's $ADB_VENDOR_KEYS is not set

Well a windows 10 update broke sleep, the computer went to sleep with the emulator open and now that's broken. When I run an app to launch in the emulator it will boot the emulator but won't install just time out. When I try and run an app into a…
Sam
  • 1,659
  • 4
  • 23
  • 42
15
votes
7 answers

Android studio 3.0 Canary 6 A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction

All was fine until i updated the android studio to Canary 6, When i rebuild or clean or whatever with project it's throw : A failure occurred while executing com.android.build.gradle.tasks.MergeResources$FileGenerationWorkAction And this error…
user6490462
15
votes
2 answers

Android Studio 3.0 Emulator: Could not lock voice for audioInputDeviceIOProc

I seem to get this error while building my app on my emulator. I do not know what it the cause of it and it seems affecting my app which causes it my app to crash on the emulator. Emulator: coreaudio: Could not lock voice for…
15
votes
1 answer

Dagger 2 with Android Studio 3.0 Preview (Canary 2) using annotationProcessor instead of android-apt

"A long time ago in a galaxy far, far away...." Ok, long story short - I decided to give Android Studio 3.0 Preview (Canary 2) a shot and I cannot make it work with Dagger 2 using annotationProcessor instead of android-apt. The error message I get…
15
votes
1 answer

Replace Retrolambda with Android Studio 3.0 Java 8 built-in features

In my project I'm using popular library retrolambda. I've just downloaded new Android Studio 3.0 Canary 1. I've updated my project to use new version of Gradle etc. And everything is OK. What's new in Android Studio 3 is built in support for some…
adek
  • 3,045
  • 2
  • 27
  • 41
15
votes
1 answer

Incompatible Bitbucket plugin 1.2.1 for Android Studio 2.0/2.1/3.0+

I have updated version of my Android Studio to 2.0 and is facing incompatibility issue of bitbucket plugin 1.2.1 when loading Android Studio. Android Studio's Event log is saying: "Plugin Error Problems found loading plugins: Following plugins are…
14
votes
5 answers

Android Studio freezes when opening project on Ubuntu

Whenever I start Android Studio and click on "open existing project" the file explorer opens, but then the whole application immediately freezes. Im using Android Studio 3.1.3 and Ubuntu 16.04. What could be the reason for this error?
user2224350
  • 2,262
  • 5
  • 28
  • 54
14
votes
2 answers

Android studio 3.0: Studio Profilers encountered an unexpected error

My application runs perfectly. But my logcat give an error every time when I run my application: 12-11 20:45:42.539 946-1547/package E/StudioProfiler: Studio Profilers encountered an unexpected error. Consider reporting a bug, including logcat…
14
votes
4 answers

Configuration 'compile' in is deprecated, but all configurations are 'implementation'

I receive following warning while executing gradle in android: Configuration 'compile' in project ':app' is deprecated. But all my dependencies included via implementation configuration. (And modules too) Are there any "invisible" dependencies in…
Valentin Baryshev
  • 2,195
  • 3
  • 15
  • 24