I tried generating and APK file for my android project. The build process went successfully but I can’t find where to locate the APK file. Here is the message I got after the APK file was generated:
Running Gradle task ‘assembleRelease’… 148.2s
√ Built buildappoutputsflutter-apkapp-release.apk (21.4MB)
Process finished with exit code 0
2
Answers
The message mentions the path to the output APK.
app
directory and thenopen in finder
.build
. If this doesn’t exist or it’s empty, you should regenerate the APKflutter build apk
. This directory gets deleted when you runflutter clean
.appoutputsflutter-apk
directory in thebuild
folder.First Think Which Apk file you Need like Debug or Release, Execute this Command with your terminal:
After that Right click with your root project name