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

Can't find config.ini buildozer solution #219

Closed
frankgould opened this issue Jul 29, 2015 · 2 comments
Closed

Can't find config.ini buildozer solution #219

frankgould opened this issue Jul 29, 2015 · 2 comments

Comments

@frankgould
Copy link

I have been looking everywhere for how to change the config.ini file for my kivy app to include in the buildozer build. If I build my apk and install it in android, I see a default config.ini file in the .kivy folder under the app. I have searched the web and my drives for the location of the default file for buildozer but cannot find it anywhere. Instead, I'm having to replace the config.ini file in android after installing the app. There must be a better way. This is a question more than issue, other than documentation.

@frankgould
Copy link
Author

Well, I figured it out. Down in the /.buildozer/android/platform/python-for-android/dist/slideshow/private/lib/python2.7/site-packages/kivy folder is a config.py file that appears to be creating the config.ini file during the build. I was able to change the code to write the log files to a different folder in the config.py file, rename the existing config.pyo to something else, then build will create the config.ini desired. The config.pyo will automatically be built during the buildozer build process.

@frankgould
Copy link
Author

Now I found the file to update at the following location:
/.buildozer/android/platform/build/dists/slideshow/private/lib/python2.7/site-packages/kivy/config.py

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

1 participant