Questions tagged [android-studio-3.1]

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].

185 questions
32
votes
4 answers

Android Studio Image Asset Launcher Icon Transparent Background Color

You might be thinking this question is a duplicate of this one. But since then, Android Studio has been updated and the solution given there is not working anymore. I am trying to set my app logo using image asset in android studio. This is because…
Jaydip Kalkani
  • 2,493
  • 6
  • 24
  • 56
32
votes
6 answers

Error running 'app': Unknown error in Android studio 3.1

I have updated my android studio to new stable version 3.1. After build project not able to run. Let me know if anyone have face same issue or find any solution.
Devganiya Hitesh
  • 1,207
  • 2
  • 17
  • 31
30
votes
8 answers

Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true

Today I receive this error, while exactly same code was working an hour ago Error:Kotlin: Unsupported plugin option: org.jetbrains.kotlin.android:enabled=true and this, and project doesn't run: Cause: duplicate entry:... Update : Deleting…
AVEbrahimi
  • 17,993
  • 23
  • 107
  • 210
30
votes
2 answers

Android Studio 3.1 Logcat prefix not always showing and breaking pretty logger

Since the new version of Android Studio (3.1) the Logcat window doesn't always show the prefix (03-28 12:43:01.091 nl.test.app D/log). I made my own logger, which prints in a pretty way, but this gets broken since some lines are no longer with the…
Kevin van Mierlo
  • 9,554
  • 5
  • 44
  • 76
29
votes
10 answers

Where is a "Sync project with gradle files" button in Android Studio 3?

This button disappeared from a new 3.1 version of AS Toolbar. Before it showed as: Now it's missing:
CoolMind
  • 26,736
  • 15
  • 188
  • 224
27
votes
10 answers

Android 3.1.1 - Failed resolution of: Lcom/google/android/gms/common/internal/zzbq;

since I've updated to Android Studio 3.1, my project is not running anymore. I have searched for a solution all over the internet with no positive results. Here's the error I get in the Logcat: --------- beginning of crash 04-13 13:33:55.466…
Frank Eno
  • 2,581
  • 2
  • 31
  • 54
26
votes
3 answers

Save Screenshot option is missing in Android Studio 3.1

I have updated android studio from 3.0.1 to 3.1,now there is no option for directly view the XML file in Android studio 3.0.1 there is option for Save Screenshot Now in update android studio version to 3.1,it's missing is it moved to any other…
MJM
  • 5,119
  • 5
  • 27
  • 53
20
votes
2 answers

After Updating Android Studio 3.1, I am getting these warnings after each build

Android Issues Warnings Stripped invalid locals information from 1 method. Stripped invalid locals information from 1 method. Message{kind=WARNING, text=Stripped invalid locals information from 1 method., sources=[Unknown source file], tool…
18
votes
15 answers

Android studio 3.1 XML preview not showing for some XML layouts

Some layouts are shown, some just have blank, gray frame. I can't seem to find a correlation between XML layouts that work and those that do not, there is a mixture of use of binding, constraint layout, varied in complexity and length, error-free.…
P.C. Blazkowicz
  • 489
  • 1
  • 4
  • 11
18
votes
3 answers

Android Studio 3.1 Where is the TimePicker in the Layout Editor

On upgrade to Android Studio 3.1 there is no TimePicker in the layout editor palette. Search doesn't find it. In fact all of the picker controls seem to have vanished. They were there in 3.0.
Mike James
  • 749
  • 6
  • 9
18
votes
7 answers

Gradle project sync failed after Android-Studio (3.1) update

After an update I made on 27-03-2018, my gradle sync is failing.I am getting the error Could not find org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2. I am posting my gradle files below. I have tried cleaning and rebuilding the project, but it is still…
17
votes
2 answers

Saving Files in Android - For Beginners (Internal / External Storage)

I'm very new to android development and I need a beginners help please... I am creating an app that should have 2 directories, a Databases directory and an Images directory, just like Whatsapp has. I want to see those directories in the File Manager…
16
votes
1 answer

After Android Studio 3.1.1 update, the 'locate' link does not open generated APK folder

UPDATE: The problem came after Android 3.1.1 update. After APK generation process is completed, Android Studio (Windows OS) propose a popup to locate or analyze the APK. Unfortunately if I click on locate, nothing is happening. UPDATE In the APK…
Seraphim's
  • 12,559
  • 20
  • 88
  • 129
15
votes
3 answers

Error:Failed to resolve: common in android studio

I have reinstalled the android studio, and while opening my old project again it shows below error: Error:Failed to resolve: firebase-messaging Open File Error:Failed to…
15
votes
7 answers

Received status code 407 from server: Proxy Authentication Required

After Updating Android Studio and Gradle i get below error. What i have tried: 1. I'm using a proxy and have tried automatic and manual proxy settings. check connection works and is successful, android sdk updates also shows but libraries and…
1
2
3
12 13