i need some help/explanation to setup a correct enviroinment to compile and run correctly the freeCodeCamp Android Mobile App with linux and flutter. I think i setup all correctly because i’ve compiled in Flutter the mobile app without error but a blank screen appear when i run it. I suppose i have to run a docker app because the presence of the source code in that project but i don’t know how do it. I think i know flutter (because i developed an app) but i do not know how to run docker app on linux. I need some help to set the correct environment to test the app. Thank you and appreciate everyone could help. Massimo
I am glad to hear you want to contribute to the mobile app.
Have you downloaded an emulator from Android Studio? If not, I recommend you do.
Good! I’ve Android Studio installed and the Emulator is OK. When i run the app from VSCode either in the emulator or in a real Android 8.0.0 Phone the result is the same: The app hang at a black screen and nothing happend. No error appear. I suppose ineed to start another piece of software that is in conjunction with the mobile app and in vscode is called “mobile-api”, but i do not know how to do it. Please help!
That seems a bit weird to me, I have never experienced that myself before.
You should be able to run the app without the api being run locally.
Have you tried running debug instead of just installing the app and trying to open it?
You can do this by doing the following:
Go to the mobile app directory
Run the app with flutter
There might be some issues with your flutter installation, or you need to download some of the packages.
You can do this by running
flutter pub get this will install any missing packages that are needed to run the application.
If that does not work, you can always run
flutter doctor, this will give some information on potential problems.
i cloned the reposirtoy, commented the .env file in pubspec.yaml and instructed the suggested command but the result was the same as you may see… any idea?