I am getting few errors.
[javac] import android.app.Activity; package does not exist error
Maybe you have not set up app inventor sources properly.
yes i didn't set sources properly ,now its working Thankyou.