joaoventura / pybridge

Reuse Python code in native Android applications
215 stars 56 forks source link

Cannot resolve symbol 'PyBridge' #40

Closed avinashkurup closed 3 years ago

avinashkurup commented 3 years ago

Hi, Im using pybridge to evaluate the use of Python in Android Java apps. I built the Python packages for x86 using the p4a command installed from pip. I then copied the binaries created in build and dists to the folder python-for-android in the root of this project. I was able to build the pybridge library using ndk-build. The build using android-studio and running in the emulator had no errors. But the app doesnt seem to start. It starts up and crashes without any messages in logcat. I can see error messages as in below in studio editor. Please help me in bringing up the app.

image

avinashkurup commented 3 years ago

Hi was able to build and run the app. The issues seemed to be the placing of the Python libraries in assets folder with bootstrap.py.