简体   繁体   中英

app-release.apk not installing after changing package name in flutter?

I have changed the package name and name of my application. After changing it, the build apk_file was not installing in device. Can any one have solution for this.

Note: I am using VS-Code.

PFA在此处输入图像描述

I have added --no-shrink in command of building apk.

flutter build apk --no-shrink

Hope it will work.

Thank you.

That could be because of the debug and profile manifest files as well as the kotlin file, the package name needs to be changed there too.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM