Coder Social home page Coder Social logo

Comments (8)

tdrhq avatar tdrhq commented on May 6, 2024

Thanks, this would be part of Windows support, give me some time to make this work :)

from screenshot-tests-for-android.

scottkennedy avatar scottkennedy commented on May 6, 2024

I'm having the same issue on OS X.

OSError: [Errno 2] No such file or directory: '~/Library/Android/sdk/build-tools'
:app:pullScreenshots FAILED
$ ls ~/Library/Android/sdk/build-tools
23.0.1  23.0.2
$

I haven't had time to investigate this issue, but the directory it claims does not exist definitely exists.

from screenshot-tests-for-android.

tdrhq avatar tdrhq commented on May 6, 2024

@scottkennedy can you give me the full stack?

It looks like you have '~' in your ANDROID_SDK/ANDROID_HOME, is that right?

from screenshot-tests-for-android.

scottkennedy avatar scottkennedy commented on May 6, 2024
:app:pullScreenshots
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/scott.kennedy/.m2/repository/com/facebook/testing/screenshot/plugin/0.2.5/plugin-0.2.5.jar/android_screenshot_tests/pull_screenshots.py", line 258, in <module>
  File "/Users/scott.kennedy/.m2/repository/com/facebook/testing/screenshot/plugin/0.2.5/plugin-0.2.5.jar/android_screenshot_tests/pull_screenshots.py", line 238, in main
  File "/Users/scott.kennedy/.m2/repository/com/facebook/testing/screenshot/plugin/0.2.5/plugin-0.2.5.jar/android_screenshot_tests/aapt.py", line 43, in get_package
  File "/Users/scott.kennedy/.m2/repository/com/facebook/testing/screenshot/plugin/0.2.5/plugin-0.2.5.jar/android_screenshot_tests/aapt.py", line 32, in get_aapt_bin
OSError: [Errno 2] No such file or directory: '~/Library/Android/sdk/build-tools'
:app:pullScreenshots FAILED

FYI, the only change I have in my local copy right now is the version number.

If I change $ANDROID_SDK to be /Users/scott.kennedy/Library/Android/sdk/, it works fine.

from screenshot-tests-for-android.

tdrhq avatar tdrhq commented on May 6, 2024

@scottkennedy okay so perhaps I need to support tilde expansion then, especially if other android tools seems to support it. Different from the original bug report though

from screenshot-tests-for-android.

tdrhq avatar tdrhq commented on May 6, 2024

@scottkennedy your particular issue should be fixed in 042af6d46fc41c6e750f350597eaf2460393b63

Keeping the task open for the windows issues

from screenshot-tests-for-android.

tdrhq avatar tdrhq commented on May 6, 2024

got the git hash wrong: 0042af6

from screenshot-tests-for-android.

tdrhq avatar tdrhq commented on May 6, 2024

@gfcut Can you check if master works again? I've now added Windows support

from screenshot-tests-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.