Open thanhkhanhcntt opened 2 years ago
I followed the steps, and the only change were two changes in AndroidManifest.xml to the android:name
:
...
<application
android:name="${applicationName}"
android:label="flutter_opencv_example"
android:icon="@mipmap/ic_launcher">
<activity
android:name="io.flutter.embedding.android.FlutterActivity"
This app is using a deprecated version of the Android embedding. To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding. Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects The plugin
native_opencv
requires your app to be migrated to the Android embedding v2. Follow the steps on https://flutter.dev/go/android-project-migration and re-run this command.