can you please explain deploying the plugin to a new flutter app project..
adding github dependencies in a new project ended with errors.:
Steps:
1- created new Flutter app project
2- added dependencies to pubspec.yaml:
dependencies:
flutter_touchvg:
git:
url: git://github.com/kangshaojun/flutter_touchvg
then flutter pub get
3- replaced the project lib/main.dart with the repository of github /example/lib/main.dart
4- Run/Run without debuging : [ٍٍٍResults are:]
4-1 android:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'flutter_touchvg'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an
ANDROID_HOME environment variable.
**4-2 ios:**
error: Multiple commands produce '/Users/myhome/Projects/pheetingboard/build/ios/Debug-iphonesimulator/flutter_touchvg/flutter_touchvg.framework/Info.plist':
1) Target 'flutter_touchvg' (project 'Pods') has copy command from '/Users/myhome/Applications/flutter/.pub-cache/git/flutter_touchvg-ccd4dc2c910e5aa6f9fff230af6de3be7a8da082/ios/Classes/TouchVG/TouchVG.bundle/Info.plist' to '/Users/myhome/Projects/pheetingboard/build/ios/Debug-iphonesimulator/flutter_touchvg/flutter_touchvg.framework/Info.plist'
2) Target 'flutter_touchvg' (project 'Pods') has process command with output '/Users/myhome/Projects/pheetingboard/build/ios/Debug-iphonesimulator/flutter_touchvg/flutter_touchvg.framework/Info.plist'
what is the proper steps to add flutter_touchvg to a new flutter app project.?
can you please explain deploying the plugin to a new flutter app project..
adding github dependencies in a new project ended with errors.:
Steps:
1- created new Flutter app project
2- added dependencies to pubspec.yaml:
dependencies:
flutter_touchvg:
git:
url: git://github.com/kangshaojun/flutter_touchvg
then flutter pub get
3- replaced the project lib/main.dart with the repository of github /example/lib/main.dart
4- Run/Run without debuging : [ٍٍٍResults are:]
4-1 android:
FAILURE: Build failed with an exception.
A problem occurred configuring root project 'flutter_touchvg'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an
ANDROID_HOME environment variable.
what is the proper steps to add flutter_touchvg to a new flutter app project.?