Category "android-studio"

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

Retrofit2 post request is successful but I'm not able to retrieve token from response body

So I'm trying to making a login(post) request to an API (https://reqres.in/api/login) with retrofit 2. The connection was successful as the response code is 200

Could not find com.android.tools.build:gradle:4.0.1 ( or any version )

Error : Could not find com.android.tools.build:gradle:4.0.1. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/4.0

Flutter HTTPS Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: ok(handshake.cc:363))

A colleague has given me a Flutter project to try to build the app in iOS (I use a Mac, we both use Android Studio). Everything is ok except for this error:

How to enable Flutter intentions (IDE shortcuts) in Android Studio

I've been reading about IDE shortcuts to make Flutter programming easier in Android Studio, but when I hit Alt-Enter (or click the yellow light bulb in the frin

Debugger Options Not open when ctrl+m in Android Studio Bumblebee when running react native app

Debugger Options Not open when ctrl+m in Android Studio Bumblebee when running react native app

gradle ASCII: A problem occurred evaluating project ':app'

Friday gradle works fine, today I got this gradle error: * Where: Build file '...\git\project\app\build.gradle' line: 1 * What went wrong: A problem occurred e

gradle ASCII: A problem occurred evaluating project ':app'

Friday gradle works fine, today I got this gradle error: * Where: Build file '...\git\project\app\build.gradle' line: 1 * What went wrong: A problem occurred e

Flutter: Coverage:ignore not working with async methods

I can't ignore any async Functions from code coverage. I try to exclude File.exists() from my Code coverage. Attempts: Tried with // coverage:ignore-line ->

Where do I get SHA-1 certificate fingerprint using flutter? (using flutter create --androidx ProjectName)

I want to make a simple login page using flutter, and using it with firebase. The first step when I created the project my code: flutter create --androidx Proje