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

android14 branch not working in emulator #864

Open
projectgus opened this issue Feb 6, 2025 · 4 comments
Open

android14 branch not working in emulator #864

projectgus opened this issue Feb 6, 2025 · 4 comments

Comments

@projectgus
Copy link

projectgus commented Feb 6, 2025

I've been trying to get the emulator to run according to the instructions in app/development/DEVELOPMENT.md and the android14[*] branch (commit 1229cea) and Android Studio 2024.2.2, but I haven't had much luck:

Running the gradle app:provisionEmulator task appears to complete successfully (log output). I can see the emulator window at this point.

Running the runtime app-emulator config launches app:installEmulatorRelease and this seems to complete OK (log output).

Then Android Studio switches tabs and shows the run output:

2025-02-06 16:16:05: Launching app-emulator on 'seedvault'.
Open logcat panel for emulator seedvault

Default logcat panel output (filtered).

Same logcat without filter.

The emulator doesn't appear to do anything in response. If I manually open Settings -> System -> Backup then Seedvault doesn't seem to load at all:

Image

Logcat for opening the Backup menu item.

All log files from this issue report can be downloaded from this gist.

When I have time I'll try again from the android13 branch.

Thanks for all of your effort developing and maintaining SeedVault!

([*] I had even less luck with the android15 branch, but it seems like that one probably isn't expected to work yet. Can provide details if useful.)

@grote
Copy link
Collaborator

grote commented Feb 6, 2025

The docs you used may be outdated. Maybe what the CI does helps, because it works for sure there: https://github.com/seedvault-app/seedvault/blob/android15/.cirrus.yml#L20

@grote
Copy link
Collaborator

grote commented Feb 11, 2025

([*] I had even less luck with the android15 branch, but it seems like that one probably isn't expected to work yet. Can provide details if useful.)

That's actually the only branch that's actively maintained. I myself use a physical device for developing, not the emulator.

@projectgus
Copy link
Author

([*] I had even less luck with the android15 branch, but it seems like that one probably isn't expected to work yet. Can provide details if useful.)

That's actually the only branch that's actively maintained. I myself use a physical device for developing, not the emulator.

Thanks for the info. I wasn't clear enough, but was referring only to the emulator setup scripts (I noted it was using the API 34 system image, and it seems like adb remount doesn't work at all on the 35 system image - but I see the CI is using 34 so probably that wasn't something I needed to worry about.)

When I get some time again I'll try following the CI steps, and can maybe submit a PR for the emulator setup script. (My actual goal is to verify the fix for #858).

@grote
Copy link
Collaborator

grote commented Feb 13, 2025

Awesome, a working and tested emulator script will be much appreciated!

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

2 participants