android - Attempting to use Mozilla Bootstrapper to install Fennoc Opensource, but get error -


im trying download source fennoc, mozilla's andriod client project fun learn somthing andriod development.

i use curl command mozilla run bootstrapper:

curl -o https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py && python bootstrap.py 

however keep getting error:

we tried install following android packages: tools looks couldn't install: tools install these android packages manually , run bootstrapper again. 

i've tried downloading android studio manually download sdk elements bootstrapper recommends continue error. full trace below appreciated!

installing archives:   preparing install archives   skipping 'android sdk tools, revision 24.3'; depends on 'android sdk platform-tools, revision 23 rc1' not installed.   done. nothing installed. traceback (most recent call last):   file "bootstrap.py", line 163, in <module>     sys.exit(main(sys.argv))   file "bootstrap.py", line 154, in main     dasboot.bootstrap()   file "/var/folders/7f/g8wm58dn1wv1qxr7_j5lwbpm0000gn/t/tmpbxedho/mozboot/bootstrap.py", line 134, in bootstrap     'content. --repo, should not need set this.')   file "/var/folders/7f/g8wm58dn1wv1qxr7_j5lwbpm0000gn/t/tmpbxedho/mozboot/osx.py", line 192, in install_mobile_android_packages   file "/var/folders/7f/g8wm58dn1wv1qxr7_j5lwbpm0000gn/t/tmpbxedho/mozboot/osx.py", line 352, in ensure_homebrew_mobile_android_packages   file "/var/folders/7f/g8wm58dn1wv1qxr7_j5lwbpm0000gn/t/tmpbxedho/mozboot/android.py", line 212, in ensure_android_packages exception:  tried install following android packages: tools looks couldn't install: tools install these android packages manually , run bootstrapper again. 

edit: believed relevant portion of python script:

def ensure_environment(repo_url=none, repo_type=none): """ensure can load python modules necessary perform bootstrap."""  try:     mozboot.bootstrap import bootstrapper     return bootstrapper except importerror:     # first fallback assume running tree checkout     # , have files in sibling directory.     pardir = os.path.join(os.path.dirname(__file__), os.path.pardir)     include = os.path.normpath(pardir)      sys.path.append(include)     try:         mozboot.bootstrap import bootstrapper         return bootstrapper     except importerror:         sys.path.pop()          # next fallback download files source         # repository.         files = fetch_files(repo_url, repo_type)          # install them temporary location. deleted         # after script has finished executing.         global tempdir         tempdir = tempfile.mkdtemp()          relpath in files.keys():             destpath = os.path.join(tempdir, relpath)             destdir = os.path.dirname(destpath)              if not os.path.exists(destdir):                 os.makedirs(destdir)              open(destpath, 'wb') fh:                 fh.write(files[relpath])          # should work.         sys.path.append(tempdir)         mozboot.bootstrap import bootstrapper         return bootstrapper 


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Magento/PHP - Get phones on all members in a customer group -

session - Logging Out Using PHP -