Test Your App on mac
In this section, we are going to describe how to build the test APK file and Run App on Emulator
There two ways of testing your app: via Android Studio Emulator or by generating Test APK.
After you added app icon and website URL you can launch Emulator by clicking on Run App button in the Toolbar.
After that the Emulator will be launched with the app.
If you'd like to test the application on physical android devices, you can create APK file.
For this, you need to go to Terminal in Android Studio
Then you can make two types APK:
- 1.Test APK for android physical device
- 2.APK for Google Play
For Test APK you need write in terminal next code:
flutter build apk --no-sound-null-safety
It will take some time, then you will get a notification that the build was successful
For APK Google Play:
flutter build appbundle --no-sound-null-safety