• 楼主,这个能在 mac 上跑么

  • 楼主,dependencies {
    compile 'com.github.cosysoft:device-api:0.9.1'
    }这个是要加入到我们被测 app 的 build.gradle 里么,加入后 assembleDebug 失败了。。
    A problem occurred configuring project ':AndroidJD-Phone'.

    Could not resolve all dependencies for configuration ':AndroidJD-Phone:_debugCompile'.
    Could not find com.github.cosysoft:device-api:0.9.1.
    Searched in the following locations:
    file:/Users/fangcheng/Desktop/adt-bundle-mac-x86_64-20140624/sdk/extras/android/m2repository/com/github/cosysoft/device-api/0.9.1/device-api-0.9.1.pom
    file:/Users/fangcheng/Desktop/adt-bundle-mac-x86_64-20140624/sdk/extras/android/m2repository/com/github/cosysoft/device-api/0.9.1/device-api-0.9.1.jar
    Required by:
    V4.1.0-really:AndroidJD-Phone:unspecified

  • 能不能更详细点讲解,我这边是在 eclipse(安装了 python 插件) 建立一个自己的 python project, 然后按照你的 project 结构导入代码文件,但是在执行时 Traceback (most recent call last):
    File "/Users/fangcheng/Desktop/EclipseWorkSpace/AppiumWeb/run_case.py", line 25, in
    test_case = Creatsuite()
    File "/Users/fangcheng/Desktop/EclipseWorkSpace/AppiumWeb/run_case.py", line 16, in Creatsuite
    discover = unittest.defaultTestLoader.discover(case_path, pattern='Test_*.py', top_level_dir=None)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/loader.py", line 190, in discover
    import(start_dir)
    ValueError: Empty module name