chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
797 stars 130 forks source link

Move Chaqoupy library out of Build folder #62

Closed rpcd closed 5 years ago

rpcd commented 5 years ago

When a rebuild occurs the build directory gets removed and also removes the /app/build/generated/python/chaquopy_java.jar, which causes a "Cannot open a library at ... " error ... re-locate the library to avoid ... a work around: I have to turn off python, rebuild to produce the build directory and then turn chaquopy back on

this is the actual message: Cannot open a library at 'FileMapping(from=/media/git-repos/NAME/app/build/generated/python/chaquopy_java.jar, to=/home/rpc/.gradle/caches/transforms-1/files-1.1/chaquopy_java.jar/0a758c1550db92a05c34ebdf616d8314/jetified-chaquopy_java.jar)'

mhsmith commented 5 years ago

Thanks, we'll definitely fix this in the next release.

What version of Python are you using in your app?

rpcd commented 5 years ago

Hi Malcolm,

We are using python 3.5.2

On Thu, Oct 25, 2018 at 1:18 AM Malcolm Smith notifications@github.com wrote:

Thanks, we'll definitely fix this in the next release.

What version of Python are you using in your app?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chaquo/chaquopy/issues/62#issuecomment-432957882, or mute the thread https://github.com/notifications/unsubscribe-auth/Aax3tJ6jghv3ncZWjAThUHjBsziRHESyks5uoXPGgaJpZM4X5Jv0 .

mhsmith commented 5 years ago

But what version are you using in your app?

[EDIT: It was 3.6.5.]

mhsmith commented 5 years ago

Fixed in Chaquopy 5.0.0.

rpcd commented 5 years ago

:)

On Mon, Nov 5, 2018 at 2:04 PM Malcolm Smith notifications@github.com wrote:

Fixed in Chaquopy 5.0.0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chaquo/chaquopy/issues/62#issuecomment-436052627, or mute the thread https://github.com/notifications/unsubscribe-auth/Aax3tIzOll3gBt8dLOEzDt21boaHec3Uks5usLXvgaJpZM4X5Jv0 .

rpcd commented 5 years ago

Thank you ... confirm working correctly just now

mhsmith commented 5 years ago

Glad to hear it.