# Activity used to start app doesn’t exist or cannot be launched! Make sure it exists and is a launch able activity

**URL:** <https://discuss.appium.io/t/activity-used-to-start-app-doesn-t-exist-or-cannot-be-launched-make-sure-it-exists-and-is-a-launch-able-activity/22905>\
**Category:** Issues/Bugs\
**Created:** [July 23, 2018, 3:40pm UTC](https://discuss.appium.io/t/activity-used-to-start-app-doesn-t-exist-or-cannot-be-launched-make-sure-it-exists-and-is-a-launch-able-activity/22905 "2018-07-23T15:40:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rathan\_G](https://discuss.appium.io/letter_avatar_proxy/v4/letter/r/43a26b/32.png) [@Rathan\_G](https://discuss.appium.io/u/Rathan_G)\
**Post date:** [July 23, 2018, 3:40pm UTC](https://discuss.appium.io/t/activity-used-to-start-app-doesn-t-exist-or-cannot-be-launched-make-sure-it-exists-and-is-a-launch-able-activity/22905/1 "2018-07-23T15:40:35Z")

</div>

Hi Guys,  
Im getting the following error…kindly help

appium 1.7.2  
java-client- 5.0.4  
have added APP\_WAIT\_ACTIVITY

capabilities.setCapability(“appWaitActivity”,GenericLib.toReadProperty(sPropFile, “APP\_WAIT\_ACTIVITY”));

app wait activity i have given the splashactivity is the only activity required to lanunch the app

Issue: **First time when it runs the test it works fine,second time again when full rest happens im getting this error**

org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Error occured while starting App. Original error: **Activity used to start app doesn’t exist or cannot be launched! Make sure it exists and is a launchable activity**  
Command duration or timeout: 100.49 seconds  
Build info: version: ‘3.6.0’, revision: ‘6fbf3ec767’, time: ‘2017-09-27T15:28:36.4Z’  
System info: host: ‘PG00YLAH-BLR’, ip: ‘192.168.43.66’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0\_161’  
Driver info: driver.version: AndroidDriver

---

<div class="post-metadata">

**Author:** ![gfight](https://discuss.appium.io/letter_avatar_proxy/v4/letter/g/a6a055/32.png) [@gfight](https://discuss.appium.io/u/gfight)\
**Post date:** [July 25, 2018, 11:03am UTC](https://discuss.appium.io/t/activity-used-to-start-app-doesn-t-exist-or-cannot-be-launched-make-sure-it-exists-and-is-a-launch-able-activity/22905/2 "2018-07-25T11:03:22Z")

</div>

Install Apkinfo app from play store and check First activity name in Activities folder…

---

<div class="post-metadata">

**Author:** ![Rathan\_G](https://discuss.appium.io/letter_avatar_proxy/v4/letter/r/43a26b/32.png) [@Rathan\_G](https://discuss.appium.io/u/Rathan_G)\
**Post date:** [July 25, 2018, 12:11pm UTC](https://discuss.appium.io/t/activity-used-to-start-app-doesn-t-exist-or-cannot-be-launched-make-sure-it-exists-and-is-a-launch-able-activity/22905/3 "2018-07-25T12:11:48Z")

</div>

thanks for ur reply i have used the first activity which is used to launch the app splash.activity …i m not sure if i need to include all the activity under main or appium does not know where the apk is present in device

---

<div class="post-metadata">

**Author:** ![gfight](https://discuss.appium.io/letter_avatar_proxy/v4/letter/g/a6a055/32.png) [@gfight](https://discuss.appium.io/u/gfight)\
**Post date:** [July 26, 2018, 4:01am UTC](https://discuss.appium.io/t/activity-used-to-start-app-doesn-t-exist-or-cannot-be-launched-make-sure-it-exists-and-is-a-launch-able-activity/22905/4 "2018-07-26T04:01:38Z")

</div>

IN Apkinfo app you can see multiple activity in Activities…try all of them 1 by 1…it will work
