How to batch modify file names and generate xml with java

First create a module library in the Android studio project, select the type as java

Then write a java script, that is, a java class with a main method, which contains the logic of batch processing.
Through the File API, pass in the file path, and you can get all the files under the path for batch processing.

Then click the green button to the left of the main method to run it.

Guess you like

Origin blog.csdn.net/weixin_44380181/article/details/129680764