-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python code not work on APK release mode #236
Comments
The stack trace is incomplete, as it only includes the Dart stack trace, not the Java one. I'm sure there must be some way to configure Flutter to log that. I don't know what Python libraries you're using, but when this message appears as a fatal exception it's usually because the program is trying to use the multiprocessing synchronization functions, which aren't available on Android. Some libraries attempt to check for this but catch the wrong exception type, in which case you might be able to find a workaround like #232 (comment). |
we are using numpy, scikit-learn, pandas, joblib, tensorflow , keras. Unfortunately the workaround is not working with our case. |
this is stack trace for Kotlin.
|
OK, you can probably work around this by using an older version of joblib: see #21 (comment). |
yaaahhh... thanks mr @mhsmith , problem solved. |
If you're using Chaquopy 8.0.1 or later, there's no longer any need to use old versions of librosa or joblib. To upgrade, edit your app's top-level build.gradle file and change the version number of |
Hi, this issue related to email that out team member (hamraa.osatechnology@gmail.com) send to you on 20 Feb 2020. below is the log. A bit of a background, our team develop an android app using flutter, the issue were the app working during debug mode but when we build apk and install the app it does not produce result from the python code.
The text was updated successfully, but these errors were encountered: