android-device-manager 24.10.18 → 24.10.20-1953
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -24,41 +24,112 @@ Java desktop app to manage multiple Android devices via adb
|
|
|
24
24
|
|
|
25
25
|
## Screenshots ##
|
|
26
26
|
<img src="resources/screenshot-main.jpg" width="600" alt="devices">
|
|
27
|
-
|
|
27
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>More Screenshots</summary>
|
|
28
30
|
<img src="resources/screenshot-mirror.jpg" width="600" alt="devices">
|
|
29
31
|
<br>
|
|
30
32
|
<img src="resources/screenshot-browse.jpg" width="300" alt="file explorer">
|
|
31
33
|
<br>
|
|
32
34
|
<img src="resources/screenshot-logs.jpg" width="600" alt="logs">
|
|
33
35
|
<br>
|
|
36
|
+
</details>
|
|
37
|
+
|
|
38
|
+
## Prerequisites
|
|
39
|
+
|
|
40
|
+
- **adb** - android debugging tools
|
|
41
|
+
- **scrcpy** - used to mirror a device ([link](https://github.com/Genymobile/scrcpy))
|
|
42
|
+
|
|
43
|
+
<details>
|
|
44
|
+
<summary>Mac Setup</summary>
|
|
45
|
+
|
|
46
|
+
### Install Homebrew
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Install adb
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
brew install --cask android-platform-tools
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
- add adb to PATH
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
echo 'export ANDROID_HOME=$HOME/Library/Android/sdk' >> ~/.profile
|
|
62
|
+
echo 'export PATH="/opt/homebrew/bin:$ANDROID_HOME/platform-tools:$PATH"' >> ~/.profile
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Install scrcpy
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
brew install scrcpy
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
</details>
|
|
34
72
|
|
|
35
|
-
|
|
73
|
+
<details>
|
|
74
|
+
<summary>Windows Setup</summary>
|
|
36
75
|
|
|
76
|
+
### Install adb
|
|
77
|
+
download from [here](https://developer.android.com/tools/releases/platform-tools) and extract archive
|
|
78
|
+
- move extracted platform-tools/ folder to your <HOME DIR>/Program Files/Android/
|
|
79
|
+
- add the location to your PATH
|
|
80
|
+
- test this by running “adb” in a command window
|
|
81
|
+
|
|
82
|
+
### Install scrcpy
|
|
83
|
+
|
|
84
|
+
download and install from [here](https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md)
|
|
85
|
+
- make sure “scrcpy” in in PATH
|
|
86
|
+
</details>
|
|
87
|
+
|
|
88
|
+
<details>
|
|
89
|
+
<summary>Linux Setup</summary>
|
|
90
|
+
|
|
91
|
+
### Install adb
|
|
92
|
+
```
|
|
93
|
+
sudo apt-get install adb
|
|
94
|
+
```
|
|
95
|
+
### Install scrcpy
|
|
96
|
+
see this [link](https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md#latest-version)
|
|
97
|
+
|
|
98
|
+
</details>
|
|
99
|
+
|
|
100
|
+
## Install Android Device Manager
|
|
101
|
+
|
|
102
|
+
I'm using jdeploy to package this as a native app for Mac/Windows/Linux. This also allows for automatic updates
|
|
103
|
+
|
|
104
|
+
To install open a terminal and run this command:
|
|
105
|
+
```
|
|
106
|
+
/bin/bash -c "$(curl -fsSL https://www.jdeploy.com/~android-device-manager/install.sh)"
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
See [this page](https://www.jdeploy.com/~android-device-manager) to download the installer directly
|
|
110
|
+
|
|
111
|
+
## Build
|
|
112
|
+
|
|
113
|
+
<details>
|
|
114
|
+
<summary>Build Android Device Manager</summary>
|
|
115
|
+
|
|
116
|
+
## Prerequisites
|
|
37
117
|
- Java SDK
|
|
38
118
|
- min version 17; I'm using openjdk 22.0.1 2024-04-16
|
|
39
119
|
- MacOSX -> Homebrew -> `brew install openjdk`
|
|
40
120
|
- Linux - [link](https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-on-ubuntu-22-04)
|
|
41
|
-
-
|
|
42
|
-
- MacOSX ->
|
|
43
|
-
- Linux
|
|
44
|
-
- standalone adb tools can be found [here](https://developer.android.com/tools/releases/platform-tools)
|
|
45
|
-
- **scrcpy** - mirror a connected Android device ([https://github.com/Genymobile/scrcpy](https://github.com/Genymobile/scrcpy))
|
|
46
|
-
- MacOSX -> homebrew -> `brew install scrcpy`
|
|
47
|
-
- Linux -> see [link](https://github.com/Genymobile/scrcpy/blob/master/doc/linux.md#latest-version)
|
|
48
|
-
- make sure both `adb` and `scrcpy` are in the current PATH
|
|
49
|
-
|
|
50
|
-
## Run
|
|
51
|
-
|
|
52
|
-
- Download the latest release from here: [https://github.com/jpage4500/AndroidDeviceManager/releases](https://github.com/jpage4500/AndroidDeviceManager/releases)
|
|
53
|
-
- Mac OSX Users:
|
|
54
|
-
- get the packaged .app version: `AndroidDeviceManager-VERSION-OSX.zip`, extract and move to `/Applications` folder
|
|
55
|
-
- Windows/Linux Users:
|
|
56
|
-
- get the .jar version: `AndroidDeviceManager.jar`
|
|
57
|
-
- run via command-line: `java -jar AndroidDeviceManager.jar`
|
|
121
|
+
- Maven
|
|
122
|
+
- MacOSX -> Homebrew -> `brew install maven`
|
|
123
|
+
- Linux - [link](https://www.digitalocean.com/community/tutorials/install-maven-linux-ubuntu)
|
|
58
124
|
|
|
59
125
|
## Build
|
|
60
|
-
|
|
61
|
-
|
|
126
|
+
- sync this repo
|
|
127
|
+
- `git clone https://github.com/jpage4500/AndroidDeviceManager.git`
|
|
128
|
+
- build
|
|
129
|
+
- `mvn compile`
|
|
130
|
+
- run:
|
|
131
|
+
- `mvn exec:java`
|
|
132
|
+
</details>
|
|
62
133
|
|
|
63
134
|
## Use Cases ##
|
|
64
135
|
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"bin":{"
|
|
1
|
+
{"bin":{"adm":"jdeploy-bundle/jdeploy.js"},"author":"Joe Page","description":"Java desktop app to manage multiple Android devices via adb","main":"index.js","preferGlobal":true,"repository":"","version":"24.10.20-1953","jdeploy":{"jdk":false,"checksums":{"icon.png":"4b08e47a91c363c29f10aa1ca9a9ce55"},"javaVersion":"17","documentTypes":[{"extension":"apk"}],"jar":"target/AndroidDeviceManager.jar","javafx":false,"title":"Android Device Manager"},"dependencies":{"command-exists-promise":"^2.0.2","node-fetch":"2.6.7","tar":"^4.4.8","yauzl":"^2.10.0","run":"^1.5.0","jdeploy":"^4.1.2","shelljs":"^0.8.4"},"license":"ISC","name":"android-device-manager","files":["jdeploy-bundle"],"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"homepage":""}
|
|
Binary file
|