0

I met an error of

SWT folder '..\framework\x86_64' does not exist. Please set ANDROID_SWT to point to the folder containing swt.jar for your platform.

when i run the monkeyrunner in the first time.By the way, the sdk is installed with the androidStudio 3.0.

I tried to check my jdk and python, and they are ok.

pirho
  • 11,565
  • 12
  • 43
  • 70
SF_King
  • 3
  • 3

1 Answers1

1

To set ANDROID_SWT to point to the folder containing swt.jar for your platform, use following command:

setx -m ANDROID_SWT "C:\Users\pang\AppData\Local\Android\Sdk\tools\lib\x86_64"

Keep in mind that the path has to reflect your actual path.

entio
  • 3,816
  • 1
  • 24
  • 39
j_nikuh
  • 26
  • 1