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

Add FakeContext.getContentResolver() #5476

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Add FakeContext.getContentResolver() #5476

merged 1 commit into from
Nov 14, 2024

Conversation

rom1v
Copy link
Collaborator

@rom1v rom1v commented Nov 12, 2024

This avoids the following error on some devices:

Given calling package android does not match caller's uid 2000

This is basically the commit from @yume-chan here: #4639 (comment)
(I've just made minor changes)

Here is a full Windows binary from the current branch (updated on 2024-11-14):

@zlsq
Copy link

zlsq commented Nov 13, 2024

Can you give me the installation file for the Mac intel version so I can help test it?

This avoids the following error on some devices:

    Given calling package android does not match caller's uid 2000

Refs #4639 comment <#4639 (comment)>
Fixes #4639 <#4639>
PR #5476 <#5476>

Signed-off-by: Romain Vimont <rom@rom1v.com>
@rom1v
Copy link
Collaborator Author

rom1v commented Nov 14, 2024

@zlsq I rebased this PR on master and built the server:

  • scrcpy-server SHA-256: 1fe9a35ab2f1015f02fa66cc7b2871617e972ec6efce6406a7c26e093a4210d

You can try with scrcpy 2.7 and:

export SCRCPY_SERVER_PATH=path/to/the/scrcpy-sever  # adapt the path
scrcpy

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

Successfully merging this pull request may close these issues.

3 participants