I am a beginner in Flutter. I was just trying to add ImagePicker in a simple example, but when I try to add in dependencies and android:requestLegacyExternalStorage="true"
.
attribute android:requestLegacyExternalStorage not found. error occurs. I have checked other answers in StackoverFlow. But didn't work for me?
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.flutter_imagepicker">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
<application
android:requestLegacyExternalStorage="true"
This is not the way to add android:requestLegacyExternalStorage? or something else.