Package not populated for selected apk in appium

I am new to Android Automation. I have installed Appium 1.3.7.2 on my windows machine. I have also set JAVA_HOME and ANDROID_HOME paths properly. But when I am selecting APK for any android app in Appium.exe, its packages are not getting populated there. Because of this I am unable to do further operations and have been stuck since long time. Is there any setting for this to work? If not, is there any workaround for this?

What do Appium’s logs say? Please copy and paste.

manually install app in device
now tap it to launch

run command

  1. adb shell
  2. logcat | grep “appname”

this will show package name and launcher activity you require.