Troubleshoot
1. Getting Braintree Error while running app?
1.1. To solve Braintree error
Download the file from the below link and replace it in the path C:\flutter.pub-cache\hosted\pub.dartlang.org
1.2. After Replacing files, Still getting error?
Copy the local.properties file from the project directory [ android-> local.properties ] and paste it at the path where your flutter sdk is installed [ flutter\.pub-cache\hosted\pub.dartlang.org\braintree_payment-1.2.4\android\ ]
1.3. If you get onesignal error
Replace the onesignal dependency in pubspec.yaml file with
onesignal_flutter: ^3.2.3
1.4 Now run your app
Run the following command in the terminal
flutter clean
flutter pub get
flutter run
2. better_player isssue
Package better_player: 0.0.83 had some issues and we have fixed the issues so that we could use the package in our Flutter Projects. This is why, it is must to follow and apply the given steps -
1. Download zip file from here -https://mega.nz/file/dURVmbbZ#SfzbWlHJ3IOMPFcGWMhuzHenRGPTx4yZ MjSLoQE4nzo
2. Extract zip file named local.zip inside project root directory (NextHour), 3. Open pubspec.yaml file, 4. Replace better_player: 0.0.83 with better_player: path: local/better_player-0.0.83 5. Now you may run App Project.
3. Target 'Runner' has copy command ios issue

Last updated