Category "android-studio"

Unable to import any library in Android Studio after updating it to Chipmunk

I have recently updated my Android Studio to Chipmunk and I am unable to import any library in it. Here is my build.gradle project level file. App level build

Why can't I set app:helperTextTextColor="@color/red"?

I'm currently watching a tutorial on how to create the "Required*" helper text on a textInputLayout. In the video he is able to set the text color to red using

Image asset not overwriting existing icons, but disappearing

In Android Studio when we create a new image asset, it says the icons will overwrite what is already there, but when we hit finish, the icons disappear on the c

Error when running app on virtual machine in Android Studio

I am fairly new to android studio so please excuse my incompetence. Two days ago I deleted android studio and re-downloaded it and now the emulator refuses to w

Unable to start API 29 emulator (Android 10)

As the title says, I have tried to create an Android 10 emulator, when trying to start the emulator nothing happens, only the phone appears on the screen but th

App crashes when I try to use a progressBar Widget

I have a ConsentForm Activity. Upon pressing the consent Btn (Yes) a dialog where the user has to enter their email pops up. When they enter a valid email and p

android.useAndroidX property is not enabled, why it should be?

I am having an issue with androiDx libraries, so when I am adding shimmer library into my projects or glide photo library or when i update the google play servi

Could not connect to remote process. Aborting debug session. Attach Debugger OK button is grayed out

When I try to debug the app, the emulator sticks on "Waiting for debugger". Meanwhile, in the debug tab, it can be seen that AS is "waiting for application to c

Your project requires a newer version of the Kotlin Gradle plugin. (Android Studio)

I've just updated my flutter project packages to be null-safety compliant and now Android Studio wants me to update my project to use the latest version of Kotl

Dart Analysis problems not shown in editor in Android Studio Bumblebee

After upgrading Android Studio to v2022.1.1 (Bumblebee) Dart Analysis problems shown in the corresponding tab are not shown within the editor itself. Typos on t

AAPT: Error: Resource attr/(various) not found

Having all kinds of problems tonight. Downloaded updated Android Studio and Gradle and coded a little and then started getting these errors. Have tried uninstal

Hilt: java.lang.ClassNotFoundException: Didn't find class "com.kotlin20test.Hilt_MyApp"

I have an error concerning Hilt, I"ve been trying to inject a retrofit interface I created using Hilt, Here is the error: java.lang.ClassNotFoundException: Di

Exoplayer only showing black screen not playing the video

When I open the app empty player with black screen is showing and the play button is changing to pause button after a second or two seconds, as per below I ha

How to add a project from android studio to Gitlab in an existing project?

I did a project on my personal desktop on android studio. Now I want to add that project to Gitlab in a branch that is already created in a repository. How can

How to add a project from android studio to Gitlab in an existing project?

I did a project on my personal desktop on android studio. Now I want to add that project to Gitlab in a branch that is already created in a repository. How can

Android Studio 4.2 doesn't show signing report in the Gradle bar

I'm starting a new project using Firebase and I have to get an SHA1 key from my project. Recently I've updated Android Studio to version 4.2 and the signing rep

daemon not running; starting now at tcp:5037

When I start the Android Studio, the following errors occur. I cannot create virtual device and cannot connect device via USB. * daemon not running; starti

How to organize classes and layout

so i was trying to find how to make sub folders for java classes and the xml layouts, I have a big project to work on and having to many classes and layouts in

How to organize classes and layout

so i was trying to find how to make sub folders for java classes and the xml layouts, I have a big project to work on and having to many classes and layouts in

How to run migrations on Android Studio?

Sometimes I see a pop-up, that I can migrate to a newer kotlin version or something but I recently accidentally closed it and after restarting Android Studio it