Category "android-studio"

Gradle UncheckedIOException

My Android Studio project worked correctly, after restart project i got this error : Caused by: org.gradle.api.UncheckedIOException: Failed to create direct

Cannot find symbol AdView variable in Class ID Android Studio

When I try to compile my project I received the following error: C:\..\MainActivity.java:47: error: cannot find symbol adView = findViewById(R.id.home_banne

xcode_backend.sh: no such file or directory. Do I need to create this file?

My Flutter Project won't run on the ios simulator and is throwing this error: Launching lib/main.dart on iPhone Xʀ in debug mode... Running Xcode build...

Unknown host CPU architecture: arm64 , Android NDK SiliconM1 Apple MacBook Pro

I've got a project that is working fine in windows os but when I switched my laptop and opened an existing project in MacBook Pro M1. I'm unable to run an exist

Emulator process for AVD was killed

I just downloaded Android Studio, so everything is freshly installed but I keep getting the error Emulator process for AVD was killed, : HAXM is installed, but

uses-sdk:minSdkVersion 19 cannot be smaller than version 22 declared in library

Earlier we were using Android API level 28 with minSdkVersion as 19 in config.xml and the app was available in the play store. Recently we updated the android v

Plugin [id: 'dagger.hilt.android.plugin'] was not found in any of the following sources

I get the following warning when I want to use @AndroidEntryPoint which is a property of hilt in my project. Expected @AndroidEntryPoint to have a value. Did y

Implementing latest version of JCIFS

Trying to update my app from jcifs-1.3.19 to the latest jcifs-2.1.29 I have changed the appropriate code, adding the "necessary" jars to build.gradle <see a

How to save encrypted password in sqlite database in android studio

I am creating an application with a login username and password and I want to store the password in encrypted form in SQLite I do not how how to achieve this ta

Android studio - Generate signed APKs broke

I just updated my Android studio to the version 2021.1.1 Canary 12. After struggling to make it work, I had to also upgrade my Gradle and Gradle plugin to 7.0.2

IntelliJ IDEA and Android Studio create ADB conflict: Could not connect to remote process

I use the latest release of IDEA (now 2021.2.2) to develop the backend (and running tests) and the latest of Android Studio (now 2020.3.1) for the mobile app. W

> Could not find com.google.android.exoplayer:exoplayer-core:r2.4.2

I am facing this exoplayer not found error in video android studio application after I updated my project dependencies. I don't know how to update old Exoplayer

Android Gradle Plugin: Plugin [id: 'com.android.application', version: '7.1.3', apply: false] was not found in any of the following sources

This is my first time using Android Studio, and I'm trying to run my first Hello World app, But when I open Android Studio, and it's trying to build the Gradle,

How to access and return the result of an AsyncTask from a repository?

I'm new to coding, put already in a lot of hours and feel like I'm progressing step by step. However, I've encountered a problem that I was not able to solve ev

Android Emulator "Allow USB Debugging" dialog close right after showing

I'm trying to debug with Android R in Pixel emulated devices w/ PlayServices but the "Allow USB Debugging" dialog instantly close right after showing, so I can'

com.applandeo.materialcalendarview.CalendarView doesn't show up on XML design

I have been trying to get CalendarView for the application i have been working on.Earlier the calendarView was being displayed in XML design but now i do not ge

Samsung S21 camera2 API issue with near object

I am using Camera 2 API for capture image and it is working fine for other device than Samsung S 21 ultra 5G Android ver 11. I am getting blurry image when capt

Android emulator extended controls not updating emulator

I've been playing with some of the extended controls for the Android Studio Emulator and noticed the emulator doesn't seem to update. This is running stand alo

Recycler View List Sort position saving notepad app

In my program I added code to move the list items around but for example if I move shopping list above Test 123 and fully close the app the positioning resets

@capacitor-community/http plugin import bundled with webpack throws SyntaxError in Android Studio

I am importing @capacitor-community/http plugin in a .js file: import { Http } from '@capacitor-community/http'; which is then bundled with webpack in