Skip to content
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

.\gradlew.bat clean build --refresh-dependencies Error #736

Open
bongbong302 opened this issue Jan 1, 2025 · 0 comments
Open

.\gradlew.bat clean build --refresh-dependencies Error #736

bongbong302 opened this issue Jan 1, 2025 · 0 comments

Comments

@bongbong302
Copy link

bongbong302 commented Jan 1, 2025

Hello I've been suffering from a griddle build error for a long time. I think it's related to the Shared PreferencesTest, please check it.

<< Image >>
스크린샷 2025-01-01 101104

<< log >>
`> Task :shared_preferences_android:testDebugUnitTest
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSharedPreferencesWithMultipleFiles PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetStringWithDataStore PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSharedPreferencesDefaultFile PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testClearWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testGetKeysWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetIntWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetDoubleWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testGetAllWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testGetAllWithAllowListWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testClearWithAllowListWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetBoolWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetBoolWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testGetAllWithAllowListWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testGetKeysWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetStringWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetDoubleWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetIntWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetStringListWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testClearWithSharedPreferences PASSED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testClearWithAllowListWithDataStore SKIPPED
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testSetAndGetStringListWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testGetAllWithDataStore FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
io.flutter.plugins.sharedpreferences.SharedPreferencesTest > testUnexpectedClassDecodeThrows FAILED
java.io.IOException at SingleProcessDataStore.kt:433
Caused by: java.io.IOException at SingleProcessDataStore.kt:433
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended

Task :shared_preferences_android:testDebugUnitTest FAILED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > getAll PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > setStringList PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > setInt PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > setDouble PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > allowList PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > clearWithNoAllowList PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > setString PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > clearWithAllowList PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > clearAll PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > testRemove PASSED
io.flutter.plugins.sharedpreferences.LegacySharedPreferencesTest > setBool PASSED
34 tests completed, 9 failed, 1 skipped
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':shared_preferences_android:testDebugUnitTest'.`
  • shared_preferences 2.3.4
  • shared_preferences_android 2.4.0 <- Maybe...
  • shared_preferences_foundation 2.5.4
  • shared_preferences_linux 2.4.1
  • shared_preferences_platform_interface 2.4.1
  • shared_preferences_web 2.4.2
  • shared_preferences_windows 2.4.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant