Gradle Error: “aapt.exe” finished with non-zero exit value 1 [How to Solve]

I upgraded the Android studio version from 3.0 to 3.3. After the upgrade, the compilation is much faster, but the project has been reported since it was imported

“aapt.exe” finished with non-zero exit value 1

There has been no specific error information. Visual inspection should be that there is a problem with the code, but it has not been reported. The final solution is as follows:

Input command: gradle clean build in the process of compiling, there is an error code exposed, the problem is solved by modifying, and the compilation is successful


Similar Posts: