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

238

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

flutter build apk --no-shrink

Hope it will work.

Thank you.

Share:
238
G H Prakash
Author by

G H Prakash

Updated on January 03, 2023

Comments

  • G H Prakash
    G H Prakash over 1 year

    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.

    PFAenter image description here

    • Hardik Mehta
      Hardik Mehta over 2 years
      @H ă ɤ í : Please Post error that youf acing while installing app
    • Hardik Mehta
      Hardik Mehta over 2 years
      Can you try by uninstall existing app from device and try ?
    • G H Prakash
      G H Prakash over 2 years
      yes I tried, still not working..
    • Hardik Mehta
      Hardik Mehta over 2 years
      Have you changed package name in build.gradle file as well or just in pubspec.yaml file ?
    • Hardik Mehta
      Hardik Mehta over 2 years
      @H ă ɤ í : from VS - Code terminal can you run this commad for run app : flutter run -v --release and provide logs.