Ant packaged the Android project, and there was a problem that resources could not be found, so he was in a hurry.

  android, question

Ant打包错误

The project relies on a v7 package. When ant is used to package, the errors on the R.java File Times are generated. How can the great gods solve them? It is the problem of v7 package dependence, how can great gods solve it, online, etc., in a hurry! ! ! ! !

项目配置

These are the three third-party libraries on which my project depends, including v7 packages, and the project version is 19.

ant配置

This is the ant file at the wrong location, which was reported when the R.java file was generated in the first step.

There is a little less information to judge, is direct export apk normal? Check whether SDK environment variables are set correctly; Check if project target meets the requirements for v7 support.