Questions tagged [android-studio-4.1]
82 questions
1
vote
0 answers
Android Studio 4.1 getString from resValue in build.gradle
Hi all,
Before upgrade to Android Studio 4.1 there are just fine to get the string from resValue in build.gradle file.
After upgraded to Android Studio 4.1, then all the value to be called is showing error which like "strEnviornment.
But the weird…

Jacky Teaw
- 93
- 1
- 9
1
vote
0 answers
Android studio: error occurred during initialization of VM
when I run my application this error occurs and when i open task manager, it show 95-95% of 8GB RAM being used and there are too many process with the name OpenJDK platform binary, but sometime application runs without any error.
Also android…

Mohit Kumar
- 552
- 9
- 29
1
vote
2 answers
After upgrading Android Studio to 4.1, code is not fully colorful
After I upgraded Android Studio to 4.1 code colors is like below and mostly the code text is black. I want to get all code colorful , btw I tried invalidate caches/restart and rebuild however issue still exist.

Ahmed Ganna
- 21
- 1
- 6
1
vote
2 answers
java.lang.NoSuchMethodError: okhttp3.internal.Internal.initializeInstanceForTests in Android Studio 4.1
I just upgraded Android Studio 4.1 and got all the tests related to mock webserver failed in IDE but not in terminal. It passed fine before I upgraded to 4.1.
My Okhttp and mockwebserver version is 4.7.2
TestCase.kt
class RepositoryTest :…

Long Ranger
- 5,888
- 8
- 43
- 72
1
vote
1 answer
Android resource linking failed AAPT: error: failed writing to
AAPT: error: failed writing to '
C:\Users
DEV\Desktop\Gamers\app\build\intermediates\runtime_symbol_list\debug\R.txt
':The data is invalid. (13).
I have tried to clean and rebuild the project. I have also tried deleting the folder but it has…

Kavea
- 47
- 5
0
votes
0 answers
Progaurd corrupts my png files and disables my libraries files
It has been the 3rd day that I am struggling with progourd! I am new to this and I just wanted to upload my signed bundle to Play console. I encountered these two major issues 1&2:
1- The most basic function not working !
-After a lot of frustration…

Araz
- 151
- 2
- 11
0
votes
0 answers
Add implementation "androidx.car.app:app:1.1.0-alpha02" occurs Manifest merger failed
In build.gradle file, add this under dependencies
implementation "androidx.car.app:app:1.1.0-beta01"
Then rebuild the project, it only shows
:app:processDebugManifest >
Manifest merger failed with multiple errors, see logs
No more error details.
I…

Joanne Chang
- 75
- 1
- 9
0
votes
1 answer
While using a nested LinerLayout not only I dont get to see my Views inside the 2nd child I also get this : "Element LinerLayout is not allowed here"
I guess this is the simplest possible xml code for an activity and yet Android Studio gives this ambiguity error while hovering on it, I would ignore that but the final result in the IDE's layout validation and a physical device is that all those…

Araz
- 151
- 2
- 11
0
votes
2 answers
Stuck at whitescreen when starting app with debugger - Android Studio 4.1.2
when I start my android application on a physical device with 'Debug App' runs into a whitescreen and does not proceed.
If I do the same without debugger and attaching it afterwards it works fine.
What I tried:
disable "allow paralell run"
clean…

Tommehh
- 872
- 1
- 17
- 44
0
votes
1 answer
Getting error in sigin through firebase in my app
.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference

Bikramjeet Dasgupta
- 13
- 3
0
votes
4 answers
Why are my files still being 'Analyzed' in Android studio, intellisense and autosuggest doesnt seem to work
For this particular project, Android studio just shows analyzing files, doesn't show any errors and the IntelliSense is also not auto-suggesting. I have tried to invalidate cache/ restart, checked that android studio is not in power mode, and also…

darthwithap
- 41
- 9
0
votes
0 answers
Android Studio 4.1 Flutter doesn't recognizing android emuator
Flutter unable to run app
No connected devices found; please connect a device, or see flutter.dev/setup for getting started instructions.

Swaroop Maddu
- 4,289
- 2
- 26
- 38
0
votes
2 answers
Proxy issue after update Android Studio
Previously I used Android Studio 3.4.0.0 with proxy config to my company proxy URL and set systemProp properties in gradle.properties. Everything works as normal.
Last week I update Android Studio to 4.1.0.0. It asked me whether keep the original…

Pandarian Ld
- 727
- 3
- 13
- 25
0
votes
1 answer
Error: transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
I am trying to develop an SFTP client using sshj on Android studio such that the App can connect securely to the server using SFTP over ssh. The code was running fine, but when I added the "sshj-0.10.0" module, it gives me this complicated…

Mohsen Ali
- 655
- 1
- 9
- 30
0
votes
1 answer
'Create New Project' in Android Studio is gone
In Android Studio, there is no Create New Project option, only Create New Flutter Project,
I've already uninstalled and installed again Android Studio, but it's still like this:
Can someone help me? How to get back the Create New Project option ?

Alvin MD
- 1