Repository navigation
Closed
Description
Sounds Version :
0.9.2
Severity
- Cannot build my App
Platforms you faced the error
- Android
Logs
C:\...\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\sounds-0.9.2\.packages does not exist.
Did you run "flutter pub get" in this directory?
FAILURE: Build failed with an exception.
* Where:
Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 896
* What went wrong:
Execution failed for task ':sounds:compileFlutterBuildDebug'.
> Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* 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 15s
Exception: Gradle task assembleDebug failed with exit code 1
When I go to the C:\...\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\sounds-0.9.2\ directory and run flutter pub get I get:
Cannot open file, path = 'C:\...\AppData\Local\Pub\Cache\global_packages\sounds\pubspec.lock' (OS Error: The system cannot find the path specified.
, errno = 3)
flutter doctor :
[√] Flutter (Channel beta, 1.20.0-7.2.pre, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
• Flutter version 1.20.0-7.2.pre at C:\flutter
• Framework revision a2bde82fbd (7 days ago), 2020-07-18 15:16:35 -0700
• Engine revision 60b269d898
• Dart version 2.9.0 (build 2.9.0-21.2.beta)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\marti\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 47.1.2
• Dart plugin version 193.7361
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[√] VS Code (version 1.47.2)
• VS Code at C:\Users\marti\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.12.2
[√] Connected device (4 available)
• SM N960U1 (mobile) • 276ade38b4217ece • android-arm64 • Android 10 (API 29)
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 84.0.4147.89
• Edge (web) • edge • web-javascript • Microsoft Edge 83.0.478.56
flutter pub deps :
Dart SDK 2.9.0-21.2.beta
Flutter SDK 1.20.0-7.2.pre
record_bloc_example 1.0.0+1
|-- bloc 6.0.1
| '-- meta...
|-- equatable 1.2.2
| |-- collection...
| '-- meta...
|-- flutter 0.0.0
| |-- characters 1.0.0
| |-- collection 1.14.13
| |-- meta 1.1.8
| |-- sky_engine 0.0.99
| |-- typed_data 1.2.0
| | '-- collection...
| '-- vector_math 2.0.8
|-- flutter_bloc 6.0.1
| |-- bloc...
| |-- flutter...
| '-- provider 4.3.1
| |-- collection...
| |-- flutter...
| '-- nested 0.0.4
| '-- flutter...
|-- flutter_test 0.0.0
| |-- async 2.4.2
| | '-- collection...
| |-- boolean_selector 2.0.0
| | |-- source_span...
| | '-- string_scanner...
| |-- characters...
| |-- charcode 1.1.3
| |-- clock 1.0.1
| | '-- meta...
| |-- collection...
| |-- fake_async 1.1.0
| | |-- clock...
| | '-- collection...
| |-- flutter...
| |-- matcher 0.12.8
| | '-- stack_trace...
| |-- meta...
| |-- path...
| |-- source_span 1.7.0
| | |-- charcode...
| | |-- collection...
| | |-- meta...
| | |-- path...
| | '-- term_glyph...
| |-- stack_trace 1.9.5
| | '-- path...
| |-- stream_channel 2.0.0
| | '-- async...
| |-- string_scanner 1.0.5
| | |-- charcode...
| | |-- meta...
| | '-- source_span...
| |-- term_glyph 1.1.0
| |-- test_api 0.2.17
| | |-- async...
| | |-- boolean_selector...
| | |-- collection...
| | |-- matcher...
| | |-- meta...
| | |-- path...
| | |-- source_span...
| | |-- stack_trace...
| | |-- stream_channel...
| | |-- string_scanner...
| | '-- term_glyph...
| |-- typed_data...
| '-- vector_math...
|-- path_provider 1.6.11
| |-- flutter...
| |-- path_provider_linux 0.0.1+2
| | |-- flutter...
| | |-- path...
| | |-- path_provider_platform_interface...
| | '-- xdg_directories 0.1.0
| | |-- flutter...
| | |-- path...
| | '-- process 3.0.13
| | |-- file 5.2.1
| | | |-- intl...
| | | |-- meta...
| | | '-- path...
| | |-- intl...
| | |-- meta...
| | |-- path...
| | '-- platform...
| |-- path_provider_macos 0.0.4+3
| | '-- flutter...
| '-- path_provider_platform_interface 1.0.2
| |-- flutter...
| |-- meta...
| |-- platform 2.2.1
| '-- plugin_platform_interface 1.0.2
| '-- meta...
|-- permission_handler 5.0.1+1
| |-- flutter...
| |-- meta...
| '-- permission_handler_platform_interface 2.0.1
| |-- flutter...
| |-- meta...
| '-- plugin_platform_interface...
'-- sounds 0.9.2
|-- device_info 0.4.2+4
| '-- flutter...
|-- flutter...
|-- flutter_spinkit 4.1.2+1
| '-- flutter...
|-- meta...
|-- path 1.7.0
|-- path_provider...
|-- provider...
|-- sounds_common 1.0.6
| |-- flutter...
| |-- intl 0.16.1
| | '-- path...
| |-- logger 0.7.0+2
| |-- meta...
| |-- path...
| |-- pedantic 1.9.0
| '-- uuid...
'-- uuid 2.2.0
|-- convert 2.1.1
| |-- charcode...
| '-- typed_data...
'-- crypto 2.1.5
|-- collection...
|-- convert...
'-- typed_data...
Screenshots
(If applicable, add screenshots to help explain your problem).
Describe the bug
In a new project, I can't deploy because of this. Just build and try to run.
Expected behavior
My App to build
Additional context**
Windows 10, VSCode. Tried changing flutter versions but not
Metadata
Metadata
Assignees
Labels
No labels
Activity
YeomDongUk commentedon Jul 27, 2020
I have same problem
mdkess commentedon Jul 31, 2020
@YeomDongUk are you also on Windows? Maybe we can figure this out.
fangmd commentedon Aug 2, 2020
same macos
do4Mother commentedon Aug 4, 2020
change version to 1.0.0-beta.5
bsutton commentedon Aug 6, 2020
do4Mother did moving to the beta resolve the issue?
hanllo commentedon Aug 7, 2020
Had the same problem, changing to beta resolved
bsutton commentedon Aug 7, 2020
Thanks for the feedback. Will close this out.