Tag Archives: Android foundation notes

Android Studio Error: String index out of range 0 [How to Solve]

Android studio compilation project error: string index out of range 0

Compile the project after merging the SVN code. Android studio fails to compile the project. An error message appears: string index out of range 0

Cause: compilation fails due to conflicts caused by merging codes

solution:

Delete the other three files with the same name gradle.Properties , and there are no other three gradle.Properties files with the same name and different suffixes in the original project because of conflicts in the process of merging codes, and ->>> symbols that cannot be compiled, so delete ->>> symbol, build -- > Clear project or build -- > Rebuild project recompile the project, and the problem is solved.