Closed buttonsrtoys closed 3 years ago
try flutter pub global run rename --bundleId com.dreamalytics.dreamapp
Ah. Of course. Thanks!
It is related to the dart paths and has been solved I think, I closing this ✌️
@Entrepreter Thanks for the info 🙏
I get the same error:
> opentabu % flutter pub global run rename --bundleId rignanese.leo.speakeasy
No active package rename.
pub finished with exit code 65
The installation seems successful:
dart pub global activate rename
+ args 2.4.0pendencies... (1.1s)
+ logger 1.2.2
+ rename 2.1.1
Downloading rename 2.1.1...
Downloading logger 1.2.2...
Downloading args 2.4.0...
Building package executables...
Built rename:rename.
Installed executable rename.
Warning: Pub installs executables into $HOME/.pub-cache/bin, which is not on your path.
You can fix that by adding this to your shell's config file (.bashrc, .bash_profile, etc.):
export PATH="$PATH":"$HOME/.pub-cache/bin"
Activated rename 2.1.1.
what worked for me, was after installing the package, and running " flutter pub get ", now activate the package by running this command: " flutter pub global activate rename " Then you can use the package.
so the steps again are : 1- flutter pub add rename 2- flutter pub get 3- flutter pub global activate rename 4- flutter pub global run rename --appname "YOUR APP NAME"
From my root folder I'm running: pub global run rename --bundleId com.dreamalytics.dreamapp which gives me the response "No active package rename". What does that mean?