briefcase: No such file or directory when run in android

Describe the bug

I got this error when briefcase run android -d "@beePhone" This happens E/AndroidRuntime: Caused by: com.chaquo.python.PyException: FileNotFoundError: [Errno 2] No such file or directory:'/data/data/com.example.hakoreader/files/chaquopy/AssetFinder/app/hakoreader/storage'

My project look like this: image

I want to create some files in storage folder when the app is running through hako module

image

When I run it with briefcase dev, it works well. I had added the required lib to pyprojects.toml file

Steps to reproduce

  1. run `briefcase run android -d “@beePhone
  2. Error appears

Expected behavior

the storage folder doesn’t exit when run in android

Screenshots

No response

Environment

  • Operating System: Windows 11 (run in android vm)
  • Python version: 3.10

Logs

No response

Additional context

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Thanks - there’s clearly something going very badly wrong here; as far as I can work out, it’s nothing to do with your code. We’ll need to investigate further.