How do I solve this issue?


(Pranesh Palanisamy) #1

Executing tasks: [:app:assembleDebug]

Configuration on demand is an incubating feature.
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:checkDebugManifest UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:prepareLintJar UP-TO-DATE
:app:mainApkListPersistenceDebug UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:processDebugGoogleServices
Parsing json file: C:\Users\Public\FirstApp\app\google-services.json
:app:mergeDebugResources UP-TO-DATE
:app:createDebugCompatibleScreenManifests UP-TO-DATE
:app:processDebugManifest
:app:splitsDiscoveryTaskDebug UP-TO-DATE
AGPBI: {“kind”:“error”,“text”:“error: attribute \u0027com.example.pranesh.firstapp:cardCornerRadius\u0027 not found.”,“sources”:[{“file”:“C:\Users\Public\FirstApp\app\src\main\res\layout\activity_main.xml”,“position”:{“startLine”:11}}],“original”:"",“tool”:“AAPT”}
AGPBI: {“kind”:“error”,“text”:“error: attribute \u0027com.example.pranesh.firstapp:cardCornerRadius\u0027 not found.”,“sources”:[{“file”:“C:\Users\Public\FirstApp\app\src\main\res\layout\signup.xml”,“position”:{“startLine”:11}}],“original”:"",“tool”:“AAPT”}
:app:processDebugResources
error: failed linking file resources.
:app:processDebugResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

Failed to process resources, see aapt output above for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 50s
14 actionable tasks: 3 executed, 11 up-to-date


(Ben March) #2

Re-run using --stacktrace, then --info, then --debug.

See if you get more information that way.

Also it would be useful to know what processDebugResources is trying to do.

Finally, the above looks very suspicious, try to see where nullnull is coming from.