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
15
votes
2 answers

Gradle error after update: com.android.tools:sdk-common

I updated Android Studio to the last version (3.1 Canary 8) and mandatorily the com.android.tools.build:gradle to version 3.1.0-alpha08, but syncing the project I get this error: Could not find sdk-common.jar…
14
votes
7 answers

Could not find builder.jar (com.android.tools.build:builder:3.1.0)

I wanted to Setting up android studio, i have installed the latest version(3.1.0) of it and i downloaded and installed the latest version of gradle(4.6) and created a new object. but gradle project sync failed. and shown up the error : Could not…
Salim13i
  • 159
  • 1
  • 1
  • 12
13
votes
8 answers

Failed to generate apk from Android studio 3.1.1

When I try to generate a signed APK, I found this issue : 10:58 Generate Signed APK: Errors while building APK. You can find the errors in the 'Messages' view. No cached version of com.android.tools.lint:lint-gradle:26.1.1 available for offline…
Abrd
  • 278
  • 1
  • 2
  • 10
12
votes
2 answers

Show in explorer is not opening in android studio 3.1.0

I am facing issues with opening the file location in explorer. If I try to view a specific file in the Windows File Explorer via Right click -> Show in Explorer, nothing happens. It used to work in older versions 3.0.1, however unable to do the same…
Vikas singh
  • 3,461
  • 3
  • 14
  • 28
12
votes
4 answers

Unable to load class 'com.android.builder.Version' after upgrade to Android Studio 3.1

I've upgraded to Android Studio 3.1 in Canary channel and I cannot build my project anymore, this error is printed: Unable to load class 'com.android.builder.Version'. Possible causes for this unexpected error include: Gradle's dependency cache…
Daniele Segato
  • 12,314
  • 6
  • 62
  • 88
11
votes
2 answers

How to enable android studio new logcat in Dolphin | 2021.3.1 Canary 6?

In Dolphin | 2021.3.1 Canary 6 version Android studio updated with new logcat, by default not getting enabled(after the updated to Dolphin), How to enable that?
FGH
  • 2,900
  • 6
  • 26
  • 59
11
votes
6 answers

Caused by: java.lang.IllegalArgumentException: couldn't make a guess for com.example.example.databinding.ContentClassApplicationMyClass1Binding

I'm getting this error in android after updating the android studio from 3.0 to 3.1 and Gradle from 3.1 to 4.4. How can I fix it? It's working properly with Gradle 3.1 and android studio 3.0. How can I get it to work? Gradle app: buildscript { …
jason
  • 3,932
  • 11
  • 52
  • 123
10
votes
7 answers

Fatal error initializing 'com.android.tools.idea.AndroidInitialConfigurator'

My Android Studio encountered an error when starting it. Here is the snapshot: error snapshot java.lang.RuntimeException: com.intellij.ide.plugins.PluginManager$StartupAbortedException: Fatal error initializing…
Jianing Sun
  • 123
  • 2
  • 8
10
votes
4 answers

Android Studio 3.1 layout preview does not show preview for some layouts

Since today morning I started encountering this weird issue. Android Studio layout preview panel and Design view was not displaying some of my layouts which were perfectly fine until I updated Android Studio from 3.0.1 to 3.1. I tried following…
Monish Kamble
  • 1,478
  • 1
  • 15
  • 28
10
votes
5 answers

After Updating Android Studio 3.1 Get Error while Release Signed APK

After migrating my existing project to Android Studio 3.1, it is not compiling. Below are the log details: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeReleaseResources'. at…
10
votes
0 answers

Updating to android studio 3.1 and gradle 4.4 gives cannot resolve symbol error for some dependencies

I just installed android studio 3.1 and updated gradle to 4.4 and now some dependencies like volley and materialmenu are linted red with error "can not resolve symbol" but project compiles and runs! Any ideas? Downloading dependency from git and…
9
votes
4 answers

What is "Program type already present"?

When i try to build my project.i got this error Program type already present: android.support.v4.accessibilityservice.AccessibilityServiceInfoCompat Message{kind=ERROR, text=Program type already present:…
Hassan Fayyaz
  • 685
  • 1
  • 9
  • 15
9
votes
3 answers

ZipException: duplicate entry on Kotlin classes

Please note this project compiled successfully before upgrading to Android Studio 3.1, Gradle build tools 3.1.0 and Gradle Wrapper 4.4. The exception occurs during the Gradle task…
Ovidiu
  • 8,204
  • 34
  • 45
9
votes
0 answers

Android Studio 3.1 getting more CPU and Memory utilization

I just upgraded Android Studio 3.0.1 to 3.1 Build #AI-173.4670197, built on March 22, 2018 JRE: 1.8.0_152-release-1024-b02 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 8.1 6.3 I noticed that it is utilizing more CPU and Memory.…
Honeywell
  • 281
  • 2
  • 13
9
votes
1 answer

Android Studio 3.1 - What is 'Embedded Maven Repository'

Android Studio 3.1 has been released recently, it has a setting in the Gradle > Android Studio path named Enable embedded Maven repository, what does that do? should it be enabled or not?
Alex
  • 1,623
  • 1
  • 24
  • 48
1 2
3
12 13