Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space in app path path name causes ./distribute -m kivy to fail #13

Closed
MightyThor opened this issue May 14, 2013 · 1 comment
Closed

Comments

@MightyThor
Copy link

The output of the command is at

https://gist.github.com/MightyThor/5577283

and the buildozer.spec file is at

https://gist.github.com/MightyThor/5577299

@dvenkatsagar
Copy link
Contributor

Well, I confirmed there is problem in the source. It can be solved by modifying the /buildozer/targets/android.py build_package() where its given as :

# build the app
        build_cmd = (
            '{python} build.py --name {name}'
            ' --version {version}'
            ' --package {package}'
            ' --{storage_type} {appdir}'
            ' --sdk {androidsdk}'
            ' --minsdk {androidminsdk}').format(
            python=executable,
            name=quote(config.get('app', 'title')),
            version=version,
            package=package,
            storage_type='private' if config.getbooldefault(
                'app', 'android.private_storage', True) else 'dir',
            appdir=self.buildozer.app_dir,
            androidminsdk=config.getdefault(
                'app', 'android.minsdk', self.android_minapi),
            androidsdk=config.getdefault(
                'app', 'android.sdk', self.android_api))

You just need to change it to this :

# build the app
        build_cmd = (
            '{python} build.py --name {name}'
            ' --version {version}'
            ' --package {package}'
            ' --{storage_type} "{appdir}"' # change it right here
            ' --sdk {androidsdk}'
            ' --minsdk {androidminsdk}').format(
            python=executable,
            name=quote(config.get('app', 'title')),
            version=version,
            package=package,
            storage_type='private' if config.getbooldefault(
                'app', 'android.private_storage', True) else 'dir',
            appdir=self.buildozer.app_dir',
            androidminsdk=config.getdefault(
                'app', 'android.minsdk', self.android_minapi),
            androidsdk=config.getdefault(
                'app', 'android.sdk', self.android_api))

Ill just fix it and create a pull request in some time...

@dessant dessant closed this as completed in fc6ca06 Nov 3, 2015
dessant added a commit that referenced this issue Nov 3, 2015
Fixed Space in app path issue. Fixes #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants