问题
When I run robotium (5.2.1) tests from android studio 1.0 RC 2, I get this following error ==>
:app:shrinkDebugTestMultiDexComponents FAILED
Error:Execution failed for task ':app:shrinkDebugTestMultiDexComponents'.> java.io.IOException: The output jar is empty. Did you specify the proper '-keep' options?
I have no problem to run the application "in normal mode".
Do you know where is my problem ?
Thx in advance
EDIT
【android|android robotium教程,Robotium + Android studio】According to Jared Burrows's answer I can pass task shrinkDebugTestMultiDexComponents but now I have this problem
:app:packageAllDebugTestClassesForMultiDex FAILED
Error:Execution failed for task ':app:packageAllDebugTestClassesForMultiDex'.> java.util.zip.ZipException: duplicate entry: android/support/multidex/BuildConfig.class
来源:https://stackoverflow.com/questions/27277285/robotium-android-studio
推荐阅读
- Android开发系列|Android 4.0 external下功能库说明
- 极客日报|滴滴6月或发布造车计划;英特尔顶级专家Mike Burrows跳槽AMD;Android 13开发者预览版2发布|极客头条
- 程序员|【Android中高级面试跳槽】4年Android经验跳槽大厂,总包年均42w面筋分享
- Android|Andorid基础 Android系统层次框架结构
- python|pvs-stdio ue4_云中的PVS-Studio(Azure DevOps)
- Eclipse项目分包管理
- android|android ble 标准服务,Android BLE开发入门
- 程序员|android从入门到精通入门!Flutter尽然还能有这种操作!系列篇
- flutter学习|flutter+Dart 类的继承extends with implements (九)