Category "android-studio"

Only the second function is called, Android studio Kotlin

I followed a tutorial on Camerax from the Android Studio website, and I wanted the camera button when pressed to take a picture from the front and the back came

Unknown DataBinding Class

I am newbie to DataBinding in Android and learning it to my own. I have just enabled the DataBinding in my App Gradle File in the Android Tag as: dataBindin

After cleaning gradle, androidx-test.core module throws merged-manifest errors

In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, th

After cleaning gradle, androidx-test.core module throws merged-manifest errors

In a react-native project, ive recently updated to v66.4 from v63.2 after some dependency conflict troubleshooting, i ultimately get a merged manifest error, th

How to make thumb smaller than track in switch button in android studio?

Hy, guys. This tiny problem drives me crazy. I wanted my switch to be like this : , but after a lot of googling, I could not do it. My current button is this

How to make thumb smaller than track in switch button in android studio?

Hy, guys. This tiny problem drives me crazy. I wanted my switch to be like this : , but after a lot of googling, I could not do it. My current button is this

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