Open cangurellobello opened 3 years ago
You should be able to replace the line in pubspec.yaml
with music_player: ^0.1.5
I loaded up the apk with ^0.1.5. I think there's something missing, right?
Build log
% flutter build apk
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
/usr/local/Caskroom/flutter/2.0.5/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/android/src/main/java/com/tekartik/sqflite/SqflitePlugin.java:34: warning: [deprecation] Registrar in PluginRegistry has been deprecated
import io.flutter.plugin.common.PluginRegistry.Registrar;
^
/usr/local/Caskroom/flutter/2.0.5/flutter/.pub-cache/hosted/pub.dartlang.org/sqflite-1.3.0/android/src/main/java/com/tekartik/sqflite/SqflitePlugin.java:103: warning: [deprecation] Registrar in PluginRegistry has been deprecated
public static void registerWith(Registrar registrar) {
^
2 warnings
Note: /usr/local/Caskroom/flutter/2.0.5/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4/android/src/main/java/com/example/path_provider/PathProviderPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/Caskroom/flutter/2.0.5/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_macos-0.0.1+4/android/src/main/java/io/flutter/plugins/url_launcher_macos/UrlLauncherMacosPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/Caskroom/flutter/2.0.5/flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-0.1.1+1/android/src/main/java/io/flutter/url_launcher_web/UrlLauncherWebPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /usr/local/Caskroom/flutter/2.0.5/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.5/android/src/main/java/io/flutter/plugins/pathprovider/PathProviderPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Calling mockable JAR artifact transform to create file: /Users/joey/.gradle/caches/transforms-2/files-2.1/d4975dc296e11dcee5d6d3d6a99756de/android.jar with input /Users/joey/Library/Android/sdk/platforms/android-28/android.jar
Removed unused resources: Binary resource data reduced from 64KB to 63KB: Removed 0%
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 107,3s
✓ Built build/app/outputs/flutter-apk/app-release.apk (17.9MB)
No content is currently hosted for the Lisky Player, so you can't really use it. I would recommend only using it as a code base if you want to build your own music player or just take some code pieces out of it.
It would be cool to stream files directly from SkyDB. SkyGallery is a great case example. I'm not familiar with Android Dev (dart, kotlin, flutter, Android Studio etc..) but I'm keen to write out a simple py script. Thanks!
I tried running
flutter build apk
anddart pub get
. Seems like the file is missing in the git?