Category "android-studio"

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

UrlLauncher( 9700): component name for mailto is null

So I know that for android version >= 30 you need to add queries in the manifest, but this didnt do the trick for me. Im using Android Version 29. I neverthe

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

Android Emulator closes itself

Month or couple ago my emulator started to get close (maybe crash?) every time I press ctrl button on keyboard or when I click emulator's rightside buttons (tak

In Master Detail Flow project in Android Studio, how could I save the title of the ItemDetailActivity when rotate a mobile?

In Master Detailed template in Android Studio, how could I save the title of the ItemDetailActivity when rotate a mobile? Since the title of the activity is cha

Using Carbon diffForHumans in my model in laravel 8

I am using laravel 8 framework as my backend for my android application and I want to output time the same way instagram shows time but each time I use carbon d

Emulator appearing offline on M1 Mac after the last update of arm64-v8a

Yesterday the emulator was working perfectly. The system image was arm64-v8a. I don't exactly remember the Release name of the working system image but, yesterd

Android 12 is blocking the touches when using the <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

I am using <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> to show a pop up which overlay over other apps but android 12 is bloc

Flutter problems: "Could not resolve all artifacts for configuration ':classpath' "

I am trying to run a flutter app I am writing on my device but when I try to run, I never get past the "assembleDebug" stage and get this message in the termina

Android Studio SDKmanager Error: Could not find or load main class

Currently I am trying to set up my Android Studio environment for Flutter and I am unable to update sdkmanager or else I would obtain the following errors : Th

Why I can't run android simulator

I have installed the new version of Android Studio. But when I click AVD Manager. I have some errors. The emulator process for AVD Pixel_2_API_30 has terminated

MQTT android studio connection failed

I am trying to create an android application to send mqtt messages to a broker mosquitto. Here's what I did: build.gradle app : implementation 'org.eclipse.p

Flutter Error Failed to extract manifest from APK: Exit code -1073741515

Getting this error in android studio 3.5 Android Version 3.5 SDK 28 flutter latest version Any one help me with this error? Getting this in windows 7 ultima

Provisioning profile "iOS Team Provisioning Profile: doesn't include the currently selected device" Flutter - MacOS

I'm able to build the macOS app from Xcode and run successfully, but when I'm trying to run it from Android Studio it's giving me the following error: Provisio

Android Studio cannot find my device ! (Initializing ADB)

I'm struggling to connect my device(Galaxy S10) in Android Studio. I used several methods to solve this problem, but it didn't work. [Methods that I tried] -

Gradle Building Error while outputting the program

I am facing an issue when I am Using Gradle to output my Android APP in Android Studio, I am getting such error, the error was there in sync, then I tried to sy

AVD emulator killed - Mac

I've spent whole day trying all methods found in multiple questions here on stackoverflow and dozens of google results (short summary): Restart computer Delete

Android Studio : The application could not be installed: SHELL_UNRESPONSIVE

i'm trying to install my app debug from my android studio. it's work well yesterday, but today when i try to install it again, the application cant be installed

How to fix Android Studio's "Apply Code Changes" not working?

I use the following code for testing: while(true){ Thread.sleep(5000); Log.d("debug", "Test A"); } logcat shows "Test A" every 5 seconds. After I chang