Category "android-studio"

gradle Unexpected lock protocol found in lock file. Expected 3, found 0

getting "Unexpected lock protocol found in lock file. Expected 3, found 0" error when trying to debug even after following this link and deleting the .gradle fo

Autocomplete not working correctly in Android Studio with Flutter - First suggestions are irrelevant

I installed Flutter and Android Studio. I ran flutter doctor - Flutter doctor I have the Dart plugin installed - v191.8593. When I press Ctrl + Space at a very

Reference to an enclosing class method cannot be extracted on refactoring

When I want to do "Extract to widget", it raises an error : "reference to an enclosing class method cannot be extracted" I know there is some variables that mu

Flutter doctor: Unable to download dart sdk,BITS service failed in windows

error showing: Downloading the Dart SDK using the BITS service failed, retrying with WebRequest... Invoke-WebRequest : The underlying connection was closed: An

Connection has been shutdown: javax.net.ssl.SSLException: Tag mismatch

Has anyone encountered this error before? I'm new in flutter, is there anything wrong while running the sample file of flutter that I'm missing? The stack trac

Android Studio can't connect to JFrog Artifactory

We've been successfully running a JFrog Artifactory OSS instance for a few years to host our Android libraries. Recently the web server certificate expired so w

Failure [INSTALL_FAILED_USER_RESTRICTED: Invalid apk] in android

I am using Android Studio 3.0.1. When i am trying to run app INSTALL_FAILED_USER_RESTRICTED: Invalid apk error occurs. I also disable Instant Run.

How to enable autoformating Flutter project in Android Studio?

For example, there is a sample flutter code. This code is not properly formatted. import 'package:flutter/material.dart'; void main() => runApp(SampleApp())

How to Force Delete App from Emulator for every Flutter build

I want to force Android Studio to delete the previous build every time I rebuild. Currently for whatever reason it does not delete the previous build and simpl

Flutter - Unable to detect/identify Android Studio

Just a day ago, Flutter, a new hybrid (mobile apps) development framework released by Google Inc. I installed Flutter SDK, following steps, provided from this

Error AAPT2 aapt2-4.1.2-6503028-windows Daemon

When I build apk in Android Studio, it fails with an error like this: Execution failed for task ':app:mergeReleaseResources'. Multiple task action failures oc

how xml code converts to design in android studio

Since XML is used to store and transport data how exactly the XML code gets convert to android app design in android studio?

Could not find method compile() for arguments [com.android.support:appcompat-v7:25.0.0]

Trying to build a react native project, and cannot compile appcompat Could not find method compile() for arguments [com.android.support:appcompat-v7:25.0.0]

How to distribute android phone+wearOS projects in same play console store listing

I have a phone project, as well as a watch (wearOS) project. 90% of the code is shared between the two projects, and I would like to package and distribute the

Reload WebView on Button Press? (Android Studio)

I have a WebView inside my Android Studio project that fills the whole screen, and when they get into the app without an internet connection I show an activity

I have an issue with ProgressBar Widget

Basically I have a ConsentForm Activity that the user scrolls through and give their consent. Upon pressing the consent Btn (Yes) a dialog where they have to en

handleWindowVisibility: no activity for token android.os.BinderProxy

I have a Login screen and upon success login, it finishes and shows another page that has information about the user. I read about this post and also this post.

Android Studio Database Inspector always showing database as "closed"

I am trying to use Database Inspector in Android Studio. Why I run the app on the device, it inspector is always showing my application database (highlighted in

Android Studio Start all unit tests, not instrumented

So far I've got bunch of tests in my multi module project. All of them could be run on PC... except one. It's intrumented test for Room DAO class. There is no p

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip'

Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-5.4.1-all.zip' I have just installed Android Studio 3.5 on windows