Package drop down is showing Empty in wnidows

I’m unable to set package and activity in the appium ,I set JAVA_HOME,ANDROID_HOME ,and Set the path too,

but still no luck,Please kindly help me out …

Please find screen shot: