Appium測試app報錯Permission to start activity denied.
一、現象
appium自動化測試,執行測試時,提示啟動activity被拒絕,具體報錯如下:
A new session could not be created. (Original error: Permission to start activity denied.) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 85.16 seconds
Build info: version: '3.7.1', revision: '8a0099a', time : '2017-11-06T21:01:39.354Z'
System info: host: 'SC-201711071107', ip: '10.0.1.107', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_152'
Driver info: driver.version: AndroidDriver
...
二、原因
apk包沒開許可權
三、解決辦法
打apk包時,需將AndroidManifest.xml中的Activity加上許可權再打包
相關推薦
Appium測試app報錯Permission to start activity denied.
一、現象 appium自動化測試,執行測試時,提示啟動activity被拒絕,具體報錯如下: A new session could not be created. (Original error:
第一行程式碼新聞例子報錯 Unable to start activity ComponentInfo 原因
E/AndroidRuntime: FATAL EXCEPTION: main Process: com.timemanager.jason.fragmentbestpractice, PID: 5621 java.lang.RuntimeException: Unable to start activity
freeradius 啟動報錯Refusing to start with libssl version OpenSSL 1.0.1
all bss sim span family sin pop div con 改動etc/raddb下的radiusd.conf文件 找到allow_vulnerable_openssl = no,改動成allow_vulnerable_openssl = ye
tomcat運行報錯Failed to start component [StandardEngine[Catalina].StandardHost[localhost].
popu 屬性 and get fmt pid nts 項目 post tomcat運行報錯Failed to start component [StandardEngine[Catalina].StandardHost[localhost].多半情況是找不到jar包
tomcat啟動的時候報錯Failed to start component
detail 一個 read art 啟動 ini sources etc executor 在idea中運行tomcat時,遇到異常,異常信息如下: 16-Jan-2018 16:33:37.325 信息 [localhost-startStop-1] org.apac
CentOS 7.2重啟網絡報錯 Failed to start LSB: Bring up/down
script 3.5 dhcp ifcfg ron centos str sys 日誌 CentOS 7.2重啟網絡報錯 Failed to start LSB: Bring up/down 我的虛擬機原本有兩塊網卡,一塊叫eno16777736,另一塊叫eno5033
Spring Boo報錯Unable to start embedded container; nested exception is java.lang.NoSuchMethodError: org
轉載地址:https://www.cnblogs.com/wushuai2014/p/7497206.html 問題描述:通過Spring Boot官方提供的方式,寫出如下HelloWorld程式碼。 org.springframework.context.ApplicationContex
eclipse起專案tomcat報錯 Failed to start component [StandardEngine[Catalina].StandardHost[localhost].
嚴重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start componen
AndroidStudio報錯unable to start adb server:adb server version doesn't ......run manually if necessary
因為生病原因,不得不請了將近一週的假,回到公司後開啟AS的時候出現了一個莫名的錯誤彈窗提示: unable to create debug bridge:unable to start adb server:adb server version(31) doesn't ma
Eclipse中部署專案時,Tomcat啟動報錯 “Failed to start component [StandardServer[8005]]”的解決方法
【錯誤現象】SEVERE: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: F
啟動springboot專案報錯Unable to start embedded container
後端技術: mave,springbootDataJpa,Springboot,Log4j,Spring,Hibernate,Netty,JWT,jpush,Jetty / tomcat[與tomcat相比,更加輕量級],httpclient等 報錯資訊如下: 看了下
Eclipse及Eclipse為基礎的App報錯“Failed to create the Java Virtual Machine”的解決辦法
由於OracleJDK馬上就要收費了,公司要求更換OpenJDK,結果安裝後Eclipse及Eclipse為基礎的App啟動報錯:“Failed to create the Java Virtual Machine” 根據理解和經驗此文特地整理了有關修復方法。 方法一:找到eclpise路
springBoot報錯Unable to start embedded container; nested exception is org.springframework.context.Appl
今天樓主在做一個maven+springBoot的簡單專案的時候,發現報了 Unable to start embedded container; nested exception is org.springframework.context.Appl....的錯誤, 經過
centos7.2 網絡卡啟動不了報錯 Failed to start LSB: Bring up/down
虛擬機器一段時間不用突然不能上網了,具體報錯如下: /etc/init.d/network restart Restarting network (via systemctl): Job for network.service failed because the
Eclipse中部署專案時,Tomcat啟動報錯 “Failed to start component“
你修改了tomcat的server.xml檔案,如下 <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true"> <
CentOS 7.2重啟網路報錯 Failed to start LSB: Bring up/down---liux報錯
vi /etc/sysconfig/network-scripts/ifcfg-eno16777736裡面的name和device,並把配置檔名改為ifcfg-eth0。重啟網路:systemctl restart network.service。後來因重啟失敗還原為原來的資訊,以為會正常,但仍沒有解決。#
Run as啟動專案時總報錯Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardCont
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------
Spring Boot 啟動報錯Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFa
在配置SpringBoot的時候 啟動的時候報錯 Unable to start ServletWebServerApplicationContext due to missing ServletWeb
SpringBoot啟動報錯" Unable to start embedded container; nested exception is org.springframework.beans.fa
SpringBoot啟動報如下異常: Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'deb
解決辦法:Android Studio報錯fail to start git process
問題:Android Studio 上要使用git把雲端上的程式碼clone到本地,報fail to start git process,詳細日誌為:“cannot run program git.