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].
Questions tagged [android-studio-3.1]
185 questions
0
votes
2 answers
Android Studio 3.1.3 strange behavior when add new activity
Just started on this new existing project.
When i tried to add a new activity, or add new dependency, the whole project seems to loose all the dependencies. When i tried to run it says i need to select Android SDK.
I have tried everything, Sync…

Pedro Vilela
- 13
- 2
0
votes
1 answer
Buttons not showing in design time in Android Studio
Layout Code is like this.
Code

Pankaj
- 9,749
- 32
- 139
- 283
0
votes
1 answer
Android Studio 3.1 - Exception in plugin Android Support.Ocurred 2 times since the last clear.Unread. Disable Plugin
I'm new to Android Studio. I created a project and put an activity with the Navigation Drawer to later modify it to my liking, a package called menu was created automatically and within it activity_main_drawer.xml and main.xml.
However, when I try…

Ana Lisboa
- 3
- 4
0
votes
2 answers
"Could not find any version that matches com.google.android.gms:play-services-basement:[15.0.1,16.0.0)"
My project was working all right but today, when I tried to rebuild it, started showing above error. I checked the previous answers to the similar questions but couldn't resolve the issue. This is the build.gradle(Module: app) file.
apply plugin:…

Ayushh Srivastava
- 49
- 4
0
votes
0 answers
I am using Android Studio, the lastest one however when I try to drag and drop the text or button or anything it doesn't show up on the blueprint
I have had a look to see if the problem can be solved but I cannot find anything. I have a couple of errors shown below.
An imageError 1Error 2Error 3Error 4Error 5

Isabella Ketley
- 1
- 2
0
votes
1 answer
Where can I find list of variables available in Android Studio "Code and File Templates"?
When customizing java code and file templates, where can I get a list of variables that are available?
For example, in customizing java class, I know I can use ${USER} and ${DATE}, I guessed (correctly) that ${YEAR} was available ... but I would…

ErstwhileIII
- 4,829
- 2
- 23
- 37
0
votes
1 answer
Android Studio 3.1.2 0 - no longer see errors in all files (red underlined)
I feel like I'm going crazy, but since updating to the new version of Android Studio, I can no longer tell which files have errors in them.
Previously, if I made a change in one class, like to a method signature, then all other classes that were…

Russ Wheeler
- 2,590
- 5
- 30
- 57
0
votes
1 answer
Can't import external project as module in Android Studio 3
I have an app already published on the store, after upgrading to Android Studio 3 (now 3.1) and the forced update of gradle I am unable to import my external projects as modules.
I have tried removing all my modules and adding them one by one,…

firegloves
- 5,581
- 2
- 29
- 50
0
votes
1 answer
How do delete file from index in Git VCS?
Unable to commit files in Android Studio 3.1.1, getting below error:
Commit failed with error 0 files committed, 2 files failed to commit:
Will not add file alias 'app/src/main/java/com/LoginFragment.java'…

Sia
- 47
- 1
- 1
- 9
0
votes
1 answer
After upgrading to the new Android Studio I have been having error
It gives this build error for any project: Please find the picture attached below
Cause: aidl is missing from 'C:\Users\onyeb\AppData\Local\Android\Sdk\build-tools\27.0.3\aidl.exe'
Full trace:
rg.gradle.initialization.ReportedException:…

Victor Onyebuchi
- 99
- 10
0
votes
1 answer
Obfuscated android library jar file location in android studio 3.1
I have enabled proguard in my android library for code obfuscation. After updating my android studio to 3.1, I cannot find obfuscated .jar file location of my android library project. Earlier my android library project can be obfuscated and…

Muhamed Riyas M
- 5,055
- 3
- 30
- 31
0
votes
1 answer
Migrating to Android Studio 3.1.1 - getting "AAPT: error: :item>."
I am trying to migrate an Android Studio 3.0 project to Android Studio 3.1.1, which enables the Android gradle plugin 3.1.1 and the new AAPT2 resource processor. I think my problems stems for either of these.
Basically, when I try to gradle sync my…

Johan Paul
- 2,203
- 2
- 22
- 38
0
votes
2 answers
android studio version 3.1.1
After updating my android studio to 3.1.1
I found the error in the picture.
Before I updated android studio everything was fine.
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import…
0
votes
1 answer
I have some erroes with sync gradle in android studio version 3.1.1
I installed android studio version 3.1.1 and when android studio start to sync with gradle i get some errors and errors are:
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.support:appcompat-v7:27.1.1.
…
0
votes
0 answers
Expresso Test Recorder not saving the test recorded or not generating test code
I am using Expresso Test Recorder to generate test cases and code,but when I am trying to save the test recorded, nothing is happening.
I am using Android studio 3.1

vikash kumar pandey
- 164
- 5