tat_flutter
tat_flutter copied to clipboard
Feature: Develop Environment Detector of Android
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
inlocal.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.
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
.
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.
@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.
@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.