11-16 17:28:26.354 1410-1437/mariannelinhares.mnistandroid E/art: No implementation found for long org.tensorflow.contrib.android.RunStats.allocate() (tried Java_org_tensorflow_contrib_android_RunStats_allocate and Java_org_tensorflow_contrib_android_RunStats_allocate__)
11-16 17:28:26.354 1410-1437/mariannelinhares.mnistandroid I/TensorFlowInferenceInterface: Loading tensorflow_inference.
11-16 17:28:26.359 1410-1437/mariannelinhares.mnistandroid E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
Process: mariannelinhares.mnistandroid, PID: 1410
java.lang.RuntimeException: Error initializing TensorFlow!
at mariannelinhares.mnistandroid.MainActivity$1.run(MainActivity.java:107)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)
Caused by: java.lang.RuntimeException: Native TF methods not found; check that the correct native libraries are present and loaded.
at org.tensorflow.contrib.android.TensorFlowInferenceInterface.(TensorFlowInferenceInterface.java:57)
at mariannelinhares.mnistandroid.Classifier.create(Classifier.java:61)
at mariannelinhares.mnistandroid.MainActivity$1.run(MainActivity.java:100)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)
how to resolve this issue :
11-16 17:28:26.354 1410-1437/mariannelinhares.mnistandroid E/art: No implementation found for long org.tensorflow.contrib.android.RunStats.allocate() (tried Java_org_tensorflow_contrib_android_RunStats_allocate and Java_org_tensorflow_contrib_android_RunStats_allocate__) 11-16 17:28:26.354 1410-1437/mariannelinhares.mnistandroid I/TensorFlowInferenceInterface: Loading tensorflow_inference. 11-16 17:28:26.359 1410-1437/mariannelinhares.mnistandroid E/AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1 Process: mariannelinhares.mnistandroid, PID: 1410 java.lang.RuntimeException: Error initializing TensorFlow! at mariannelinhares.mnistandroid.MainActivity$1.run(MainActivity.java:107) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:760) Caused by: java.lang.RuntimeException: Native TF methods not found; check that the correct native libraries are present and loaded. at org.tensorflow.contrib.android.TensorFlowInferenceInterface.(TensorFlowInferenceInterface.java:57)
at mariannelinhares.mnistandroid.Classifier.create(Classifier.java:61)
at mariannelinhares.mnistandroid.MainActivity$1.run(MainActivity.java:100)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
at java.lang.Thread.run(Thread.java:760)