brim-borium / spotify_sdk

Flutter Package to connect the spotify sdk
https://pub.dev/packages/spotify_sdk
Apache License 2.0
152 stars 82 forks source link

AndroidManifest.xml Bug #182

Closed OmarSuede closed 1 year ago

OmarSuede commented 1 year ago

!! Attention !! FILL IN ALL SECTIONS OF THIS TEMPLATE OR YOUR ISSUE WILL BE CLOSED WITHOUT INVESTIGATION This is a flutter package that wraps the native iOS and Android Spotify "remote" SDKs as well as the Spotify Web Playback SDK for web. Since it wraps the native SDKs it has the same features and limitations. Please use the search functionality in the native SDK repos to find corresponding issues before opening an issue here. If your issue is deriving from the native SDKs you should open an issue there and not in this repo.

Is this a how to question? No If Yes, please use Stack Overflow instead.

Is this a native Spotify SDK issue? No If you answered "Yes" then your issue belongs to the native SDK repo and not here. If you answered "I don't know" then you should visit the corresponding native SDK repo and make sure that this is not a native SDK issue.

Have you searched for existing issues? Yes If you answered "No" you should that first before opening a new issue.

Are you using a Free or Premium Spotify account? Premium

Are you aware of the limitations of Free Spotify accounts? Yes If you answered "No" and you are using a Free account then you make sure that this is not behavior that intentionally limited by the native SDK.

Expected behavior A clear and concise description of what you expected to happen. I ran the example a couple of days ago, and everything was working fine. Then today I am trying to run it again but I keep getting an error

Describe the bug A clear and concise description of what happened instead. I did run flutter pub get then the example is not running and giving an error when using "flutter run .\example.\lib\main.dart" the error looks like this "AndroidManifest.xml could not be found. Please check D:\CS\spotify_sdk\android\app\src\main\AndroidManifest.xml for errors. No application found for TargetPlatform.android_x64. Is your project missing an android\app\src\main\AndroidManifest.xml? Consider running "flutter create ." to create one."

Steps to Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem. image

Spotify_sdk Flutter package version Check you pubspeck.lock file to verify the exact version [e.g 2.1, commit ID]

Target Platform, Version & Device

Development OS

Additional context Add any other information about the problem here.

brim-borium commented 1 year ago

Hi @OmarSuede

spotify_sdk\android\app\src\main\AndroidManifest.xml

This looks like it's trying to look for an Manifest in the sdk and not the example.

Did you check out the current main branch ?

I did run the current main branch and everything looked fine here on my end.