Hierarchical viewer not working

When I start hierarchyviewer, I get a warning

SWT folder '/home/sharanu/work/android-ics-source/prebuilt/linux-x86_64/swt/swt.jar' does not exist. Please export ANDROID_SWT to point to the folder containing swt.jar for your platform.

then I tried to set ANDROID_SWT the same error. But before hierarchyviewer worked fine. I'm not sure why it is not working right now.

See image. enter image description here

+4
source share
2 answers

I just deleted the ANDROID_SWT variable from ~/.bashrc and worked fine

+1
source

I ran into a similar problem. I made the ANDROID_SWT point swt.jar located in the android sdk folder and it worked.

Steps:

i) Find the location of swt.jar. In the SDK folder, do

 find . -name swt.jar 

b) And export its path to the ANDROID_SWT environment variable.

 export ANDROID_SWT= <path from step 1> 

In my case, it worked:

 export ANDROID_SWT=${ANDROID_SDK}/tools/lib/x86_64/ 
0
source

All Articles