natrium_wallet_flutter
natrium_wallet_flutter copied to clipboard
Could not find a file named "pubspec.yaml"
When i clone and do "flutter pub get" this happens:
[natrium_wallet_flutter-2.1.3] flutter packages get
Running "flutter pub get" in natrium_wallet_flutter-2.1.3...
Could not find a file named "pubspec.yaml" in "C:\Users\user\Documents\flutter\flutter_windows_v1.9.1+hotfix.4-stable\flutter.pub-cache\git\plugins-900165b300b16489bf2b5d4a55b30be7c799293f\packages\share".
pub get failed (66)
exit code 66
So i changed the yaml section of the share from
Share files share: git: url: https://github.com/bbedward/plugins.git path: packages/share ref: master to share: ^0.6.3+1
Then, the same mistake happens with barcode_scan, so i did the same:
barcode_scan: ^0.0.3
And then, this happens
- Error running Gradle: ProcessException: Process "C:\Users\user\Documents\natrium_wallet_flutter-2.1.3\natrium_wallet_flutter-2.1.3\android\gradlew.bat" exited abnormally:
Configure project :app registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack
trace.
Configure project :barcode_scan WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.3) for Android
Gradle Plugin 3.3.2. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. ******************* WARNING: This version of device_info will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated. *******************
FAILURE: Build failed with an exception.
-
What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. The following dependencies do not satisfy the required version: project ':barcode_scan' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.51
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full
insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 2m 54s Command: C:\Users\user\Documents\natrium_wallet_flutter-2.1.3\natrium_wallet_flutter-2.1.3\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.