scrcpy: scrcpy audio version---Compile error

system:linux custom:ubuntu I want compile acrcpy -a argument,also is audio.But no scrcpy.jar documents.

ninja install: error:

_[32/33] Generating scrcpy-server with a custom command.
FAILED: server/scrcpy-server.jar 
/home/ubuntu/project/scrcpy-audio/server/./scripts/build-wrapper.sh ../server/. server/scrcpy-server.jar release
IOException: https://dl.google.com/android/repository/addons_list-3.xml
java.nio.file.AccessDeniedException: /home/ubuntu/.android/cache/sdkbin-1_d29da320-addons_list-3_xml
IOException: https://dl.google.com/android/repository/addons_list-2.xml
java.nio.file.AccessDeniedException: /home/ubuntu/.android/cache/sdkbin-1_d28f8b9f-addons_list-2_xml
IOException: https://dl.google.com/android/repository/addons_list-1.xml
java.nio.file.AccessDeniedException: /home/ubuntu/.android/cache/sdkbin-1_d281741e-addons_list-1_xml
Failed to download any source lists!
java.nio.file.AccessDeniedException: /home/ubuntu/.android/cache/sdkbin-1_b735609c-repository2-1_xml

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':server'.
> Failed to find Build Tools revision 26.0.2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
ninja: build stopped: subcommand failed_

Please help me out.thank you

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16

Most upvoted comments

I tried several phones, such as OPPO,vivo, Huawei, and only google phones work.