Guides

Beginning Flutter: 40 Create an apk File



In this video, we compile our application to an apk file, which we can transfer to your Android phone. Please remember to change your environment variables. On GNU/Linux, add the following lines to the .bashrc file in the home directory:

export PATH=${PATH}:/home/your name/flutter/bin
export PATH=${PATH}:/home/your name/flutter/bin/cache/dart-sdk/bin

NOTE: In previous videos, I added a link to download the source code, and will try to do this in the future. For some reason, github isn’t working for me. Unfortunately, the “some reason” seems to be because I can’t figure it out, and am too embarrassed to outright say so. If I can figure it out in the future, I’ll go ahead and upload the files there, but this is a hack in the meantime.

7 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *