Questions tagged [android-studio-4.1]

82 questions
0
votes
1 answer

Can't find "record espresso test" in Android Studio

Android Studio version 4.1.2 I followed the android testing codelab direction "Choose Run > Record Espresso Test" but I didn't find it in the "Run" menu and can't find it elsewhere. Is it removed in this version of AS?
Qing
  • 172
  • 11
0
votes
3 answers

Multiple Firebase projects in a single android application

I'm trying to build an android application using Firebase that demands two separate databases (teachers and students) in a single application. I searched for the solution all over the internet but all I got is this solution- Multiple Firebase…
Atharva
  • 7
  • 3
0
votes
1 answer

Handling multiple resource layouts using one java class

Is it possible to handle two or more resource layouts using one java class in android development? I want to create a multi-page signup page with one java class itself.
0
votes
1 answer

Dart analysis often freeze on android studio

Dart analysis often freeze on android studio. So, quick doc and code completion didn't work. I have tried to restart android studio, delete file on folder .dartServer, downgrade dart plugin and flutter plugin version, downgrade flutter sdk, disable…
0
votes
1 answer

How do I return a function inside of a setOnItemClickListener in android studio?

I would like to return a boolean for a function inside of a switch inside of an item onClickListener. How exactly would I do that? This is my code: public void testForItemClick() { final Cursor cursor = myDb.getAllData("Main_Values"); …
0
votes
1 answer

"Could not resolve all files for configuration ':classpath'." error in android studio

error I am getting this error just today. Android studio is saying com.google.jimfs:jimfs:1.1. can't be downloaded. Here is my gradle // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { …
0
votes
1 answer

Android studio 4.1.1 hanged on splash screen after installation

I installed android studio 4.1.1 in my pc(8gb RAM,1TB harddrive, Windows 10), but it hanged on splash screen after installation. Here is what I have done so far to fix: installed latest Java SE15 changed the environment pathway create JAVA_HOME and…
0
votes
0 answers

Android Studio Trying to run my first Hello World

I just downloaded Android Studio 4.1.1 and my goal is to run "Hello World!" on a Pixel 3 emulator. I tried just opening a basic barebones app and I get the following error. This appears quite odd as I haven't touched any of the default settings. Is…
RobPesc
  • 45
  • 4
0
votes
1 answer

Problem with Android emulator no longer starting on mac os high sierrra 10.13.6

I have a late 2011 Mac with a 2.5 GHz Intel Core i5, AMD Radeon HD 6750M 512 MB and 12 GB of ram.I've had no problems with starting the android emulator from Android Studio in the past. However, updating to Android Studio 4.1.1 the emulator no…
0
votes
1 answer

AVD error when trying to run within Android Studio

why is it that I can run my avd as a separate window but not within the application in android studio? I'm running the latest version of everything. Here is a picture of my avd as a standalone application. This is what the console prints out when I…
0
votes
1 answer

Android Studio 4 Build ERROR : Execution failed for task ':app:mergeDebugResources'

Hello this is my first time make android program and found this error but the code not have an error point. the error message is below : Execution failed for task ':app:mergeDebugResources'. Could not resolve all files for configuration…
0
votes
1 answer

When I update android studio from 4.1 to 4.1.1 in windows 10

I got this error while updating android studio from version 4.1 to version 4.1.1 in windows 10. I closed android studio from Task Manager and run android studio as Administrator but same error. Following error output is in…
Najeeb
  • 1
  • 2
0
votes
0 answers

Android Studio 4.1 Start Failed in Ubuntu 20.04.1 LTS

The Google Cloud Tools For Android Studio (id=com.google.gct, path=/opt/AndroidStudioLatest/android-studio/plugins/google-cloud-tools-as) plugin depends on plugin "org.jetbrains.android" that failed to load 2020-11-09 23:09:41,536 [ 3213] ERROR -…
Abhijit Roy
  • 135
  • 1
  • 1
  • 5
0
votes
0 answers

Execution failed for task ':app:mergeReleaseResources'. > Multiple task action failures occurred:

My project rebuild normally but I am facing problem with release app, android min 21, max 30, 64bit lib not added android studio (4.1) here is my dependencies dependencies { implementation 'androidx.appcompat:appcompat:1.2.0' implementation…
0
votes
1 answer

Android studio 4.1 : Internal Error when trying to start Android Studio

I'm sharing this with you : To solve this error : https://youtrack.jetbrains.com/issue/TBX-5051
Tariq
  • 23
  • 4