Comments (8)
但是又不知道是指那个Class
from cafe.
是不是cafe.jar没有放到libs下面
from cafe.
TestApiDemos运行的时候这里都是空指针
------------------ 原始邮件 ------------------
发件人: "keymath";[email protected];
发送时间: 2014年1月14日(星期二) 上午9:39
收件人: "BaiduQA/Cafe"[email protected];
抄送: "Rainy"[email protected];
主题: Re: [Cafe] Test run failed: Instrumentation run failed due to'java.lang.ClassNotFoundException' (#26)
是不是cafe.jar没有放到libs下面
—
Reply to this email directly or view it on GitHub.
from cafe.
求助要帖错误信息,否则别人无法帮助你
from cafe.
你看边看不到图片么?
// 点击HOME键
remote.pressKey(KeyEvent.KEYCODE_HOME);
// 点击锁屏键
remote.pressKey(KeyEvent.KEYCODE_POWER);
// 点击音量键
remote.pressKey(KeyEvent.KEYCODE_VOLUME_DOWN);
// 点击菜单键
remote.pressKey(KeyEvent.KEYCODE_MENU);
// 点击返回键
remote.pressKey(KeyEvent.KEYCODE_BACK);
// 点击搜索键
remote.pressKey(KeyEvent.KEYCODE_SEARCH);
// 卸载sd卡
remote.unmount();
// 安装sd卡
remote.mount();
这些都是空指针
from cafe.
哦,你这样说我就明白了,你没有安装Café.apk啊,还有跑case前需要运行café_setup.bat
谢谢
鲁晓宇
发件人: rainy1216 [mailto:[email protected]]
发送时间: 2014年1月14日 10:01
收件人: BaiduQA/Cafe
抄送: Lu,Xiaoyu(Mobile Application RD)
主题: Re: [Cafe] Test run failed: Instrumentation run failed due to 'java.lang.ClassNotFoundException' (#26)
你看边看不到图片么?
// 点击HOME键
remote.pressKey(KeyEvent.KEYCODE_HOME);
// 点击锁屏键
remote.pressKey(KeyEvent.KEYCODE_POWER);
// 点击音量键
remote.pressKey(KeyEvent.KEYCODE_VOLUME_DOWN);
// 点击菜单键
remote.pressKey(KeyEvent.KEYCODE_MENU);
// 点击返回键
remote.pressKey(KeyEvent.KEYCODE_BACK);
// 点击搜索键
remote.pressKey(KeyEvent.KEYCODE_SEARCH);
// 卸载sd卡
remote.unmount();
// 安装sd卡
remote.mount();
这些都是空指针
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-32232494.
from cafe.
你好,我也遇到这个问题,我是自己写了个空的应用,然后自己写了个很简单的testcase,就一直提示这个错误。你们说的运行apk,在手机上运行吗还是在电脑上啊
from cafe.
我自己写的helloworld的class需要打包成jar包吗
from cafe.
Related Issues (20)
- remote.launchActivity("com.baidu.news.ui.IndexActivity")没有launch成功 HOT 2
- Cafe API doc帮助网页乱码 HOT 2
- 将cafe源码和测试用例一起编译执行,老是出现could not find *.apk!该怎么解决啊
- 无root获得system权限,利用android签名检查漏洞 HOT 1
- 请教跨进程测试的问题,谢谢 HOT 3
- 如何获取RadioGroup和CheckBox的监听器,好像利用cafe中的反射机制不能获得,再重新设置监听器也不行。。 HOT 1
- 鲁工,请问cafe使用hook listener方式来截获事件消息,是否可以使用Accessibility、UiAutomator代替?谢谢 HOT 5
- 手机应用程序首次安装运行或者升级后首次运行出现提示信息怎么破 HOT 9
- Cafe有没有支持Android4.4的计划呢?
- Cafe有支持Android4.4的计划么?谢谢
- 鲁工你好,我是最近才接触自动化测试,问下Cafe是不是在4.4下面录制的时候出现空指针 HOT 4
- 你好,请问一下Cafe实现跨进程的代码具体在哪啊 HOT 3
- 请问:window 下 如何使用cafe 对apk 进行遍历操作?
- 利用Android 签名检查漏洞
- 当Android的$OUT_DIR_COMMON_BASE环境变量生效时,make.sh失败
- 当对apk进行travel时Armser类抛出空指针错误
- 能不能详细的讲解一下Cafe的编译过程?不胜感激 HOT 2
- 求Cafe零基础教程 HOT 1
- 成功跨进程后,如何对新的app进行操作?
- 交流 - Cafe/Travel的一些修改 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cafe.