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

When you fix the error "error: [Errno 2] No such file or directory: 'src/main/assets/private.mp3'" #1279

Closed
HeaTTheatR opened this issue May 20, 2018 · 6 comments

Comments

@HeaTTheatR
Copy link

Install python-for-android:

pip install git+https://github.com/kivy/python-for-android.git

Building the project ends with an error:

error: [Errno 2] No such file or directory: 'src/main/assets/private.mp3'

You have this error for a long time. And, despite the fact that you say that you corrected it, it still appears.

@inclement
Copy link
Member

Thanks for the bug report. I don't remember the details of this error, do you have a link to what I had thought corrected it?

@HeaTTheatR
Copy link
Author

When assembling with Python3Crystax, everything works fine.But with Python2, this error appears.

@inclement
Copy link
Member

I just discussed this error with someone, and I suspect the real problem is that the assets directory is not created, and that the src/main/res/drawable directory probably isn't either. I'm not sure why though, p4a definitely has code that tries to create them, and I haven't been able to reproduce it.

@HeaTTheatR
Copy link
Author

I switched to an assembly with Python 3 (it works).So I do not see the point of suffering with Python 2

@AndreMiras
Copy link
Member

is this fixed with #1262 and dup of #1257 ?

@inclement
Copy link
Member

Looks like it should be, thanks for pointing it out @AndreMiras

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

3 participants