Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/progdrasil/buildozer-psycopg2-issue-1123

reproduction for issue [psycopg2#1123](https://github.com/psycopg/psycopg2/issues/1123)
https://github.com/progdrasil/buildozer-psycopg2-issue-1123

Last synced: 1 day ago
JSON representation

reproduction for issue [psycopg2#1123](https://github.com/psycopg/psycopg2/issues/1123)

Awesome Lists containing this project

README

        

# Demo ImportError: undefined symbol: PQencryptPasswordConn

Build the docker image:

```shell
docker build -t psycopg2/buildozer .
```

Run image interactively and attach usb for deployment:
```shell
docker run --rm -v "$(pwd)":/home/user/hostcwd -v /dev/bus/usb:/dev/bus/usb --privileged -it --entrypoint=bash psycopg2/buildozer
```

Interact with buildozer as usual, to build:
```shell
buildozer android debug
```

To deploy and run on target
```shell
buildozer android deploy run
```

For debugging, the log is pretty huge and includes more than just this application, it's best to throw it in a file and analyze it after the app crashed.
```shell
buildozer android deploy run logcat > out.log
```