Category "android-studio"

Error: Method 'addPostFrameCallback' cannot be called on 'SchedulerBinding?'

how can I fix this error in flutter with android studio /C:/src/flutterSDK/flutter/.pub-cache/hosted/pub.dartlang.org/get-4.6.3/lib/get_navigation/src/snackbar/

How do you add windowSoftInputMode to one item

I want to add android:windowSoftInputMode="adjustPan" only to recycler view. When I add it into the manifest file it adds it to everything which I don't want. W

How to split string from a QR Code and inserting them into a login and password text form field

I'm trying to create a scanner that can insert string from a QR code. I've been researching to no avail. I managed to create a simple scanner that can setstate

I cannot add new destination into navigation component in android studio

I got some problems when I create a navigation graph to control fragments, the problem is that whenever I add any new destination to this graph, this destinatio

Flutter doctor can't find Android SDK, but everything is set

I'm on Ubuntu 20.04 LTE My Android SDK Location (shown in Android studio) is /home/myuser/Android/Sdk The error goes as follows: ✗] Android toolchain - d

How to make Apk available in play store for the version 6 android phones

I have published my application with a minimum SDK 23 but unfortunately, it's not showing the application in the play store for the android version 6 phones. I

How do I add an external library (Apache Commons Lang) to an Android Studio app manually?

I know how to work with Apache Commons Lang 3 library in an Android Studio app by implementing it in the build.gradle file using implementation 'org.apache.comm

How to customize the hard wrap vertical line in Android Studio IDE for code formatting

When I apply "Format code" my lines of code automatically down line (many lines) even though my screen has enough space to display it on 1 line. I see it depen

Android Studio - blank white screen when running Ionic App on an emulator

I'm working on an Ionic App. It's running fine both in iOS emulator (via Xcode) and via ionic serve, but when trying to run it on an android emulator in Android

how in GridLayout (Android) to fit the last two blocks to full width?

I am currently learning the Android front-end development, and our teacher gave us this task: We need to create the next grid in Android Studio: Task Grid using

setOnClickListener is not showing the Toast or doing the Intent

this is in Kotlin, it doesn't seem to work no matter what I try it's just a button with a click listener. Its function is to take me to another activity, I trie

Android Studio - PocketModeLiteSensor Error

I have a problem that I've already described on StackOverflow but still can't solve - Suddenly LogCat stopped working for me - I have no idea why! As soon as I

Can't click on stack trace links in Android Studio anymore

After a recent update for Flutter I found that in Android Studio the package links in stack traces are no longer clickable. This is not the case with Visual Stu

Image View doesn't match parent's rounded cornered background

<FrameLayout android:id="@+id/flTodayTraining" android:layout_width="match_parent" android:layout

Gradle build sync failed. Basic functionality (e.g. Editing Debugging) will not work properly

Error screenShot `plugins { id 'com.android.application' } android { compileSdk 31 defaultConfig { applicationId "com.example.helloworld" minSdk 16

Android- studio error - Cause: unable to find valid certification path to requested target

I got this error on Android Studio while attempting to sync gradle. Cause: unable to find valid certification path to requested target What I have attempted so

different between call view by name or use binding in android

i'am a newest in android kotlin I want to know what is the difference between the two lines of code below and which one is better to use class MainActivity : Ap

How to implement a OnItemSelectedListener for Spinner in Dialog Box

I have a Dialog Box in my MainActivity that is activated by touching a cog button in my Layout. When it appears, it contains a drop down Spinner. The Spinner wo

Is there a way to make a button to loop user inputs for a number of times before terminating?

I have been turning the popular guessing game into an app using Java in Android Studio. I want it so that a user can make up to five trials before the answer is

Using Coroutine for continuous data polling and dumping to UI

My existing Android code uses AsyncTask to continuously poll data from a virtual COM port and dumps data to UI thread by overriding the onProgressUpdate() funct