Skip to content
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

Uncaught (in promise) Native TF methods not found; check that the correct native libraries are present in the APK. #3

Open
bmartinho opened this issue Jul 15, 2017 · 3 comments

Comments

@bmartinho
Copy link

Hi,

After the download model part of the plugin, I'm obtaining this error:

Uncaught (in promise) Native TF methods not found; check that the correct native libraries are present in the APK.

Any idea why this is happening?

I'm testing this plugin in Android 6.0.1

Thanks

@nikitascode
Copy link

Same error :(
Android version : 5.1.1

@nikitascode
Copy link

@bmartinho I found the solution,
hereismari/mnist-android-tensorflow#1

go to your cordova folder:
your_cordova_folder/platforms/android/build/intermediates/jniLibs/debug/
and create a new folder called armeabi-v7a

Download the precombiled native libraries from here:
https://ci.tensorflow.org/view/Nightly/job/nightly-android/
Copy the corresponding native library into this folder. Build the application and run it!

@bmartinho
Copy link
Author

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants