Category "android-studio"

MainActivity is not showing log statements

Hi I am new to android development and the problem is Whenever I am using MainActivity in logcat as a filter it is not showing me Log statements for this Log.i

Fatal Exception startactivity in Android studio

I am totally new at Android / Java. and i have some project school and i have this code ``` package com.example.utsmobileprograming; import androidx.appcompat.a

git checkout error: unable to read askpass response in Windows 10

Error occurred while cloning repository in Android Studio error: unable to read askpass response from 'C:\Users\User\AppData\Local\Google\AndroidStudio2021.1\tm

This app is using a deprecated version of the Android embedding

I am getting the following error. This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures-, or future build failur

Parcel a List of objects from another Parcelable class in Kotlin

I'm working on a weather app for a class and I'm having some trouble with parcelable. I've looked at several other questions that are similar to this on StackO

How do I fix "Could not reach Cloud Firestore Backend" error?

I'm build a simple app and I keep getting this error: "W/Firestore: (23.0.1) [OnlineStateTracker]: Could not reach Cloud Firestore backend. Backend didn't resp

artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugRuntimeClasspath'

I have working an application without problem in Android Studio 3.2.1 After a long time of absence, I just downloaded Androoid Studio 2021.1 and when I try to r

E/RecyclerView: No adapter attached; skipping layout . Adapter doesn't want to be recognized/detected

I'm really sorry for asking the same question like 100 other people did but i have tried every solution provided and I can't seem to find what is wrong with my

When I Update my Phone to Android 12, Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

I was working on my project perfectly since I Update my phone to Android 12 unfortunately when I run the project to my phone this Error appears: Installation d

Need help changing the button text using Android Studio

Sorry if asked before, but I don't find a solution on the web. As mentioned in the title, I don't know how to change the button text on this app (screenshot) th

HAXM Installation failure in android studio

I am trying to download HAXM to run devices on Android Studio but I keep getting a failure message and none of the suggestions from similar questions is working

Hilt Unsupported metadata version in Kotlin

I was tried to run my code in Kotlin 1.5.10 With plugin as plugins { id 'com.android.application' id 'kotlin-android' id 'kotlin-kapt' id 'dagger.hilt.android.p

Sources for android API 32 platform not found

It says sources for android API 32 platform not found and when I try to download it say all packages are not available for download how can I solve this pro

How to fix error "Could not connect to remote process. Aborting debug session." after Update to Android Studio 4.2.1

I update to the Android studio to 4.2.1 and not debug and get I cannot do that because of this message which is Waiting for application to come online: com.exam

Android Studio stuck at launcher after latest patch update

Android Studio is stuck at launcher after latest patch update. I got the patch update on latest Bumblebee and it is now stuck at the launcher only. Attached scr

How to call a element from Layout without use findViewId() in Kotlin?

I didn't know this was possible, but I was following an example and I see this piece of code: import kotlinx.android.synthetic.main.activity_main.* class MainA

Error inflating Class Fragment in Recyclerview with Navigation Activity

I'm making an app that uses Android studio to write and call messages. This error message appears during the process of inflating the recycler view into the fra

Android studio Bumblebee 2021.1.1 gradle files

I updated to Android studio Bumblebee 2021.1.1 , the gradle.settings(Project) file structure changes, How can I add the dependencies and classpath for hilt or

Git not working properly in Android studio, not showing changes for XML files

I have been having an issue, git does not recognize changes on any XML file on Android Studio, for example, androidManifest.xml, or any XML file on the res fold

Leaked GCP API Keys Your app contains exposed Google Cloud Platform (GCP) API keys. Please see this Google Help Center article for details

enter image description here I have used API_KEY="my_api_key" in gradle.properties file and added buildConfigField("String", "API_KEY", API_KEY) to app/gradle f