Build failed due to use of deprecated Android v1 embedding.

 Your Flutter application is created using an older version of the Android

embedding. It is being deprecated in favor of Android embedding v2. To migrate

your project, follow the steps at:


https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects


━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

The detected reason was:


  E:\A\Health Apps Demo\flutter_health_fit-master\flutter_health_fit-master\example\android\app\src\main\AndroidManifest.xml uses

  `android:name="io.flutter.app.FlutterApplication"`


Solution: https://www.youtube.com/watch?v=j3HTpgYhZs4




Comments