Scenario: Because the version using Jenkins file address phone can not download apk package, so can only be installed through adb to test the package. The phone model installed is Android: oopa57 Android system version 6.0.1.
The first thing is to use win + r to punch the Windows system command window, enter adb
Successful installation is shown in the figure above.
Confirm that the ADB installation is successful and enter ADB devices
The phone model is successfully identified as shown in the figure above.
Then enter
For example: adb install E:\***-***-2.0.0.1.apk
At this time, there will be an error prompt: the device cannot be found and cannot be installed
1: Check whether the developer mode of the mobile phone is turned on. Different mobile phones are turned on in different ways. Just Google
2: After opening, enter the loading command again
USB debugging is not turned on. As shown in step 1, the USB debugging at the bottom of the figure. Enter again after start
Note: during installation, the mobile phone will pop up to ask whether debugging is allowed, and click OK.
Then confirm that the installation is completed.
Note: Another case is that the data line is in poor contact with the USB interface. It is available when entering a command, but the next command fails. Pay attention to troubleshooting.
Read More:
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- ADB ota Error: adb: failed to read command: No error
- [Solved] RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and
- [Solved] Docker Error: got permission denied while trying to connect to the docker daemon socket at…
- [Solved] error during connect: This error may indicate that the docker daemon is not running
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- [Solved] CommandWithNoStdoutInvokationFailure Unable to start ADB server.
- [Solved] Bringing up interface eth0: Error: No suitable device found: no device found for connection ‘System eth0’.
- How to Solve Error: RuntimeError: all tensors must be on devices[0]
- error: could not install *smartsocket* listener: Address already in use PM8:49 ADB server didn’t AC…
- Gradle Package Project Lombok Not Working: No serializer found for class com.qbb.User and no properties discovered to create BeanSerializer……
- [Solved] PostgreSQL Error: Could not connect to server: no such file or directory
- [Solved] No corresponding flash error is found during MDK download
- Qt error: no matching function for call to ‘MainWindow::connect(QAction*&, void (QAction::*)
- Mac Appium Error: Error executing adb Exec. Original error…
- [Solved] Docker failed to start daemon: error initializing graphdriver: driver not supported
- Run real machine Errors were encountered while preparing your device for development. Please check the Devices
- [Solved] Kafka Start Log Error: WARN Found a corrupted index file due to requirement failed: Corrupt index found
- jitpack.io ERROR: No build artifacts found [How to Solve]
- Error: Unable to build IHost No DbContext named ‘PersistedGrantDbContext‘ was found.