UIAutomatorViewer not working in Mac Big Sur
None of the UI buttons are responding to taps. To fix this follow the steps in video
Use 4.20 version from the below link:
https://download.eclipse.org/eclipse/...
Rename file to:
swt2.jar
Paste swt2.jar file in x86 and x86_64 folders
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/swt/widgets/Control has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0