[GH-ISSUE #946] Support for Termux #411

Open
opened 2026-02-28 14:49:00 +03:00 by kerem · 2 comments
Owner

Originally created by @ravi0the0sun on GitHub (Feb 4, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/946

Is there a way to use spotify-tui in an android phone running termux?

Originally created by @ravi0the0sun on GitHub (Feb 4, 2022). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/946 Is there a way to use spotify-tui in an android phone running termux?
Author
Owner

@jasperspahl commented on GitHub (Jun 20, 2022):

You could try to clone and compile it on termux

<!-- gh-comment-id:1160643634 --> @jasperspahl commented on GitHub (Jun 20, 2022): You could try to clone and compile it on termux
Author
Owner

@sooraj-satheesh commented on GitHub (Aug 20, 2022):

Running cargo install spotify-tui fails with:

 error[E0433]: failed to resolve: use of undeclared type `PlatformClipboard`
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/arboard-1.2.1/src/lib.rs:68:28
   |
68 |         Ok(Clipboard { platform: PlatformClipboard::new()? })
   |                                  ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformClipboard`

 error[E0412]: cannot find type `PlatformClipboard` in this scope
  --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/arboard-1.2.1/src/lib.rs:62:12
   |
62 |     platform: PlatformClipboard,
   |               ^^^^^^^^^^^^^^^^^ not found in this scope

 Some errors have detailed explanations: E0412, E0433.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `arboard` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Apparently arboard fails to build on termux.

<!-- gh-comment-id:1221314170 --> @sooraj-satheesh commented on GitHub (Aug 20, 2022): Running `cargo install spotify-tui` fails with: ``` error[E0433]: failed to resolve: use of undeclared type `PlatformClipboard` --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/arboard-1.2.1/src/lib.rs:68:28 | 68 | Ok(Clipboard { platform: PlatformClipboard::new()? }) | ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformClipboard` error[E0412]: cannot find type `PlatformClipboard` in this scope --> /data/data/com.termux/files/home/.cargo/registry/src/github.com-1ecc6299db9ec823/arboard-1.2.1/src/lib.rs:62:12 | 62 | platform: PlatformClipboard, | ^^^^^^^^^^^^^^^^^ not found in this scope Some errors have detailed explanations: E0412, E0433. For more information about an error, try `rustc --explain E0412`. error: could not compile `arboard` due to 2 previous errors warning: build failed, waiting for other jobs to finish... ``` Apparently arboard fails to build on termux.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#411
No description provided.