Skip to content
Advertisement

java.lang.NoSuchMethodError: No virtual method getAccelerationConfig()

I am working on one android application using tenserflow. when I run the application and debug the code it shows java.lang.NoSuchMethodError: No virtual method My code:-

ClassifierActivity.java

JavaScript

Classifier.java

JavaScript
JavaScript

Advertisement

Answer

Add this in your Manifest file where you have declared activity and exported. android:hardwareAccelerated="true"

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement