You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Package the application
Traceback (most recent call last):
File "/home/pl/.local/bin/buildozer", line 11, in <module>
sys.exit(main())
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/__init__.py", line 1058, in run_command
self.target.run_commands(args)
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/target.py", line 92, in run_commands
func(args)
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/target.py", line 104, in cmd_debug
self.buildozer.build()
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/__init__.py", line 212, in build
self.target.build_package()
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/targets/android.py", line 669, in build_package
self._update_libraries_references(dist_dir)
File "/home/pl/.local/lib/python3.6/site-packages/buildozer/targets/android.py", line 866, in _update_libraries_references
with io.open(project_fn, 'w', encoding='utf-8') as fd:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pl/Desktop/App 2/.buildozer/android/platform/build/dists/myapp/project.properties'
My thoughts:
Is there an error on line 866 of the android.py file?
Update: I created another Ubuntu OS on my computer and started from scratch... I still got the same error. I made a new OS because I thought that installing Conda messed with my original buildozer + system settings.
Previously, I was able to put apps on my phone, but now I can't currumvent this error. I would appreciate any help. Thank you!
Petar-Luketina
changed the title
FileNotFoundError: [Errno 2] (New error)
FileNotFoundError: [Errno 2] (SOLVED) - It was Encoding Error
Sep 23, 2018
SOLVED: The issue was with the encoding inside of the kv and py files. I changed the encoding in pycharm, and added # encoding: utf-8 to both pages just as a precaution. Then I went and removed all the apostrophes and quotes that did not look like ".
Here is what my terminal is saying:
My thoughts:
What I've done:
IOError: [Errno 2] No such file or directory: "/home/andrew/CODE/Python/kivy-test-android/.buildozer/android/platform/python-for-android/dist/helloworld/bin/HelloWorld-'1.0'-debug.apk" #312, fixed auto build type (ant or gradle) detection #597, IOERROR invalid directory #599, IOError: [Errno 2] No such file or directory: u'/home/kivy/buildozer/.buildozer/android/platform/build/... #603, Cannot build apk #606, IOError: [Errno 2] No such file or directory: u'/Users/gauravgupta/kivy/.buildozer/android/platform/build/dists/myellipse/build/outputs/apk/myellipse-debug.apk' #613, FileNotFoundError: [Errno 2] No such file or directory: '/home/alex/Documents/pengame/.buildozer/android/platform/build/dists/helloworldapp/build/outputs/apk/helloworldapp-debug.apk' #632, IOError: [Errno 2] No such file or directory: #636, build apk : error can not find the build/output folder #647, FileNotFoundError: [Errno 2] #649, IOError: [Errno 2] No such file or directory: u'/home/samurai-girl/python2/.buildozer/android/platform/build/dists/test/build/outputs/apk/test-debug.apk' #662.
The text was updated successfully, but these errors were encountered: