Category "android-studio"

Flutter App won't build appbundle/APK or run on Android after android studio 3.5

Basically my app run and build on iOS but doesn't on Android anymore after I updated Android studio to 3.5 version and i really need to be able to post a releas

How to simply set the default alarm tone to a custom tone

My app currently uses the default alarm ringtone for certain events, which is realized using the following two lines of code in onCreate(): Uri notification = R

android:exported needs to be explicitly specified after add SonarQube in build.gradle

I created a simple Hello World project in Android Studio as an example in Jenkins pipeline, it works but I want add SonarQube analysis, so I add follow lines in

How can I add only the new items of the JSON API without duplicating the existed items?

I want to make an auto refreshing system for my android application. I use a JSON API in order to get the posts. Here is what I did: handler.postDelayed( runnab

Emulators can't load "libGLES_emulation" driver

I am in the process of setting up FirebaseUI using Google's guide but I suddenly got an error I can't seem to find a solution for. I'm pretty sure it has to do

Android Studio and apksigner won't sign app with v1 signature

I have an app with minSdkVersion = 24 but when I use Android Studio signing dialog, the apk never gets signed by v1 (the store I use enforces to include v1 sign

FCM notification not retrieve when app is closed

I am retrieving the notification from firebase cloud messaging into my android app. but the problem is when my app is opened or in running state in that case on

Android studio mouse sometime not working?

I am using Android studio 2.1.1 Build #AI-143.2821654 build on April 28, 2016. JRE: 1.8.0_77-b03 x86_64 OS X El Capitan 10.11.3 I have met Android studio mou

flutter in android studio says cannot find declaration to go to......i am using the latest version of it v1.7.8+hotfix.4

i can't find defination of any of the flutter function or class if i want to see the defination or implementation of FAB(floating action button) it says cannot

Error when setting compileSdkVersion to Sv2 (Android 12L) - Unsupported value: Sv2. Format must be one of

I am trying to follow the setup guide for Android 12L here. But I get the following error when I sync gradle on the project: Unsupported value: Sv2. Format must

How to see the type of variable within Android Studio IDE

How to see the type of variable in Android Studio when using Kotlin without type annotations. Currently I'm trying to see it by giving the variable a type I kn

Where is android studio building my .apk file?

I've been rebuilding my project from the ground up, so there's been a lot of problems with it. At the moment, everything's working great, except that when I try

ERROR Android emulator gets killed

After updating to Android Studio 2 when I try to run my application and choose an emulator, I wait for the emulator to start and it suddenly gets killed. I can

How to generate Android app bundle for ionic 3 signed apk

I have generated the apk using the command: ionic cordova build android --prod --release after that I have generated the key for Play Store using the command:

Installed Android Studio Canary: where can I get hardware profile for Google Pixel 6 and Pixel 6 Pro

Where can I get Google Pixel 6 / 6 PRO hardware profiles for Android Studio (Canary, freshly installed)

Android Changing Action Bar color

I want to change the Action Bar color, but I don't know how to do it. What should I add to change the style? <resources> <!-- Base application theme.

Uncheck use Androidx artifacts

I have made some projects using androidx, today i decided to start new progject without use of androidx and my starter template shows this (source: mobytop.ru)

Android Studio: Where is the Compiler Error Output Window?

When I 'Run' my project in Android Studio, in the 'Messages' window, I get: Gradle: FAILURE: Build failed with an exception. * What went wrong: Execution fai