Error when include image_picker inside project (Flutter)
This error acquired if you upgrade the support libraries to 28.0.0 and your compileSdkVersion is not 28 also.
To fix it changes in file app\build.gradle
To fix it changes in file app\build.gradle compileSdkVersion
and targetSdkVersion
from current to latest(Now latest 29).
android { compileSdkVersion 29...defaultConfig { minSdkVersion 21 targetSdkVersion 29 multiDexEnabled true ...}