Category "android-studio"

Cause: error=86, Bad CPU type in executable M1 Macbook (Android studio)

When attempting to run the emulator on android studio I receive the Cause: error=86, Bad CPU type in executable error message. I'm using the most up to date and

Is it safe to turn on the Developer options in my Android smartphone?

I want to use smartphone instead of Genymotion emulator for debugging the apps that I develop. But I am not sure how safe it is to turn on Developer options. I

MediaSessionCompat:Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent

I'm trying to update my application to Android SDK 31 but I'm having an issue with MediaSessionCompat. I have a MediaService that extends the MediaBrowserServic

Android Studio cannot resolve org.junit

I am using JUnit tests in Android Studio 1.2.2. The tests run without a problem. The only thing that puzzles me is that Android Studio cannot resolve the actual

UninitializedPropertyAccessException in Android Studio using Kotlin

I am a beginner making use of a Roomdatabase. Mostly using it to load in and pass items between tables using simple relationships. package com.example.allin

android studio error disappears in logCat after crash

My app is crashing. For a split second the error appears in the logcat but then very quickly gets replaced by a bunch of garbage. How do I find my error? My err

React Native Release App.apk search metro server

I have created a release of my android application. I have used Android Studio to create it, however, when I install the application it closes automatically. Th

Android Studio stuck installing application to Device after add jar library

I'm setting up a SignalR client with Android. I'm using Android Studio 3.3 with Gradle v3.0.1. I'm using two SignalR deprecated jar library in project. - signa

Flutter Emulator Error Connecting to Service Protocol

I am having an Issue with Flutter in Android studio, where whenever I run my flutter app, it will print this error; "Error connecting to the service protocol: H

Why does Android Studio say "Test events were not received"?

I'm trying to unit test in my android application, and this is the simple test tutorial what i'm doing. import static org.junit.Assert.*; import org.junit.Test

can not debug with flutter null-safety flutter-dependencies

i can run my app only using Flutter run --no-sound-null-safety my mobile attached my my lab top samsung M21 using android studio flutter version Flutter 2.2.1 d

Android Studio 'Loading Devices' unable to active

I am facing a problem, My android studio application. Loading Devices is disabling. I tried many ways to resolve that. but nothing didn't work. -Create a New Pr

Could not get unknown property 'RELEASE_STORE_PASSWORD' for SigningConfig_Decorated{name=debugY

I've been having this problem recently as I'm searching everywhere, also here in stack, I see a lot of different answers. Does anybody know how to solve this on

android studio cannot resolve symbol 'GradleException'

Creating new Android Studio project get the following exception in Gradle build file: Cannot resolve symbol 'GradleException' Gradle still builds successfu

Android SDK path not specified

I already installed the android studio but i am having a problem to proceed ahead, and the problem is Android SDK path not specified, what does it mean, do i ne

How to delete a specific document node on Firestore (Android Studio)

What i'm trying to achieve is user able to select which document they want to delete. After they press delete button on a specific recycle view column, the data

How to auto complete for loop in Android studio

I'm using Android studio and i'm trying to find a way to use a very common thing i used to do in eclipse. when i'm writing (for example) a for loop, i'm writing

How to import .AAR module on Android Studio 4.2

Previously I used File > New > New Module > Import .JAR/.AAR Package but the option to Import .JAR/.AAR Package from the New Module wizard has been rem

BottomNavigationView's menu not selected after navigating to other fragment, switching to other menu, and switching back to initial menu

I'm building an android application with 3 menus using bottom navigation. I created new project in Android Studio using Bottom Navigation Activity. I renamed th

"Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.16"

I am a beginner in Kotlin App Development. The following error is occurred when I tried to build the app - e: C:/Users/Lenovo/.gradle/caches/transforms-2/files