Flutter 更新SDK后报 Build failed due to use of deprecated Android v1 embedding

1. Cause:

When building the MVVM framework, the latest version of the Flutter SDK was updated. The following error was reported:

 Build failed due to use of deprecated Android v1 embedding

2. Solution:

Find /android/app/src/main/AndroidManifest.xml and remove this line of code.

 Three, the perfect solution.

 

Guess you like

Origin blog.csdn.net/hzqit520/article/details/127910754