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
8
votes
1 answer

Android Studio - Flutter Plugin - Moving method to another file by refactoring

Why I cannot (?) move a method from one Dart file to another using Android Studio and Flutter Plugin? My file is getting big and I decided to refactor it by separated some Widget build methods to their own files. I started by selecting one of the…
alexpfx
  • 6,412
  • 12
  • 52
  • 88
8
votes
2 answers

Flavors - No matching client found for package name

My Gradle is like bellow: apply plugin: 'com.android.application' apply plugin: 'io.fabric' apply plugin: 'com.google.gms.google-services' buildscript { repositories { mavenCentral() maven { url 'https://maven.fabric.io/public'…
user4813855
8
votes
3 answers

"ADB not found" error in Android Studio 3.1.2 with Device File Explorer

I upgraded Android Studio to 3.1.2 and when I want to use the Device File Explorer, I got the "Error initializing ADB:Android Debug Bridge not found."error, however, my adb works fine in both cmd and powershell, how can I fix this error?From the…
Longxing
  • 416
  • 5
  • 9
8
votes
2 answers

Android Studio - Cannot resolve symbol themes, colorprimary,

I am seeing in Android Studio 3.1.2 an error for AppCompat themes and colors attributes like attr/colorPrimary. But only in Android Studio. Compile and run does work. For example: My app.gradle: supportLibVersion is 27.1.1!
chrisonline
  • 6,949
  • 11
  • 42
  • 62
8
votes
2 answers

Rendering the Google Recaptcha in Android Studio 3

I am using Android Studio 3 I am following this article to learn how to use Google Recaptcha in Android Studio. Installed the package using this: implementation 'com.google.android.gms:play-services-safetynet:12.0.1' API keys are also registered. I…
Pankaj
  • 9,749
  • 32
  • 139
  • 283
8
votes
2 answers

Multiple Github account in android studio

I am working on different client projects and each will have different git user (username and password will be different). I am not able to find a way to save multiple git account against each project (multiple git clone urls). How can we configure…
Muhamed Riyas M
  • 5,055
  • 3
  • 30
  • 31
8
votes
1 answer

How to show download progress from Firebase Storage on Android

How to show downloading progress from firebase storage. I am able to download file but not able to show progress of downloading. How can I do this? Here is my simple code to download .mp3 file from firebase storage -> fun getSound(dSoundIndex…
Sajan Josan
  • 123
  • 2
  • 11
8
votes
3 answers

'More than one file was found with OS independent path project.properties' Error in android

I'm getting this error after I added google translate api on my project. I am using Android Studio 3.0, Gradle 3.0.0. Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'. More than one file was found with OS…
IldiX
  • 591
  • 1
  • 7
  • 16
8
votes
4 answers

Android Studio 3.0 Logcat continuously showing messages and does not stop

When I start debugging my App in Android Studio 3.0 and open the Logcat, it displays so many messages and warnings, but the problem is, it never stops, even when the debugging is completed and the App is terminated, it still prints so many messages…
8
votes
3 answers

Android Studio 3.0 migration AAPT2 error

After migrating my existing project to Android Studio 3.0, it is not compiling. Below are the log details: Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2…
8
votes
5 answers

DexArchiveMergerException: Unable to merge dex - Android Studio 3.0 Stable

I made: In "Settings"->"Android SDK"->"SDK Tools" Google Play services is checked and installed v.46 Removed folder /.gradle "Clean Project" "Rebuild Project" Error is: Error:Execution failed for task…
NickUnuchek
  • 11,794
  • 12
  • 98
  • 138
8
votes
2 answers

Variant debug has no output with type INSTANT_RUN_MERGED_MANIFESTS

What I want to do & the problem I updated my Android Studio and Android Gradle Plugin to 3.0.0 and my Gradle Wrapper to 4.2.1 and want to build & deploy my Android Gradle project on a device via IDE. Building succeeds When I try to deploy my :app…
8
votes
3 answers

Gradle could not find dependency com.google.android.gms:play-services

I have a problem since I upgraded my Android Studio to 3.0.0 : I cannot find com.google.android.gms:play-services anymore! After adding this dependency, when I try to sync my project I get this message : Failed to resolve:…
8
votes
3 answers

The following packages are not available: - Package id lldb;3.0 - Android Studio 3.0

I get this error when I try to debug the app. I have tried the steps mentioned in this links but they don't work. I am using windows. Android Studio 2.2.2 LLDB 2.2 update issue I checked SDK Tools there is no update for LLDB. Also tried deleting the…
Akash Amin
  • 2,741
  • 19
  • 38
8
votes
2 answers

Build unsuccessful after updating android studio to 3.0. Error:Found unexpected optical bounds (red pixel)

I updated my Android Studio to 3.0 in Ubuntu. When I loaded a project it fails to build and the same project has no issues when it was built in previous version(v2.3) of Android Studio. And the error says, Error:found unexpected optical bounds (red…
devgun
  • 1,003
  • 13
  • 33