Coder Social home page Coder Social logo

flutter-netease-music's Introduction

保护版权,此仓库不再维护

flutter-netease-music's People

Contributors

boyan01 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter-netease-music's Issues

demo无法编译

[flutter-netease-music-master] flutter packages get
Running "flutter pub get" in flutter-netease-music-master...
Could not find a file named "pubspec.yaml" in "E:\Users\name\Desktop\flutter-netease-music-master\loader".
pub get failed (66)
exit code 66

flutter run --profile (it show message below)

Compiler message:
cloud_music_api/lib/src/util/request.dart:117:51: Error: The argument type 'Utf8Decoder' can't be assigned to the parameter type 'StreamTransformer<Uint8List, dynamic>'.

  • 'Utf8Decoder' is from 'dart:convert'.
  • 'StreamTransformer' is from 'dart:async'.
  • 'Uint8List' is from 'dart:typed_data'.
    Try changing the type of the parameter, or casting the argument to 'StreamTransformer<Uint8List, dynamic>'.
    final content = await response.transform(utf8.decoder).join();
    ^
    Compiler terminated unexpectedly.
    Running Gradle task 'assembleProfile'...
    Running Gradle task 'assembleProfile'... Done 9.4s
    Gradle task assembleProfile failed with exit code 1

add error callback

I/QuietPlayerChannel( 5024): (QuietPlayerChannel.kt:92)QuietPlayerChannel.onMethodCall: call : playWithPlaylist
I/QuietMusicPlayer( 5024): (QuietMusicPlayer.kt:101)QuietMusicPlayer.play: try to play {id : 409931583 , title : Snakes (Extended Mix)}
D/QuietPlayerService$Companion( 5024): (QuietPlayerService.kt:85)QuietPlayerService$Companion.ensureServiceRunning$default: we do not need to start music MusicPlayer service ,because it is already running...
E/ExoPlayerImplInternal( 5024): Source error.
E/ExoPlayerImplInternal( 5024): com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 302
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.DefaultHttpDataSource.open(DefaultHttpDataSource.java:300)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:250)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.TeeDataSource.open(TeeDataSource.java:53)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.openNextSource(CacheDataSource.java:479)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.cache.CacheDataSource.open(CacheDataSource.java:308)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:83)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.source.ExtractorMediaPeriod$ExtractingLoadable.load(ExtractorMediaPeriod.java:885)
E/ExoPlayerImplInternal( 5024): 	at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:381)
E/ExoPlayerImplInternal( 5024): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
E/ExoPlayerImplInternal( 5024): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
E/ExoPlayerImplInternal( 5024): 	at java.lang.Thread.run(Thread.java:764)
I/zygote  ( 5024): Do full code cache collection, code=122KB, data=85KB
I/zygote  ( 5024): After code cache collection, code=90KB, data=51KB


Originally posted by @phuongphally in #9 (comment)

pubspec.yaml有问题吧

image
我删除了里面的^符号,还是运行不了,还是同样的问题,请问怎么解决啊

Running error

Thanks for your work!

When i'm try to run your project it get message like below
No implementation found for method encrypt on channel tech.soit.netease/crypto

please help me .

thanks again.

运行项目错误Error running pod install Error launching application on iPhone 11 Pro.

macOS10.15.1.`
simulator11.2.1
Flutter 版本:channel dev 1.13.0, Dart版本:2.7.0

CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Finding Podfile changes
  A shared_preferences_macos
  A shared_preferences_web
  - Flutter
  - barcode_scan
  - flutter_2d_amap
  - image_picker
  - path_provider
  - shared_preferences
  - sqflite
  - url_launcher
  - webview_flutter

Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `barcode_scan` from `.symlinks/plugins/barcode_scan/ios`
-> Fetching podspec for `flutter_2d_amap` from `.symlinks/plugins/flutter_2d_amap/ios`
-> Fetching podspec for `image_picker` from `.symlinks/plugins/image_picker/ios`
-> Fetching podspec for `path_provider` from `.symlinks/plugins/path_provider/ios`
-> Fetching podspec for `shared_preferences` from
`.symlinks/plugins/shared_preferences/ios`
-> Fetching podspec for `shared_preferences_macos` from
`.symlinks/plugins/shared_preferences_macos/ios`
-> Fetching podspec for `shared_preferences_web` from
`.symlinks/plugins/shared_preferences_web/ios`
-> Fetching podspec for `sqflite` from `.symlinks/plugins/sqflite/ios`
-> Fetching podspec for `url_launcher` from `.symlinks/plugins/url_launcher/ios`
-> Fetching podspec for `webview_flutter` from `.symlinks/plugins/webview_flutter/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking
  is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_0_2_a.txt exists! Returning local because
  checking is only perfomed in repo update
  CDN: trunk Relative path:
  Specs/0/2/a/MTBBarcodeScanner/5.0.11/MTBBarcodeScanner.podspec.json exists! Returning
  local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_8_a_a.txt exists! Returning local because
  checking is only perfomed in repo update
  CDN: trunk Relative path: Specs/8/a/a/AMap2DMap/5.6.1/AMap2DMap.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path: all_pods_versions_6_8_7.txt exists! Returning local because
  checking is only perfomed in repo update
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/6/8/7/AMapSearch/3.2.0/AMapSearch.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/6/8/7/AMapSearch/3.2.0/AM
  apSearch.podspec.json
  CDN: trunk Relative path downloaded:
  Specs/6/8/7/AMapSearch/3.2.0/AMapSearch.podspec.json, save ETag:
  W/"27b768378fa9d22bf14d174015e347da258a052d33799f4870bc22192166bc40"
  CDN: trunk Relative path: Specs/6/8/7/AMapSearch/7.1.0/AMapSearch.podspec.json exists!
  Returning local because checking is only perfomed in repo update
  CDN: trunk Relative path downloaded: all_pods_versions_0_3_9.txt, save ETag:
  "7b58aa0aa211dd18025d95ea016bd426-ssl"
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.6.3/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.6.3/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.1.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.1.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/1.2.2/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/1.2.2/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.6.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.6.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/1.1.1/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/1.1.1/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.1.1/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.1.1/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.3.1/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.3.1/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.5.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.5.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.3.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.3.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/1.1.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/1.1.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.6.2/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.6.2/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/1.0.1/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/1.0.1/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/1.0.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/1.0.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.2.2/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.2.2/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/1.2.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/1.2.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.4.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.4.0/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.6.4/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.6.4/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.6.1/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.6.1/
  AMapLocation.podspec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.0.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.0.0/
  AMapLocation.podspec.json
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/1.2.2/AMapLocation.podspec.json, save ETag:
  W/"9947b4ea62685943665337d2eb7b3cf182f28da2cfc2f5c8755a1431d61e7da6"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.6.0/AMapLocation.podspec.json, save ETag:
  W/"52af0b7e7937cf09c19ce70f3493b7e09a0db6dededd05bda16d033f6f0c47d0"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.6.4/AMapLocation.podspec.json, save ETag:
  W/"304a86ebaf35f9c33b58c0e9aec284cd4bf4eb4e2fea758b0dc4e85b899bdd22"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.6.2/AMapLocation.podspec.json, save ETag:
  W/"eb75830005a6baf918899ba0512eb08115f2a3c44f1d92765e0e6063fb1aa6ed"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.0.0/AMapLocation.podspec.json, save ETag:
  W/"350c85e69cafac8860fddd696c5db3aa29d957f334371f24f794e1c0c16ae305"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.4.0/AMapLocation.podspec.json, save ETag:
  W/"89332afae123de094729e2e2352b54b3ebae8edd7c002f9004b8d05b64d72608"
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/0/3/9/AMapLocation/2.2.0/AMapLocation.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/0/3/9/AMapLocation/2.2.0/
  AMapLocation.podspec.json
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/1.2.0/AMapLocation.podspec.json, save ETag:
  W/"4319a9fae37f49f67cb3a1174dfecc0673d9ef8f4ff08f2c9931ac7f9baf30a1"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.6.3/AMapLocation.podspec.json, save ETag:
  W/"16f201ec9db58626c5e2e9943772d5df64ac8f6f3480fc4249259863221b6e73"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.1.0/AMapLocation.podspec.json, save ETag:
  W/"7412e7fc76b2b16a66022d910ef4e1c52fdd7dfa6b37fd4a483e9f109e5ee39a"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.6.1/AMapLocation.podspec.json, save ETag:
  W/"b26e4e9902822b1e074194b5e45eb8a90bbd0ace31b911919bc257670ccdb301"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/1.1.1/AMapLocation.podspec.json, save ETag:
  W/"635f46a61110c536684104484458183cec28959bdf48f6ab673c7b2704a636f2"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.1.1/AMapLocation.podspec.json, save ETag:
  W/"051a512992ec57208b71cb4fb94c59855d92958f79c486ec447033637e66e4c6"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.3.0/AMapLocation.podspec.json, save ETag:
  W/"5604718d47c32b7b075c39ed9eeb1cfe09e52b0a5d954c60cba6d294f6b5f0d3"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/1.0.1/AMapLocation.podspec.json, save ETag:
  W/"84e247cb4073d73cc08261972da249a132758608612f3d168d1074a0224d7c15"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/1.0.0/AMapLocation.podspec.json, save ETag:
  W/"48e45790072ba33b10ef2b8583d17aa731a11302273567347a08034951ca6054"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.5.0/AMapLocation.podspec.json, save ETag:
  W/"78f618ba5521814ee993c8c884164f2570e561f9581689c046f62b769569908c"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/1.1.0/AMapLocation.podspec.json, save ETag:
  W/"5eca8dd00dbe74f633afe388e55fd68fe4f1dc903be3545e88929c09a826ef82"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.2.0/AMapLocation.podspec.json, save ETag:
  W/"441b15df4c005e2889a7a6a3af81a674305028b5204668d282ab496c41ceb06c"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.2.2/AMapLocation.podspec.json, save ETag:
  W/"728d8d6f10e7a5b807c2820748a1abea0f6fc975cef9da082f45e02880ff22b1"
  CDN: trunk Relative path downloaded:
  Specs/0/3/9/AMapLocation/2.3.1/AMapLocation.podspec.json, save ETag:
  W/"389553c53e0e9e57faed93b401b7e66f771fd78dbbd73394e1401ff19a954f14"
  CDN: trunk Relative path: Specs/0/3/9/AMapLocation/2.6.4/AMapLocation.podspec.json
  modified during this run! Returning local
  CDN: trunk Relative path downloaded: all_pods_versions_f_4_e.txt, save ETag:
  "4f55301ea5c0f786f2d51ce783ad3e98-ssl"
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/1.5/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/1.5/FMDB.podsp
  ec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.0/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.0/FMDB.podsp
  ec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.7.5/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.7.5/FMDB.pod
  spec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.7.2/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.7.2/FMDB.pod
  spec.json
  CDN: trunk Relative path downloaded: Specs/f/4/e/FMDB/2.0/FMDB.podspec.json, save ETag:
  W/"b587d67ca4cabbfa5f2cfa1bb3ad21cc4b4fe4b1dccc01d52808aae9b31982f6"
  CDN: trunk Relative path downloaded: Specs/f/4/e/FMDB/2.7.2/FMDB.podspec.json, save
  ETag: W/"224cb65821455c7b31ed2aa147aafb30fb7cd6b2af291f4316399d4f4b694cd0"
  CDN: trunk Relative path downloaded: Specs/f/4/e/FMDB/2.7.5/FMDB.podspec.json, save
  ETag: W/"13d6dfbd6333b8c3bdc4db36603db03463730bcb1491dd7632002307e1c9d013"
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.2/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.2/FMDB.podsp
  ec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.6.2/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.6.2/FMDB.pod
  spec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.1/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.1/FMDB.podsp
  ec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.3/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.3/FMDB.podsp
  ec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.4/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.4/FMDB.podsp
  ec.json
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/1.5.1/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/1.5.1/FMDB.pod
  spec.json
  CDN: trunk Relative path: Specs/f/4/e/FMDB/1.5.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.3/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.4/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path downloaded: Specs/f/4/e/FMDB/1.5/FMDB.podspec.json, save ETag:
  W/"f136263ff06afcd2c7a0eb94454bee8ef5a610b45bb20d85661578116320ce88"
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/1.5.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.3/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.4/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.3/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/1.5.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.3/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.4/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/1.5.1/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6.2/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.4/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.6/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.6/FMDB.podsp
  ec.json
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.6/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Redirecting from
  https://cdn.cocoapods.org/Specs/f/4/e/FMDB/2.5/FMDB.podspec.json to
  https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.5/FMDB.podsp
  ec.json
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.5/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.5/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.5/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
  CDN: trunk Relative path: Specs/f/4/e/FMDB/2.5/FMDB.podspec.json error: Failed to open
  TCP connection to raw.githubusercontent.com:443 (Connection refused - connect(2) for
  "raw.githubusercontent.com" port 443) - retrying
[!] CDN: trunk Repo update failed - 8 error(s):
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/1.5.1/FMDB.podsp
ec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.1/FMDB.podspec
.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.2/FMDB.podspec
.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.3/FMDB.podspec
.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.4/FMDB.podspec
.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.5/FMDB.podspec
.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.6/FMDB.podspec
.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)
CDN: trunk URL couldn't be downloaded:
https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/f/4/e/FMDB/2.6.2/FMDB.podsp
ec.json, error: Failed to open TCP connection to raw.githubusercontent.com:443 (Connection
refused - connect(2) for "raw.githubusercontent.com" port 443)

/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/cdn_source.rb:422:in
`rescue in catching_concurrent_errors'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/cdn_source.rb:418:in
`catching_concurrent_errors'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/cdn_source.rb:139:in
`versions'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb
:99:in `block in versions_by_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb
:98:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb
:98:in `each_with_object'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb
:98:in `versions_by_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/specification/set.rb
:56:in `specification_name'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/cdn_source.rb:212:in
`search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source/aggregate.rb:
83:in `block in search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source/aggregate.rb:
83:in `select'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/source/aggregate.rb:
83:in `search'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:416:in
`create_set_from_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:385:in
`find_cached_set'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:360:in
`specifications_for_dependency'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:165:in
`search_for'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:274:in `block in
sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:267:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:267:in `sort_by'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:267:in
`sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provid
er.rb:53:in `block in sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provid
er.rb:70:in `with_no_such_dependency_error_handling'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provid
er.rb:52:in `sort_dependencies'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:754:in
`push_state_for_requirements'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:746:in
`require_nested_dependencies_for'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:729:in
`activate_new_spec'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:686:in
`attempt_to_activate'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in
`process_topmost_state'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/resolver.rb:94:in `resolve'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:986:in
`block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in
`section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:984:in
`resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer/analyzer.rb:124:in
`analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:410:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:234:in `block in
resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/user_interface.rb:64:in
`section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:233:in
`resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/installer.rb:156:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error running pod install
Error launching application on iPhone 11 Pro.

台灣手機號無法登入

2019-09-24_01h24_42

請問我是用台灣手機號註冊的。

在用這手機登入時,API發生底下的錯誤。
或許是台灣手機傳入的格式不同,也或許是要呼叫另一個API。
請求協助。感恩。

class WelcomeRepository {
  ///检测手机号是否已存在
  static Future<Result<PhoneCheckResult>> checkPhoneExist(String phone) async {
    print('phone: $phone');
    final result = await neteaseRepository.doRequest(
      '/cellphone/existence/check',
      {'phone': phone},
    );
    if (result.isError) return result.asError;
    final value = PhoneCheckResult.fromJsonMap(result.asValue.value);
    return Result.value(value);
  }
}

I/flutter (17551): phone: 918122223
I/flutter (17551): request[200] : /cellphone/existence/check?param=no9qDvNCfjO%2B9m5zfvpnuGeAngcoM5rmWc8lrOmakig%3D
E/flutter (17551): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: NoSuchMethodError: The getter 'value' was called on null.
E/flutter (17551): Receiver: null

我在run项目是遇到了这个问题

Launching lib/main.dart on iPhone 11 Pro in debug mode...

Running pod install... 1.8s
CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target
  `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `music_player` from
`.symlinks/plugins/music_player/ios`
[!] No podspec found for `music_player` in
`.symlinks/plugins/music_player/ios`

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ext
ernal_sources/path_source.rb:14:in `block in fetch'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/use
r_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ext
ernal_sources/path_source.rb:11:in `fetch'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller/analyzer.rb:901:in `fetch_external_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller/analyzer.rb:880:in `block (2 levels) in
fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller/analyzer.rb:879:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller/analyzer.rb:879:in `block in fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/use
r_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller/analyzer.rb:878:in `fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller/analyzer.rb:117:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller.rb:410:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller.rb:234:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/use
r_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller.rb:233:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/ins
taller.rb:156:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/com
mand/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.r
b:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/com
mand.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/bin/pod:55:in
`<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error running pod install
Error launching application on iPhone 11 Pro.

No named parameter with the name 'targetWidth'.

Compiler message:
lib/repository/netease_image.dart:78:11: Error: No named parameter with the name 'targetWidth'.
targetWidth: key.width, targetHeight: -1);
^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/painting.dart:1655:15: Context: Found this candidate, but the arguments don't match.
Future instantiateImageCodec(Uint8List list, {
^^^^^^^^^^^^^^^^^^^^^
lib/repository/netease_image.dart:99:9: Error: No named parameter with the name 'targetWidth'.
targetWidth: key.width, targetHeight: -1);
^^^^^^^^^^^
org-dartlang-sdk:///flutter/lib/ui/painting.dart:1655:15: Context: Found this candidate, but the arguments don't match.
Future instantiateImageCodec(Uint8List list, {
^^^^^^^^^^^^^^^^^^^^^
Compiler failed on D:\flutter_pro\flutter-netease-music-master\lib/main.dart
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 7.9s
Gradle task assembleDebug failed with exit code 1

退出应用,再进就一直卡在欢迎页,报错信息如下

I/ExoPlayerImpl(30023): Init 533565a [ExoPlayerLib/2.10.1] [dipper, MI 8, Xiaomi, 28]
E/flutter (30023): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: SocketException: Failed to create server socket (OS Error: The shared flag to bind() needs to be true if binding multiple times on the s
ame (address, port) combination.), address = localhost, port = 3000
E/flutter (30023): #0 _NativeSocket.bind (dart:io-patch/socket_patch.dart:605)
E/flutter (30023):
E/flutter (30023): #1 _RawServerSocket.bind (dart:io-patch/socket_patch.dart:1222)
E/flutter (30023): #2 _ServerSocket.bind (dart:io-patch/socket_patch.dart:1482)
E/flutter (30023): #3 ServerSocket.bind (dart:io-patch/socket_patch.dart:1473)
E/flutter (30023): #4 _HttpServer.bind (dart:_http/http_impl.dart:2590)
E/flutter (30023): #5 HttpServer.bind (dart:_http:227)
E/flutter (30023): #6 startServer (package:netease_music_api/netease_cloud_music.dart:23)
E/flutter (30023): #7 main (package:quiet/main.dart:26)
E/flutter (30023): #8 _runMainZoned.. (dart:ui/hooks.dart:229)
E/flutter (30023): #9 _rootRun (dart:async/zone.dart:1124)
E/flutter (30023): #10 _CustomZone.run (dart:async/zone.dart:1021)
E/flutter (30023): #11 _runZoned (dart:async/zone.dart:1516)
E/flutter (30023): #12 runZoned (dart:async/zone.dart:1500)
E/flutter (30023): #13 _runMainZoned. (dart:ui/hooks.dart:221)
E/flutter (30023): #14 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305)
E/flutter (30023): #15 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172)
E/flutter (30023):
D/MusicPlayerService$MediaControllerCallback(30023): (MusicPlayerService.kt:280)MusicPlayerService$MediaControllerCallback.onMetadataChanged: onMetadataChanged : null
D/MusicPlayerService(30023): (MusicPlayerService.kt:261)MusicPlayerService.onGetRoot: on get root : /
D/MusicPlayerPlugin$connectCallback$1(30023): (MusicPlayerPlugin.kt:61)MusicPlayerPlugin$connectCallback$1.onConnected: connected , android.support.v4.media.session.MediaSessionCompat$Token@1ac4da0
I/AlarmService(30023): setBackgroundFlutterView tried to overwrite an existing FlutterNativeView

iOS 平台编译报错

CocoaPods' output:

Preparing

Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `music_player` from `.symlinks/plugins/music_player/ios`
[!] No podspec found for `music_player` in `.symlinks/plugins/music_player/ios`

/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/external_sources/path_source.rb:14:in `block in fetch'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/external_sources/path_source.rb:11:in `fetch'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer/analyzer.rb:901:in `fetch_external_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer/analyzer.rb:880:in `block (2 levels) in fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer/analyzer.rb:879:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer/analyzer.rb:879:in `block in fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer/analyzer.rb:878:in `fetch_external_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer/analyzer.rb:117:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer.rb:410:in `analyze'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer.rb:234:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer.rb:233:in `resolve_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/installer.rb:156:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:

[!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Finished with error: Error running pod install

锁屏

想问问手机锁屏后,依然能在屏幕上看到播放进度条,这个功能能不能用flutter实现?

Download Feature

Hello I'm using your code to download. But can not get it working.

Can you help me sample for download ?

先生,你好.

看了你的GIf 有播放音乐的页面,
在测试了这个代码,没有能播放音乐?

flutter_test from sdk is incompatible with loader

新手求教,请问下面问题怎么解决?
Running "flutter packages get" in flutter-netease-music
Because every version of flutter_test from sdk depends on async 2.1.0 and every version of loader from git depends on async ^2.2.0, flutter_test from sdk is incompatible with loader from git.
So, because quiet depends on both loader from git and flutter_test any from sdk, version solving failed.
pub get failed (1)

崇拜!

大佬你用scoped model写的,我都看不懂(≧∇≦*)

FormatException: FormatException: Bad UTF-8 encoding 0xc3 (at offset 178)

你好,我在启动的时候,遇到这个问题。
FormatException: FormatException: Bad UTF-8 encoding 0xc3 (at offset 178)

#0      _Utf8Decoder.convert (dart:convert/utf.dart:484:15)
#1      _Utf8ConversionSink.addSlice (dart:convert/string_conversion.dart:345:14)
#2      _Utf8ConversionSink.add (dart:convert/string_conversion.dart:341:5)
#3      _ConverterStreamEventSink.add (dart:convert/chunked_conversion.dart:86:18)
#4      _SinkTransformerStreamSubscription._handleData (dart:async/stream_transformers.dart:120:24)
#5      _rootRunUnary (dart:async/zone.dart:1132:38)
#6      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#7      _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#8      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#9      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#10     _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19)
#11     _StreamController._add (dart:async/stream_controller.dart:639:7)
#12     _StreamController.add (dart:async/stream_controller.dart:585:5)
#13     _Socket._onData (dart:io/runtime/binsocket_patch.dart:1721:41)
#14     _rootRunUnary (dart:async/zone.dart:1136:13)
#15     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#16     _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7)
#17     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:336:11)
#18     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:263:7)
#19     _SyncStreamController._sendData (dart:async/stream_controller.dart:763:19)
#20     _StreamController._add (dart:async/stream_controller.dart:639:7)
#21     _StreamController.add (dart:async/stream_controller.dart:585:5)
#22     new _RawSocket.<anonymous closure> (dart:io/runtime/binsocket_patch.dart:1283:33)
#23     _NativeSocket.issueReadEvent.issue (dart:io/runtime/binsocket_patch.dart:826:14)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#26     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#27     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

网上找了很久没有找到解决方案。运行环境什么的都没有更改,手机是荣耀九。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.