-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unresolved references in Android project #67
Comments
To follow up on this, I today tried the following steps:
Build still fails and throws same errors about unresolved references to |
Have narrowed the cause down to a possible bad version on Reproduction:
Project will fail to run, throwing previously mentioned complaints about |
Issue solved: The package available from
Weirdly, I can't see any commit in the last 12 months where these weren't present, so not sure if something has gone wrong in the publishing process. Regardless, for the time being, installing directly from master works: pubspec.yml:
|
@fightwithcrayon I just published a new version 1.0.2, do you still have the same issues with this version? |
@brim-borium I am still facing the same issues with new version as well. |
Sorry, I'm not currently working with the SDK. Sounds like @saurabh-pandeyy, above, is facing it though. |
@fightwithcrayon I am unable to add Spotify Auth 1.2.3 and Spotify App Remote 0.7.1, can you tell me how to import |
HI @Nirmitjatana did you follow the instructions on how to add the modules from the readme? You can find a How-to for adding the modules here https://developer.spotify.com/documentation/android/quick-start/ |
@brim-borium Yeah I did, unfortunately after the new flutter update I am not to import .aar file as a module. I tried adding the files manually also, ran into some other errors. |
There is no option anymore on android studio to import .jar/.aar files as a module in a flutter project anymore. |
I will have a look at this and post my findings in the other ticket you opened, #99. I think the issue in this thread is not part of you problem :) |
I am getting this same issue and I am unable to solve this. Please guide me on how to solve this. |
Describe the bug
Adding
spotify_sdk
to a project seems to throw a lot of Unresolved Reference errors, even without actually having yet used imported the package in to my Flutter lib.This is using Spotify Auth 1.2.3 and Spotify App Remote 0.7.1 – both appear to be fully installed as expected (see images below).
Could be that I haven't setup my project correctly, but have retried a few times now and it seems following the steps in the documentation leads to this state.
Screenshots
Full error output:
Folder structure:
![Screenshot 2020-11-19 at 07 49 45](https://user-images.githubusercontent.com/5897209/99631442-e9454480-2a3b-11eb-82ac-b20209a0e654.png)
settings.gradle
:Even tried manually adding references to
![Screenshot 2020-11-19 at 07 50 13](https://user-images.githubusercontent.com/5897209/99631424-e5b1bd80-2a3b-11eb-9deb-c5b28422be88.png)
app/build.gradle
incase that was the issue, but no difference:Desktop:
OSX 10.15.7
Smartphone:
Pixel 3a, Android 11
Flutter
1.24.0-7.0.pre
The text was updated successfully, but these errors were encountered: