Execution failed for task ‘:compileDebugAidl’. > Executor Singleton not started

    在使用robotium Record录制自动化脚本过程重出现错误,错误日志Robotium_log.txt如下:

    Input:

    /Users/baidu/project/dulife/executorproject/gradlew -Dorg.gradle.daemon=true assembleDebugTest -u -b /Users/baidu/project/dulife/executorproject/build.gradle

    Output:

    :preBuild :compileDebugTestNdk :preDebugBuild :checkDebugManifest :prepareDebugDependencies :compileDebugAidl FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ‘:compileDebugAidl’. > Executor Singleton not started * Try: Run with –stacktrace option to get the stack trace. Run with –info or –debug option to get more log output. BUILD FAILED Total time: 3.271 secs

    提取出中间的错误原因,Execution failed for task ‘:compileDebugAidl’. > Executor Singleton not started

    compileDebugAidl任务执行失败,因为执行任务的单例没有启动。

     

    在stackoverflow上找了好久,网上提供了两种方案:

    1.更新android studio到最新版(我通过这个解决了问题)

    2.将gradle版本降低到gradle-2.2.1

    3.请确保android stduio里plugins里面robotium recorder处于选中状态

    先试试第一种方案,如果无效再试试第二种,希望对你们的问题能有帮助。

    转载请注明:朱少宁 » Execution failed for task ‘:compileDebugAidl’. > Executor Singleton not started

    喜欢 1
标签: