I am porting a java project to android. It has a jar library that uses a config file (xml). For the java application, this xml has to be placed with the application jar or in the folder where the jar library is present.
When using it in Android Studio, I am unable to find where should I place the XML file. This xml is read by the jar library automatically, I don't have to write any code to specifically read any values from the jar.
I tried placing the jar with MainActivity.java
file and also in the "libs" folder where the jar library is present. But it always shows the error:
Config file not found
I am using Android Studio 2.3.3
What am I doing wrong?