uiautomatorviewer

uiautomatorviewer - Error: Could not create the Java Virtual Machine

▼魔方 西西 提交于 2020-03-16 03:47:39
问题 I am trying to run uiautomatorviewer in terminal. I am getting this error: -Djava.ext.dirs=/Users/<Username>/Library/Android/sdk/tools/lib/x86_64:/Users/<Username>/Library/Android/sdk/tools/lib is not supported. Use -classpath instead. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I think this might be related to the java version I am using. Here is the output of java -version : java version "10" 2018-03-20 Java(TM) SE Runtime

uiautomatorviewer - Error: Could not create the Java Virtual Machine

大憨熊 提交于 2020-03-16 03:47:08
问题 I am trying to run uiautomatorviewer in terminal. I am getting this error: -Djava.ext.dirs=/Users/<Username>/Library/Android/sdk/tools/lib/x86_64:/Users/<Username>/Library/Android/sdk/tools/lib is not supported. Use -classpath instead. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I think this might be related to the java version I am using. Here is the output of java -version : java version "10" 2018-03-20 Java(TM) SE Runtime

uiautomatorviewer - Error: Could not create the Java Virtual Machine

做~自己de王妃 提交于 2020-03-16 03:47:07
问题 I am trying to run uiautomatorviewer in terminal. I am getting this error: -Djava.ext.dirs=/Users/<Username>/Library/Android/sdk/tools/lib/x86_64:/Users/<Username>/Library/Android/sdk/tools/lib is not supported. Use -classpath instead. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I think this might be related to the java version I am using. Here is the output of java -version : java version "10" 2018-03-20 Java(TM) SE Runtime

Uiautomatorviewer SWT exception

时光总嘲笑我的痴心妄想 提交于 2019-12-24 08:28:14
问题 Since StackExchange advised me to not ask for help or clarification on a previously existing post, I am making a new thread. On Windows 10x64 I downloaded the Eclipse SWT (in second-to-last section of Downloads page), set my ANDROID_SWT environment variable to <download location>\swt.jar , and have attempted to run uiautomatorviewer from cmd again, only to receive the same error message as when I tried to use the SWT bundled with eclipse: Error: A JNI error has occurred, please check your

uiautomatorviewer location of file “Error obtaining UI hierachy”

家住魔仙堡 提交于 2019-12-24 08:24:37
问题 I played around in uiautomatorviewer with the most left and most right button, if I can save something here It seams I was able to specify a file here, but now it disclaims about a missing file in stacktrace I see $ uiautomatorviewer java[31120:588009] dataFromGeneratingCandidatesForSelectedRange timed out objc[31120]: Class FIFinderSyncExtensionHost is implemented in both /System/Library/PrivateFrameworks/FinderKit.framework/Versions/A/FinderKit (0x7fffa55e21d0) and /System/Library

UI Automator Viewer finds elements inconsisently

大兔子大兔子 提交于 2019-12-12 05:19:10
问题 I have a weird issue while working with the UI Automator Viewer. The problem is that I get inconsistent result when doing "Device Screenshot" (uiautomator dump). So in some cases, I get all the elements(nodes) but in some cases I get only some of them, generally the basic whole page view without the textviews and buttons on it. To make things even more challenging, it looks like it happens absolutely random. So I can click on screenshot/dump button multiple times in a row and get different

uiautomatorviewer is not working, throwing error that SWT folder does not exist

旧城冷巷雨未停 提交于 2019-12-11 07:35:10
问题 Uiautomatorviwer is not working , it is giving the below given error SWT folder '..\lib\location of your java installation.' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your platform. I have tried everything that was mentioned on stackoverflow, but nothing seem to work. Please be kind and help me!!! Thanks in advance 回答1: It is working now. I did set ANDROID_SWT to point to the folder containing swt.jar for my platform. and walla its working now.