Skip to content
This repository was archived by the owner on May 21, 2024. It is now read-only.

Installing ensemble UI and change to local #16

Open
dennisvanmaren opened this issue Oct 14, 2022 · 1 comment
Open

Installing ensemble UI and change to local #16

dennisvanmaren opened this issue Oct 14, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dennisvanmaren
Copy link
Collaborator

Hi,

When I clone the repository and change the from: to local in the ensemble config file I get below error when I start a build in Android studio.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Warning
──────────────────────────────────────────────────────────────────────────────
Your Flutter application is created using an older version of the Android
embedding. It is being deprecated in favor of Android embedding v2. Follow the
steps at

https://flutter.dev/go/android-project-migration

to migrate your project. You may also pass the --ignore-deprecation flag to
ignore this check and continue with the deprecated v1 embedding. However,
the v1 Android embedding will be removed in future versions of Flutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The detected reason was:

No C:\POC\ensemble_starter3\ensemble_starter\android\app\src\main\AndroidManifest.xml file
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Build failed due to use of deprecated Android v1 embedding.

Also when I run flutter pub get I get the below error

PS C:\POC\ensemble_starter3\ensemble_starter> flutter pub get
Running "flutter pub get" in ensemble_starter... 13.9s
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 cloud_firestore 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.

@dennisvanmaren dennisvanmaren added the bug Something isn't working label Oct 14, 2022
@dennisvanmaren dennisvanmaren self-assigned this Oct 14, 2022
@dennisvanmaren
Copy link
Collaborator Author

After the following command

flutter create .

You can proceed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant