How to fix broken GUI of UIAutomatorViewer on Mac OS?

First you have to check your java version to make sure your version is 1.8.0_xxx. You can use the command below to check your java version: java -version After go to download swt, the version has to be 4.20(it works for me). When downloaded swt 4.20, open the folder, and we have to rename the file swt.jar to swt2.jar. Open your your android sdk path: /Users/<USERNAME>/Library/Android/sdk/tools/lib, cd to x86 and x86_64 folder, then copy the swt2....

April 10, 2022 · 1 min · Andrew Wu

Install Robot Framework and Appium on Mac OS?

You have to install Xcode first. Open a terminal and verify Python and pip installation. We can use this to check our python on Mac OS which python # to check python2 which python3 # to check python3 Then use the pip3 list to check our installed list. And then, we use pip3 to install the robot framework. pip3 install robotframework Run pip3 list to check robotframwork is in our list....

April 5, 2022 · 2 min · Andrew Wu

Robot Framework And Appium Install Environment On Windows

For Robot Framework and Appium environment on Windows, we should install softwares list below: Robot Framework node JDK Android Studio Appium Appium Desktop appium-doctor First of all we have to install Java JDK for me I will need the Windows 64 bit. Java Downloads JDK And we chose the x64 Installer for our environment. The installation is very simple we just press next, next and finish, then we can go to setting our environment....

April 4, 2022 · 2 min · Andrew Wu

How to escape Hugo shortcode

Sometimes you need to write about shortcodes, as I do in Insert raw HTML in Hugo with a simple shortcode, you need to escape these shortcode calls. Hugo uses the following syntax to escape these delimiters in the a content source file {{< escape's_shortcode_name >}} {{% /escape's_shortcode_name %}}

April 2, 2022 · 1 min · Andrew Wu

Insert raw HTML in Hugo with a simple shortcode

I love to use Markdown to write my notes to help me learn new things. And sometimes, if I forget something, I can use my notes to help me remember how to do it. But Markdown in a table or some layouts is not pretty to use, so I have to insert raw HTML to help me create a stunning table or some designs you want. What a Shortcode is? Hugo loves Markdown because of its simple content format, but there are times when Markdown falls short....

April 1, 2022 · 1 min · Andrew Wu