App crash error when replacing the file into assets store in android studio-ThrowExceptions

Exception or error:

When ever i change the file in assets folder the app crashed. Below is my code:

//private static final String MODEL_FILE = "file:///android_asset/orignial.pb";
private static final String MODEL_FILE = "file:///android_asset/myfile.pb";

when i replace the original file with myfile.pb the app going to crash

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *