Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to AndroidX #1

Open
chandansgowda opened this issue Mar 7, 2023 · 4 comments
Open

Migrate to AndroidX #1

chandansgowda opened this issue Mar 7, 2023 · 4 comments

Comments

@chandansgowda
Copy link
Member

The application is created using an older version of the Android embedding. It is being deprecated in favor of Android embedding v2.
v1 Android embedding will be removed in future versions of Flutter and hence it would be better to migrate it to v2 rather than using the ignore-deprecation flag while building.

@chandansgowda
Copy link
Member Author

chandansgowda commented Mar 7, 2023

Hey @chirag-singhal
Shall I work on this ?

@chandansgowda
Copy link
Member Author

Was working with the issue and found that even after the migration to AndroidX, the build fails and this is due to some Duplicate Kotlin Classes. I removed the flutter_nearby_connections package from pubspec.yaml, and then tried building the app and the app got built, but this time, It crashes on launch.

There are many inconsistencies in the version and dependencies and hence it would be better to create a new flutter project with the latest Android SDK and copy the source files (lib and pubspec.yaml) and then minor updations in other places has to be done. I tried this also and even then error was there which is probably due to the different version in flutter_nearby_connections plugin. What shall we do @chirag-singhal ?

@rupesh031
Copy link

rupesh031 commented Mar 10, 2023

Can you please review the PR. And do we need to replace the flutter_nearby plugin?

@Darkcoder011
Copy link

hi i was sent proposal to your P2P Project so can you please review it
@Rits1272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants