androidx
Unable to migrate Flutter project to AndroidX
I was able to resolve my issue: Open the Flutter project into Android Studio Right click on the android directory, click on Flutter -> Open Android module in Android Studio. It asked me to upgrade my gradle plugin. Then I installed Google Play Services. Tools -> SDK Manager -> SDK Tools and check the Google … Read more
Update to androidx.fragment:fragment:1.3.0-alpha08: registerForActivityResult not allowed after onCreate anymore. How to use after onCreate?
It just means that you shouldn’t register the callback after onCreate(). So you can do this private val checkPermission = registerForActivityResult(ActivityResultContracts.RequestMultiplePermissions()) { … } and then launch the check anytime you need it checkPermission.launch(array-of-permissions) The reason: When starting an activity for a result, it is possible (and, in cases of memory-intensive operations such as camera … Read more
Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver
I have very similar problem and in my case solution is add in gradle.properties this two lines: android.useAndroidX=true android.enableJetifier=true I hope it will help.