摘要:
只有apk包,创建空android test project时,如果src节点下的文件要和 gen文件下一致,否则运行adb shell命令时,会报错。因为我们创建junit test case 时,习惯上会保持和被测试app一致如:cn.mama.activity.test。但自动生成的目录却不是这个把测试项目打包后,用aapt.exe工具查看,会发现包名是gen的子目录一致,而不是src下的子目录:血的教训D:\adt-bundle-windows-x86_64-20131030\others\resignedAPK>adb shell am instrument-w -e clas 阅读全文
posted @ 2013-11-11 18:23
zhitang2009
阅读(3308)
评论(0)
推荐(0)