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

build_without_gradle.sh error: cannot find symbol IOnPrimaryClipChangedListener #1481

Closed
teapot9 opened this issue Jun 6, 2020 · 0 comments · Fixed by javascript-indonesias/scrcpy#42

Comments

@teapot9
Copy link
Contributor

teapot9 commented Jun 6, 2020

Cannot build server with build_without_gradle.sh.

  • OS: Gentoo
  • scrcpy version: 1.14
com/genymobile/scrcpy/Device.java:9: error: cannot find symbol
import android.content.IOnPrimaryClipChangedListener;
                      ^
  symbol:   class IOnPrimaryClipChangedListener
  location: package android.content
com/genymobile/scrcpy/wrappers/ClipboardManager.java:6: error: cannot find symbol
import android.content.IOnPrimaryClipChangedListener;
                      ^
  symbol:   class IOnPrimaryClipChangedListener
  location: package android.content
com/genymobile/scrcpy/wrappers/ClipboardManager.java:87: error: cannot find symbol
    private static void addPrimaryClipChangedListener(Method method, IInterface manager, IOnPrimaryClipChangedListener listener)
                                                                                         ^
  symbol:   class IOnPrimaryClipChangedListener
  location: class ClipboardManager
com/genymobile/scrcpy/wrappers/ClipboardManager.java:109: error: cannot find symbol
    public boolean addPrimaryClipChangedListener(IOnPrimaryClipChangedListener listener) {
                                                 ^
  symbol:   class IOnPrimaryClipChangedListener
  location: class ClipboardManager
com/genymobile/scrcpy/Device.java:83: error: package IOnPrimaryClipChangedListener does not exist
            serviceManager.getClipboardManager().addPrimaryClipChangedListener(new IOnPrimaryClipChangedListener.Stub() {
                                                                                                                ^
com/genymobile/scrcpy/wrappers/ClipboardManager.java:100: error: cannot find symbol
                        .getMethod("addPrimaryClipChangedListener", IOnPrimaryClipChangedListener.class, String.class);
                                                                    ^
  symbol:   class IOnPrimaryClipChangedListener
  location: class ClipboardManager
com/genymobile/scrcpy/wrappers/ClipboardManager.java:103: error: cannot find symbol
                        .getMethod("addPrimaryClipChangedListener", IOnPrimaryClipChangedListener.class, String.class, int.class);
                                                                    ^
  symbol:   class IOnPrimaryClipChangedListener
  location: class ClipboardManager
teapot9 added a commit to teapot9/scrcpy that referenced this issue Jun 6, 2020
Fixes Genymobile#1481

Signed-off-by: Louis Leseur <louis.leseur@gmail.com>
@rom1v rom1v closed this as completed in 1b73eff Jun 7, 2020
xeropresence pushed a commit to xeropresence/scrcpy that referenced this issue Jun 12, 2020
Fixes Genymobile#1481 <Genymobile#1481>
PR Genymobile#1482 <Genymobile#1482>

Signed-off-by: Louis Leseur <louis.leseur@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
xeropresence pushed a commit to xeropresence/scrcpy that referenced this issue Jun 17, 2020
Fixes Genymobile#1481 <Genymobile#1481>
PR Genymobile#1482 <Genymobile#1482>

Signed-off-by: Louis Leseur <louis.leseur@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant