Category "android-studio"

Shared srcDirs between test and androidTest, unresolved references after upgrade to Android Studio Chipmunk (IntelliJ 2021.2.1)

I just upgraded from Bumblebee to Chipmunk, and I am having multiple dependency-resolution issues in my instrumented androidTests. These are what my source sets

Can't find stop button in Android Studio to stop the emulator

I don't know how to stop the emulator. Apparently, there's supposed to be a stop button but it's not there?

Process 'command '/Users/username/flutter/bin/flutter'' finished with non-zero exit value 1 android studio

I'm trying to open a flutter project and have just installed flutter. When I run flutter doctor -v in the terminal I installed it, I get the following: [✓

How to add Repository maven in new Android Studio Project setup(2022)?

I want to use the maven library in the android studio project. in the library documentation, they mention adding like this, repositories { maven { url 'http

Gradle - Error Could not find method implementation() for arguments [com.android.support:appcompat-v7:26.0.0]

I am trying to open existing android project in android studio and it gradle cannot build the app without the error Error android studio keeps on throwing Err

java.io.IOException: Invalid keystore format / Unrecognized keystore format. Please load it with a specified type, when using an old android keystore

I tried to sign an old Android application with Android Studio 4.0.1 (which I successfully signed say, 1 year ago) and it seems the keystore cannot be open anym

Unable to parse template "Class"

I am trying to create class in android but i got this error Unable to parse template "Class" Error message: This template did not produce a Java class or

2 files found with path 'core.properties' from inputs:

I'm trying to upgrade a project to android 31 and latest Gradle version 7.3.0-alpha03 but, I'm getting some errors this is my stacktrace > Task :app:mergeSta

Android - Motion Layout Syntax Error: No Valid LayoutDescription

I am getting the following error when I switch to MotionLayout from ConstraintLayout. I have tried rebuilding the project but no use. Layout Code: <androidx

Android app crashes at start with "E/dex2oat: Failed to create oat file" and "non-0 exit status"

My app (still WIP) runs fine on different devices. But suddenly it refuses to start on Huawei Honor 7 (Android 6.0/EMUI 4.0.3). Logcat gives me the following:

How to create a button in Kotlin that opens a new activity (Android Studio)?

Hello I'm making an app using Android Studio and the Kotlin language and am having trouble getting my button to open a new activity. I have the button created i

can not test api 32 it says invalid date string: Unparseable date: "bb`baiahbgbdGMT+00:00"

I want test fun but i have error it says invalid date string: Unparseable date: "bb`baiahbgbdGMT+00:00" I use emulator api 32 and can not run test > Task :ap

Flutter - Making DataTable responsive according to screen orientation/size

I am trying to make my data table in Flutter more responsive by adjusting the width according to screen resolution (eg: in browser, its the default width, and i

Android Studio - Trying to Read MP3 FIles from the Music Directory on Android Device

I have a function below that I got from a post on here, where I am trying to read the music files from the device. public List<AudioModel> getAllAudioF

Entering in PIP Mode with the application minimized (Android Studio)

My application makes a call to the server which may take a few seconds. The user can minimize the App before receiving the response from the server. So what I a

Flutter not detecting sdk cmdline tools

Running flutter doctor gives me the "cmdline-tools component is missing" error, even though I installed Android SDK command-line tools in android studio, I also

Network Inspector keep crashing in android studio

Its been more than 3 days. I tried a lot of things but the Network Inspector keep crashing after updated to Bumblebee

How to run Ionic app on android-studio with capacitor on Ubuntu?

When I run the ionic capacitor run android command, to launch my application in Android Studio, I get the error saying: Unable to launch Android Studio." Yo

Android studio, I do have a gap between a picture and screen end

Here is the screenshot with the code and gap issue , I tried get it done with the match_parent and it does not work, please advice how can I fix it. enter image

Android Studio stuck on loading devices

I'm currently running Android Studio Bumblebee 2021.1.1 in windows 10. The problem I have is each time I start android studio the device list is stuck in loadin