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

Feature: Develop Environment Detector of Android #150

Open
ntut-xuan opened this issue Nov 3, 2022 · 4 comments
Open

Feature: Develop Environment Detector of Android #150

ntut-xuan opened this issue Nov 3, 2022 · 4 comments

Comments

@ntut-xuan
Copy link
Collaborator

ntut-xuan commented Nov 3, 2022

Description

A develop envrionment detector script which base on python.
It can detect the current environment is satisfied the build requirement of tat-flutter.
So it can help the other new develop to build the environment on android studio.

It can detect the following situations:

  • Flutter is installed or not.
  • The variable of flutter.sdk in local.properties is set or not.
  • The version of Android Studio is too old or not.
  • .dart_tool is built or not.

How to implement?

We'll implement in Gradle.
When user build the project with the environment not satisfying the build requirement, it should notify the user to fix the issue.

@ntut-xuan ntut-xuan changed the title Feature: Develop Environment Detector on Android Feature: Develop Environment Detector of Android Nov 3, 2022
@rileychh
Copy link
Collaborator

Android Studio is actually not required to build for Android. In fact, I can debug the app in my Android phone using just VSCode. You can also check for the presence of tat_core and google-services.json.

@Xanonymous-GitHub
Copy link
Member

Hi @chenghsuanho, thank you for your suggestions on our development environment. It is true that we can develop without using Android Studio since flutter officially supports VSCode. However, there are conveniences in using Android Studio, and more importantly, there are multiple developers involved in this project. Changing the main development environment would require the agreement of all parties involved.

Therefore, I think you can still use VSCode for any possible future development, but we need to keep the configuration files for using Android Studio as well.

@rileychh
Copy link
Collaborator

@Xanonymous-GitHub Sorry for the misunderstanding, what I meant is not removing the environment suitable for Android Studio, but informing that the Android Studio is not required to build the app, so the Android Studio version is not related to whether the project builds.

@ntut-xuan
Copy link
Collaborator Author

ntut-xuan commented Mar 29, 2023

@chenghsuanho Hi, thanks for following this issue.
I'll focus on checking the major requirement for build this project with Gradle, and it will notify the collaborator when the environment is not satisfying for building project. It's glad to know you are using VSCode to develop the project and also let me know we have a collaborator using VSCode to develop the project.

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

No branches or pull requests

3 participants