Category "android-studio"

AWS recognition SDK causes the gradle to not build in Android Studio

I tried manually adding the "aws-java-sdk-1.12.199.jar" to the library and added the line "implementation files('libs\aws-java-sdk-1.12.199.jar')" into the grad

Android UI broken when run

I am facing very strange problem, though I am beginner level on Android. after designed my layout file, when i run this android project by using physical device

Why I need to explicitly add the fragment and activity dependencies in android?

I don't understand, while learning through a codelab in android they want me to add the following dependencies to the android build.gradle implementation "andro

Convert .apk file to .abb file without Android studio

Please how can I convert .apk to .aab without Android studio I created an Android app using AIDE and I wanted to upload to Google Play Store and then I discover

Cmake 3.10.2 not found in SDK, PATH or by cmake.dir prop

Getting the following error when building my project in Android Studio: [CXX1300] CMake '3.10.2' was not found in SDK, PATH, or by cmake.dir property. My Gradl

No installed build tools found. Install the Android build tools version 30.0

I have installed the build tools from the Android Studio SDK like that: Tools -> SDK Manager -> Android SDK -> Android 10,11,12 in the SDK Platforms, a

Error Running the Application on Android Mobile

I was working on a small flutter project suddenly I couldn't run the app to any android mobile. (on Web it's running Perfectly). It Shows this Error: Could

Unable to run armeabi-v7a on Android Studio emulator

I need to be able to create a virtual device in Android Studio, which allows me to test my app on old Android systems such as Lollipop or Marshmallow, but it lo

Apache Commons Net FTP does not throw any exception on wrong credentials

I just managed to upload some files to an FTP server using Apache Commons Net FTP. When I use everything as it should be it works fine, I mean, the file uploadi

Export Android compiler Warning to text file

I want to write all the compiler warnings in a text file. Once we build it, we can see warnings in Build Output as seen in screenshot. Is the file already avail

Android Studio memory profiler have some serious memory issues

I am trying to fix some memory leaks in my apps but I am always fighting with memory profiler instability itself instead of being able to focus on my task. Inte

How to get location fast and only once using fused location provider client in 2021

I am developing a app which has to get the location information (latitude and longitude) of the device only once but as fast as possible. My code is taking too

Can't show/hide menu items on Kotlin - Android Studio

my application has a menu of 3 options, and what I want is that according to a condition that I define, it shows only 2 options, or it shows 3. I have tried all

Can not run the the tflite model on Interpreter in android studio

I am trying to run a TensorFlow-lite model on my App on a smartphone. First, I trained the model with numerical data using LSTM and build the model layer using

Can't import any library to Android Studio and Gradle Failed to Resolve

I have tried these two libraries in order to make Image Zoomable, but I'm facing the same problem. This is the error message Failed to resolve: com.github.Mike

How to use variables from other Activity for buttons in Custom list view Android studio

I am currently building a bare bones game app for university. In the Shop activity of the app I have created a custom list view in order to display items in the

i was trying to add data in room db but not able to add more than 50 rows

I was trying to add some data in room database android. but while adding there is only 50 rows are visible or entered in db. there is no more data is able to ad

How to resolve exoplayer error : AAPT: error: attribute fastforward_increment not found?

Firstly I added the exoplayer dependency to my build. After that I made a xml layout with a custom controller and then I wanted to add app:fastforward_increment

Why does build folder in Android Development studio grow to 1 GB when resulting compile file is 50 MB?

The build folder grew to 1 GB when compile size is 50 MB using Android studio. Why is this happening? Is it normal?

Getting android.app.ForegroundServiceStartNotAllowedException in Android 12 (SDK 31)

I upgraded my apps targetSdkVersion and compileSdkVersion to SDK 31, and started receiving the following crash in app in a service that updates widget in backgr