kangshaojun / flutter_touchvg

a flutter whiteboard plugin
MIT License
46 stars 23 forks source link

Deply Plugin to flutter app Error #2

Open holan opened 4 years ago

holan commented 4 years ago

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 is the proper steps to add flutter_touchvg to a new flutter app project.?

kangshaojun commented 4 years ago

Because i have not upload this plugin to pub.dartlang.org. You can try using relative paths to add this plug-in.

alholan commented 4 years ago

i did same result... please can you explain how to use this plugin in a new flutter project thanks in advance