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

"Could not read normalized cache" in AS plugin #5819

Closed
edenman opened this issue Apr 16, 2024 · 5 comments
Closed

"Could not read normalized cache" in AS plugin #5819

edenman opened this issue Apr 16, 2024 · 5 comments

Comments

@edenman
Copy link
Contributor

edenman commented Apr 16, 2024

Version

apollo 4.0.0-beta.2, AS plugin 4.0.0-beta.5-2024.1

Summary

Screenshot 2024-04-16 at 10 30 45

Steps to reproduce the behavior

Just installed the plugin. Clicked "Pull from device", selected my app's db file, and got this error

Logs

idea.log

2024-04-16 10:36:52,754 [332414127]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil - Command took 34.06 ms to execute: cat /proc/net/unix | grep apollo_debug_ | cat
2024-04-16 10:36:52,754 [332414127]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil -   Output line 1 (out of 1): 
2024-04-16 10:36:52,782 [332414155]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil - Command took 27.94 ms to execute: run-as com.x.android.debug ls -1 /data/data/com.x.android.debug/databases
2024-04-16 10:36:52,782 [332414155]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil -   Output line 1 (out of 3): 3016484291-apollo.db
2024-04-16 10:36:52,782 [332414155]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil -   Output line 2 (out of 3): 3016484291-apollo.db-journal
2024-04-16 10:36:54,201 [332415574]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil - Command took 22.89 ms to execute: touch /data/local/tmp/3016484291-apollo-tmp8932288885458383531.db
2024-04-16 10:36:54,201 [332415574]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil -   Output line 1 (out of 1): 
2024-04-16 10:36:54,256 [332415629]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil - Command took 55.08 ms to execute: run-as com.x.android.debug sh -c 'cp /data/data/com.x.android.debug/databases/3016484291-apollo.db /data/local/tmp/3016484291-apollo-tmp8932288885458383531.db'
2024-04-16 10:36:54,256 [332415629]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil -   Output line 1 (out of 1): 
2024-04-16 10:36:54,276 [332415649]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil - Command took 19.84 ms to execute: rm /data/local/tmp/3016484291-apollo-tmp8932288885458383531.db
2024-04-16 10:36:54,277 [332415650]   INFO - #com.android.tools.idea.adb.AdbShellCommandsUtil -   Output line 1 (out of 1): 
@BoD
Copy link
Contributor

BoD commented Apr 16, 2024

Thanks for reporting. I've just reproduced with AS Koala and will investigate. This doesn't seem to occur on Iguana and JellyFish - can you confirm you're also using Koala?

@edenman
Copy link
Contributor Author

edenman commented Apr 16, 2024

thanks for the quick reply! yup, Koala 2024.1.1 Canary 5.

@BoD
Copy link
Contributor

BoD commented Apr 17, 2024

Thanks a lot for reporting! A fix has been merged and will be in the next release of the plugin, in the meantime, it will also be included in the weekly snapshots version of the plugin which are published on Sundays.

@BoD
Copy link
Contributor

BoD commented Apr 24, 2024

The fix is in version 4.0.0-beta.6 of the plugin.

@BoD BoD closed this as completed Apr 24, 2024
Copy link
Contributor

Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants