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

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

查看activity是否填写正确:

adb shell dumpsys activity activities >C:\Users\Administrator\Desktop\11.txt

修改appActivity,改成.WelcomeActivity,再次启动appium,运行成功。

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

原文地址:https://www.cnblogs.com/changpuyi/p/9581656.html

时间: 2024-10-11 02:56:15

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的相关文章

Appium报错: An unknown server-side error occurred while processing the command. Original error: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission

Appium 运行start session时报错An unknown server-side error occurred while processing the command.Original error: Error executing adbExec.Original error: ‘Command ‘‘D:\Program Files (x86)\Android-SDK\sdk\platform-tools\adb.exe’-P 5037 -s e3172f55 shell pm

The connection to adb is down, and a severe error has occured.(转)

启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法: 1.先把eclipse关闭. 2.在管理器转到你的android SDK 的platform-tools下, 如图: 3.键入adb kill-server ,如果adb关闭了会提示 server not ru

在Eclipse中执行Andorid test preject提示The connection to adb is down, and a severe error has occured.解决方法

启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法: 1.先把eclipse关闭. 2.在管理器转到你的android SDK 的platform-tools下, 如图: 3.键入adb kill-server ,如果adb关闭了会提示 server not ru

Appium1.6启动ios9.3报错Original error: Sdk '9.3.5' was not in list of simctl sdks

问题: 使用Apppium1.6启动ios9.3报错Original error: Sdk '9.3.5' was not in list of simctl sdks 我的启动配置如下 { "platformName": "ios", "platformVersion": "9.3.5", "bundleId": "com.wuba.zhuanzhuan", "app&quo

The connection to adb is down, and a severe error has occured. Android ADB server didn't ACK * failed to start daemon. 解决方案

ADB server didn't ACK 这个问题会困恼很多的新手朋友,我以前刚开始做Android的时候也遇到过这个问题,不过自己百度,google啥的,也不知道怎么就给解决了,看到群里很多新手朋友都会问这个问题,说实话我也没有一个解决这个问题的终极方法(百试百灵的那种,哈哈),自己没遇到也没有认真的去对待他,今天,就是在今天,我打开Eclipse连上手机,准备调试程序,出现如下的信息 The connection to adb is down, and a severe error has

[Android] The connection to adb is down, and a severe error has occured

一.ADB server didn't ACK 在配置完Android环境后,运行第一个程序时,遇到了如下错误: ADB server didn't ACK * failed to start daemon * 它可能的原因是端口5037被占用,需要查找占用5037(Android默认)端口的PID,在cmd中输入: netstat -ano | findstr "5037" 输出进程: TCP    127.0.0.1:5037         0.0.0.0:0          

转 The connection to adb is down, and a severe error has occured.

启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法: 1.先把eclipse关闭. 2.在管理器转到你的android SDK 的platform-tools下, 如图: 3.键入adb kill-server ,如果adb关闭了会提示 server not ru

Promise is rejected: Error: 2 UNKNOWN: error starting container: API error (404): {"message":"network build-blockchain-insurance-app_default not found"}出错的解决方案

错误描述: docker logs web 现象: > [email protected] serve /app > cross-env NODE_ENV=production&&node ./bin/server /app/app/static/js Server running on port: 3000 Default channel not found, attempting creation... Successfully created a new default

The connection to adb is down, and a severe error has occured(Android模拟器端口被占用)

相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了,那下面给出终极解决方案 一.首先描述症状,如下图 二.出现问题了,首先确定你的sdk目录是不是真的在Console输出的那个位置,如果是的话.接下来现在就要看看到底是谁占用了端口.打开命令编辑器进入你的sdk下的platform-tools文件夹输入adb start-serevr  恭喜,说明你的端口被占用了 三.接下来需要确定被占用的端口号是多少,输入命令adb nodaemon s