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

Exception during working with external system: java.lang.AssertionError in Android Studio Dolphin | 2021.3.1

I updated the Android Studio to Dolphin | 2021.3.1 and built a Java Project, I got the below error, when I was creating the Java Project, How to resolve this ? Exception during working with external system: java.lang.AssertionError at…
FGH
  • 2,900
  • 6
  • 26
  • 59
3
votes
2 answers

Target option 1.5 is no longer supported. Use 1.6 or later

I keep getting this error message when compiling my app to an apk: error message I've found a lot of posts about pom.xml I tried multiple times to find the pom.xml file. So does anyone know where it is or how to fix this error? This is my android…
3
votes
0 answers

Mac: Android Studio ADB doesn't recognise any Emulator or USB device

When I try to run a Project in Emulator or USB Device, Android Studio doesn't detect any device connected (http://prntscr.com/k99lpm). While if I run the "adb devices" command in terminal I can see connected devices. When I use Emulator In Project…
3
votes
1 answer

How to make Firebase authentication work completely without Identity Toolkit API

I'm trying to create email password account using Firebase in Android project. I have added Firebase using the Android Studio's Firebase Assistant. The create user code is as follows. mAuth.createUserWithEmailAndPassword(email, password) …
3
votes
0 answers

Error updating Android studio to 3.1.2

When I try to update to Android Studio 3.1.2 the following message appears: An unexpected error occurred when preparing the patch Erro nos dados (verificação cíclica de redundância) No files were changed; retry applying the patch. Follows the…
3
votes
2 answers

Cannot resolve symbol 'CalligraphyContextWrapper'

Till yesterday everything was working fine but today i have updated my Android studio from 2.3 to 3.1 and i am getting this error now. But even i am getting Cannot resolve symbol CalligraphyContextWrapper, still project is successfully clean and…
Däñish Shärmà
  • 2,891
  • 2
  • 25
  • 43
3
votes
2 answers

Compilation error of Executor in Android Studio 3

My code is below and following this article to implement Recaptcha in Android Studio 3: https://developer.android.com/training/safetynet/recaptcha.html btn_Login.setOnClickListener(new View.OnClickListener() { @Override public void…
Pankaj
  • 9,749
  • 32
  • 139
  • 283
3
votes
2 answers

Android Studio 3.1 Gradle Plugin 4.4 KotlinNullPointerException

Surprisingly, my project is completely written and developed in Java only, it's also not containing any dependencies declared for Kotlin. Yet I'm receiving this weird error: A problem occurred configuring project ':app'. Configuration: When I use…
3
votes
0 answers

Unable to run app - org.gradle.api.ProjectConfigurationException

I get the following error when I try to run my app from Android Studio: org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':app'. at…
Zach
  • 3,909
  • 6
  • 25
  • 50
3
votes
2 answers

Could not find android-maven-gradle-plugin.jar while updating android studio 3.0.1 to 3.1

I am facing with following issue while updating android studio 3.0.1 to 3.1 Could not find android-maven-gradle-plugin.jar (com.github.dcendents:android-maven-gradle-plugin:1.5). Searched in the following…
Tayyab Amin
  • 686
  • 10
  • 28
3
votes
1 answer

Android Studio 3.1 doesn't show "Transitions" category

Just getting started with Android Studio 3.1 (using Kotlin) from a tutorial, and there's a problem I've spent all day trying to figure out. The tutorial shows a Transitions menu for an activity layout under the Palette section, but it's nowhere to…
user2437417
3
votes
6 answers

Android studio 3.1 gives error on importing project

My question is about when I updated android studio up to latest version of 3.1 and when open a project then it gives me error and i try to invalidate caches and restart android studio but still error is not gone as shown below
Wahdat Jan
  • 3,988
  • 3
  • 21
  • 46
3
votes
0 answers

Android gradle replacing 'compile' with 'api' causes NoClassDefFoundError

As of gradle 3.0 the compile configuration is deprecated. According to the documentation and the answers to this question, when writing build.gradle dependencies api should have the same functionality as the old compile. I have an Android library…
3
votes
2 answers

Unable to Merge Dex - Android Studio 3.0.1 DexArchiveMergerException

I started getting the below error Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable…
Ayman
  • 183
  • 1
  • 3
  • 14
2
votes
1 answer

Android Studio Error:Data error cyclic redundancy check

I was working on a Project and this required me to reinstall the latest version of Android Studio. After the Installation when I opened the Project I,m getting this error. I have tried the single answer available, but it won't work. I am using te…
Bilal Khan
  • 85
  • 6