This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
21 / 29
Dec 2015

Hi All,

The issue is with the space in the .apk path, Any folder name in the APK path should have given space remove and try it will work.

9 months later

Since this is the first Google result for "appium cannot enter package empty drop down" I am necro-posting my Windows7 workaround. It astounds me that an issue spanning so many years has not been definitively fixed...

Thus, as a workaround for accessing apps already installed on the device, Shut down Appium and then edit the user.config file in:

C:\Users\<yourUserName>\AppData\Local\Appium_Contributors\Appium.exe_Url_<someString>\<appiumVersion#>\

Therein you will find the following XML markup among all other (supposedly) UI configurable settings:

<setting name="AndroidPackage" serializeAs="String">
     <value>_yourPackageName_</value>
</setting>
<setting name="AndroidActivity" serializeAs="String">
     <value>_yourActivityName_</value>
</setting>

Change the values, save, then relaunch Appium.
The UI will still be broken, but the server will start correctly with user.config properties.

For good measure, you may wish to delete any files from past Appium version folders.

It should be noted that I install my Appium server in a non-standard location (i.e. NOT in C:\Program Files (x86)\Appium) as I prefer to separate my Dev environment from my OS environment.

Hope this helps.

27 days later
5 months later

Hi,

I tried to set JDK path but still my Appium doesn't show packages. Can you please help in it . Its urgent.
I have set environment variable.

export JAVA_JDK=Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
export PATH=$JAVA_JDK/bin=$PATH
export JAVA_HOME=$(/usr/libexec/java_home)
export PATH=$JAVA_HOME/bin=$PATH
ANDRIOD_HOME=/Users/snehalgajbhiye/Library/Android/sdk
export PATH=$ANDRIOD_HOME/platform-tools:$PATH
export PATH=$ANDRIOD_HOME/tools:$PATH
export PATH=/usr/local/bin:$PATH

Run aapt dump badging on terminal will gave you package name and launch activity

3 months later
14 days later

Hi Kanishka, i am new to Appium and I am facing the same issue. “the choose button” is getting closed.
If you have solved this issue, please please:disappointed_relieved: reply back or reply me on
saurabh.ar02@gmail.com

Thanks!