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

ManageSpaceActivity: NoSuchMethodException: getPackageSizeInfo #17387

Closed
Tracked by #17370
david-allison opened this issue Nov 7, 2024 · 2 comments · Fixed by #17413
Closed
Tracked by #17370

ManageSpaceActivity: NoSuchMethodException: getPackageSizeInfo #17387

david-allison opened this issue Nov 7, 2024 · 2 comments · Fixed by #17413
Labels

Comments

@david-allison
Copy link
Member

david-allison commented Nov 7, 2024

https://ankidroid.org/acra/app/1/bug/253484/report/1766425b-f629-44a7-83cd-c9928a3add89

java.lang.NoSuchMethodException: getPackageSizeInfo [class java.lang.String, interface b.a]
	at java.lang.Class.getMethod(Class.java:1981)
	at java.lang.Class.getMethod(Class.java:1637)
	at com.ichi2.anki.ui.windows.managespace.FileUtilsKt.getUserDataAndCacheSizeUsingGetPackageSizeInfo(FileUtils.kt:115)
	at com.ichi2.anki.ui.windows.managespace.FileUtilsKt.getUserDataAndCacheSize(FileUtils.kt:46)
	at com.ichi2.anki.ui.windows.managespace.ManageSpaceViewModel$launchCalculationOfSizeOfEverything$1$1.invokeSuspend(ManageSpaceFragment.kt:155)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.java:111)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [p0{Cancelling}@219e5c1, Dispatchers.Main.immediate]
@david-allison
Copy link
Member Author

david-allison commented Nov 7, 2024

Samsung Galaxy S20 Ultra 5G on SDK 25 [???]

I can't figure out what this device is. I suspect it's a cloned device

Key value
BOARD universal8895
BOOTLOADER unknown
BRAND samsung
CPU_ABI x86
CPU_ABI2 armeabi-v7a
DEVICE z3q
DISPLAY QP1A.190711.020.G988NKSU1ATED
FINGERPRINT samsung/z3qksx/z3q:7.1.2/QP1A.190711.020/G988NKSU1ATED:user/release-keys
HARDWARE exynos8895
HOST Build2
ID QP1A.190711.020
IS_DEBUGGABLE true
IS_EMULATOR false
MANUFACTURER samsung
MODEL SM-G988N
PERMISSIONS_REVIEW_REQUIRED false
PRODUCT z3qksx
RADIO unknown
SUPPORTED_32_BIT_ABIS
0 x86
1 armeabi-v7a
2 armeabi
SUPPORTED_64_BIT_ABIS -
TIME 1505736970000
CODENAME REL
INCREMENTAL G988NKSU1ATED
PREVIEW_SDK_INT 7.1.2
RESOURCES_SDK_INT 25
SDK 25
SDK_INT 25
SECURITY_PATCH 2020-05-01

@david-allison
Copy link
Member Author

@Favourjhay01 (with apologies for the unsolicited ping)

You posted about this device on https://redirect.github.com/TGX-Android/Telegram-X/issues/706 , could you spare a second to confirm what phone you were using

@david-allison david-allison changed the title https://ankidroid.org/acra/app/1/bug/253484/report/1766425b-f629-44a7-83cd-c9928a3add89 ManageSpaceActivity: NoSuchMethodException: getPackageSizeInfo Nov 7, 2024
@david-allison david-allison added this to the 2.19.2 release milestone Nov 7, 2024
@github-actions github-actions bot modified the milestones: 2.19.2 release, 2.20 Release Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants