onatcipli / rename

The Rename CLI Tool is a utility designed to modify your Flutter project's AppName and BundleId across various platforms, such as iOS, Android, Macos, Linux, Windows and Web
https://pub.dev/packages/rename
MIT License
164 stars 39 forks source link

<application> tag was removed by rename --appname #23

Closed Yleisnero closed 1 year ago

Yleisnero commented 3 years ago

This line: <application android:label="myAppName" android:icon="@mipmap/ic_launcher"> was replaced by: myNewAppName

I was running: flutter pub global run rename --appname "myNewAppName" in VS Code.

aprashantz commented 2 years ago

This issue is still not solved (2021/Aug/26)

onatcipli commented 2 years ago

fixed with prerelease version please check

https://pub.dev/packages/rename/versions/2.0.0-dev.2

rename: ^2.0.0-dev.2

EmanoelV commented 2 years ago

This line: <application android:label="myAppName" android:icon="@mipmap/ic_launcher"> was replaced by: myNewAppName

I was running: flutter pub global run rename --appname "myNewAppName" in VS Code.

edit the code and leave it by lines like the example below and rerun the command.

example:

<application 
    android:label="myAppName" 
    android:icon="@mipmap/ic_launcher"
>

You already have a pull request to resolve this error: fixed error in rename android app name

onatcipli commented 1 year ago

PR merged, it should be fine now. If you face the issue again feel free to open!