Comments (6)
Shouldn't need to manually install or uninstall these, no, unless there's some issue with them. The driver will install them and launch them for you. Could also just run appium driver run uiautomator2 reset
instead.
from appium-uiautomator2-server.
03-06 15:14:53.743 25186 25264 W PackageManager: Not removing non-existent package io.appium.uiautomator2.server
Looks like the package isn't on the device.
from appium-uiautomator2-server.
Install doesn't work either. How does it work on the end? Isn't it been installed automatically when a session start?
The idea was to uninstall those before each session start to avoid crashes which I read was a solution for the above. But is it even a good approach?
from appium-uiautomator2-server.
@jlipps Looks like the above command is very useful for my needs.
Closing the issue
from appium-uiautomator2-server.
@jlipps, Now I have issues again with that device.
I used the suggested command, but this time, it won't help.
https://gist.github.com/Dor-bl/f50962f2500700766b3b3719ab034bb1
Again I see this log:
dbug ADB Running 'C:\Users\user\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s R5CT83YDZ2M shell am force-stop io.appium.uiautomator2.server.test'
dbug ADB 'io.appium.uiautomator2.server' is not installed
info ADB io.appium.uiautomator2.server was not uninstalled, because it was not present on the device
Any other suggestions?
from appium-uiautomator2-server.
maybe try with just one device connected a time? you have 2 devices connected. but the script seems to have run successfully.
from appium-uiautomator2-server.
Related Issues (20)
- Cannot click an element HOT 1
- Can't find AUT apk and unable to execute test HOT 1
- [bug]screencap cammand got black image in folded phone's small screen like "Oppo find N". Add a parameter to make it compatible.
- Attempt to invoke virtual method 'void android.view.accessibility.AccessibilityWindowInfo.getBoundsInScreen(android.graphics.Rect)' on a null object reference HOT 1
- UiAutomator2 driver is unable to detect web elements in webview after updates in web app HOT 4
- Is there any potentail risk that I change [waitForIdleTimeout] config to small value? HOT 2
- Unable to send text to edit text element by accessibility ID from Jetpack compose HOT 1
- Consider providing an interface to set the uiautomator2-server to automatically dismiss the dialog?
- Cannot get method getInstance from class androidx.test.uiautomator.Gestures with parameter types [class androidx.test.uiautomator.UiDevice] HOT 2
- screenshot failed in real android device HOT 2
- Find element command extremely slow in v4.21.1 HOT 6
- The 'duration' argument of 'performActions' API does not affect on Android WebView ( Appium 1.22.*, Appium 2.5.1 ) HOT 2
- Problem parsing multi-line UiAutomator code. InvalidSelectorException: Could not parse selector expression: UiScrollable has no suitable constructor with arguments HOT 2
- how i can give same signature matching HOT 1
- My build got failed. HOT 1
- 当我使用无线调试的时候,请求速度特别慢 HOT 1
- Accessing the hiddent field was denied at android SDK level > 30 HOT 5
- [Bug] The value of "bounds" attribute is incorrect on some elements on "Calls" app HOT 1
- App crash : 'Resource leak' and 'HardwareBuffer.close not called ' issue while using getScreenshotAs method of appium android driver HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appium-uiautomator2-server.