Android Studio compilation error: Process 'COMMAND 'd: \ SDK \ AS \ sdk \ build-tools \ 23.0.0 \ aapt.exe ''finished with non-zero exit value 1, nonzeroexitcode
AGPBI: {"kind": "error", "text": "No resource identifier found for attribute \ u0027text_titleText \ u0027 in package \ u0027 package name \ u0027", "sources ": [{"file": "D :\\ workSpace \ Android Studio \ Bank \ res \ layout \ ui_testpersoninfo.xml", "position": {"startLine ": 21}], "original ":""}
FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task': processRenmaiDebugResources '.
> Com. android. ide. common. process. processException: org. gradle. process. internal. execException: Process 'COMMAND 'd: \ SDK \ AS \ sdk \ build-tools \ 23.0.0 \ aapt.exe ''finished with non-zero exit value 1
AGPBI: {"kind": "error", "text": "No resource identifier found for attribute \ u0027text_titleText \ u0027 in package \ u0027 package name \ u0027", "sources ": [{"file": "D :\\ workSpace \ Android Studio \ Bank \ res \ layout \ ui_testpersoninfo.xml", "position": {"startLine ": 21}], "original ":""}
This statement indicates that the resource id cannot be found in row 21st of the ui_testpersoninfo layout file.
The cause is as follows:
1. The resource R file may not be automatically generated due to invalid naming rules.
2. problems may occur when you declare custom properties of a custom control.
The Gradle tool automatically identifies the package, so you do not need to specify the package name.
3. The resource R file cannot be generated due to other problems