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
5
votes
1 answer
How to insert ImageView without an image in Android Studio's designer view?
I'm designing an activity using the regular designer, and I want to drag and drop an new ImageView into the layout using designer (I know how to do it in XML). However, I can't click OK without selecting a source image, which I won't select because…

Can Poyrazoğlu
- 33,241
- 48
- 191
- 389
5
votes
1 answer
No system resource manager for module: app in android studio 3.1
No system resource manager for module: app in android studio 3.1
The problem when it android studio android 3.1 I have unfortunately entered into the finish inbuild library files after, it shows download or refreshes if u already downloaded, I used…

ajeethkumar sankarraj
- 51
- 1
- 4
5
votes
2 answers
App freeze on keypad open with android studio 3.1 update
App was working fine before update.
Whenever i click on some EditTextcursor blinks for some seconds, than app freezes and stuck.
login_activity.xml

jake oliver
- 118
- 1
- 6
5
votes
2 answers
Android Studio 3.1 - Logcat output has been ruined
I upgraded my Android Studio to version 3.1
Since the update, the log message are printed in clusters.
For example, when I write
Log.i("Tag", "message1")
Log.i("Tag", "message2")
Log.i("Tag", "message3")
Log.i("Tag", "message4")
Most of the…

dor506
- 5,246
- 9
- 44
- 79
5
votes
0 answers
Run button isn't compiling project in Android Studio 3.1
I have just upgraded to Android Studio 3.1 on macOS Sierra and now when I press "Run" button it runs the app on my Android device without compiling new code changes. Is there a bug in Android Studio 3.1 or I am missing something?
Please help.…

aareeph
- 875
- 1
- 12
- 20
5
votes
3 answers
BuildException: Failed to execute aapt in Android Studio 3.1 Canary 6
I am facing this issue during gradle build:
org.gradle.tooling.BuildException: Failed to execute aapt
at…

Malwinder Singh
- 6,644
- 14
- 65
- 103
4
votes
2 answers
How to solve Android Studio 3.1 AAPT2 error?
I've updated my Android Studio from 3.0 to 3.1 version and Build Tools, Gradle plugin and when I want to build anything I get an AAPT2 error: check the log for details.
This question has been asked plenty of times and for most cases, the solution…

kkalwa
- 95
- 13
4
votes
1 answer
Android Studio 3.1: StackOverflowError when executing task transformClassesWithDexBuilderForDebug when using qoppapdf library
With the update to Android Studio 3.1 our apps' builds started breaking randomly on all machines. On my machine the build breaks with a StackOverflowError during the dexing process. When d8 and desugaring are disabled in gradle.properties the builds…

rzr
- 144
- 2
- 6
4
votes
4 answers
Android Studio 3.1 does not resolve reference by CTRL+CLICK
I had updated my Android Studio yesterday, and wondering that Resolving resource by CTRL+CLICK is not working as it was working in earlier versions.
Please consider a line written below:
mBinder.fabCart.setOnClickListener(this);
Previously when I…

Nikunj Peerbits
- 785
- 4
- 12
4
votes
2 answers
Android Studio: Adding a dependency that the IDE cannot download for itself
I just installed Android Studio 3.1 and wanted to create a new project with Kotlin and C++ support. I changed the gradle options in the settings as I always do whenever I install a new Android Studio version (see the picture 1)
My default settings…

Javier88
- 41
- 6
4
votes
2 answers
Android Studio 3.1 can not resolve "Theme.AppCompat" styles properly
Last night, I upgrade my android studio from 3.0.1 to 3.1, and rebuild my project, and I got the error as show below.
CHECKED LIST:
compileSdkVersion 27
buildToolsVersion '27.0.3'
classpath 'com.android.tools.build:gradle:3.1.0'
implementation…

leon
- 550
- 6
- 14
4
votes
3 answers
Android Studio 3.1 stuck at Configure Build over 30 Minutes
So I just updated my Android Studio to 3.1 from 3.0.1. As I am typing this, over 30 minutes have been passed and Android Studio is stuck at Configure build.
What have I done:
change gradle version in project gradle file
checked my internet (it is…

Syed Muntazir Mehdi
- 312
- 3
- 14
4
votes
0 answers
Aapt2 error : Using ormlite and while running OrmLiteConfigUtil getting below error after upgrading to Android studio 3 and gradle 3
Normally i am able to build my project but whenever there is a database change i need to run OrmLiteConfigUtil and after running it i get error as below. it never succeeds. I tried exploring other question and found below solution but still it…

Uday Ramjiyani
- 1,407
- 9
- 22
4
votes
3 answers
Gradle project sync failed without Messages, worked on command-line
In Android Studio, the sync failed:
Gradle project sync failed. Basic functionality (e.g. editing, debugging) will not work properly.
The command-line gradle installDebug worked. There were no messages in the "Messages" view. In the idea.log, the…

serv-inc
- 35,772
- 9
- 166
- 188
4
votes
0 answers
Android Studio 3.1 canary 8 cannot stop at breakpoints on Junit Tests
Just as the title says, I'm unable to stop on breakpoints while trying to debug JUnit tests.
The only visual cue that I get is when the debugger attach, all my breakpoints are shown with an "x"
Is this a known issue with this version? Or do I have…

vicmns
- 724
- 1
- 8
- 20