Error on Create new project on OSX

Issue #11 new
Grant Fong created an issue

On Andrew.py line 46

os.mkdirs should change to os.makedirs

sample as following

    def on_done4(self, text):
        self.foldername = text
        if not os.path.exists(text):
            os.makedirs(text)
        settings = sublime.load_settings('Andrew.sublime-settings')
        command = os.path.join(settings.get('android_sdk_path'), "tools", "android")
        cmd_a = command + " create project --target " + self.version + " --path " + self.foldername + " --activity " + self.activity + " --package " + self.package
        p = subprocess.Popen(cmd_a, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)
        if p.stdout is not None:
            msg = p.stdout.readline()

Comments (0)

  1. Log in to comment