-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Description
Working in IOS but not in android.
I just upgraded flutter sdk and facing some errors related to shared_preferences. I updated this plugin but not working
here is error. I am using latest version which is
shared_preferences: ^0.5.6
Here is error
` What went wrong:
Could not determine the dependencies of task ':shared_preferences:compileDebugAidl'.
Could not resolve all task dependencies for configuration ':shared_preferences:debugCompileClasspath'.
Could not resolve project :shared_preferences_macos.
Required by:
project :shared_preferences
> Unable to find a matching configuration of project :shared_preferences_macos:
- None of the consumable configurations have attributes.
Could not resolve project :shared_preferences_web.
Required by:
project :shared_preferences
> Unable to find a matching configuration of project :shared_preferences_web:
- None of the consumable configurations have attributes.
`
And in android studio
`ERROR: Unable to resolve dependency for ':shared_preferences@debug/compileClasspath': Could not resolve project :shared_preferences_macos.
Show Details
Affected Modules: shared_preferences
ERROR: Unable to resolve dependency for ':shared_preferences@debug/compileClasspath': Could not resolve project :shared_preferences_web.
Show Details
Affected Modules: shared_preferences
ERROR: Unable to resolve dependency for ':shared_preferences@debugAndroidTest/compileClasspath': Could not resolve project :shared_preferences_macos.
Show Details
Affected Modules: shared_preferences
ERROR: Unable to resolve dependency for ':shared_preferences@debugAndroidTest/compileClasspath': Could not resolve project :shared_preferences_web.
Show Details
Affected Modules: shared_preferences
ERROR: Unable to resolve dependency for ':shared_preferences@debugUnitTest/compileClasspath': Could not resolve project :shared_preferences_macos.
Show Details
Affected Modules: shared_preferences `