alibaba / alibaba/freeline

Execution failed for task ':app:processDebugResources'.

Open
#893 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.4k
Forks
620
PR merge metrics
No merged PRs in 30d

Description

:app:processDebugManifest
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:49:9-52:63 Warning:
activity#com.tencent.bugly.beta.ui.BetaActivity@android1:name was tagged at AndroidManifest.xml:49 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:49:9-52:63 Warning:
activity#com.tencent.bugly.beta.ui.BetaActivity@android1:configChanges was tagged at AndroidManifest.xml:49 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:49:9-52:63 Warning:
activity#com.tencent.bugly.beta.ui.BetaActivity@android1:theme was tagged at AndroidManifest.xml:49 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:28:9-38:20 Warning:
provider#com.tencent.bugly.beta.utils.BuglyFileProvider@android1:name was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:28:9-38:20 Warning:
provider#com.tencent.bugly.beta.utils.BuglyFileProvider@android1:authorities was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:28:9-38:20 Warning:
provider#com.tencent.bugly.beta.utils.BuglyFileProvider@android1:exported was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml:28:9-38:20 Warning:
provider#com.tencent.bugly.beta.utils.BuglyFileProvider@android1:grantUriPermissions was tagged at AndroidManifest.xml:28 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml Warning:
meta-data#android.support.FILE_PROVIDER_PATHS@android1:name was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present
/home/dai/AndroidStudioProjects/PandaService/app/src/main/AndroidManifest.xml Warning:
meta-data#android.support.FILE_PROVIDER_PATHS@android1:resource was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present
find manifest file path: /home/dai/AndroidStudioProjects/PandaService/app/build/intermediates/manifests/full/debug/AndroidManifest.xml
:app:processDebugResources FAILED

BUILD FAILED

Total time: 12.897 secs

Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=gasp
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.github.javaparser.ast.CompilationUnit.getTypes()Lcom/github/javaparser/ast/NodeList;

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

[ERROR] --------------------------------------------------------
[ERROR] build failed with script: ./gradlew :app:assembleDebug -P freelineBuild=true
[ERROR] --------------------------------------------------------
[DEBUG] Prepare tasks time: 0.1s
[DEBUG] Task engine running time: 15.1s
[DEBUG] Total time: 15.1s
[DEBUG] --------------------------------------------------------

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by rerunning ./gradlew :app:assembleDebug -P freelineBuild=true with --stacktrace, then inspect the failing :app:processDebugResources task and app/src/main/AndroidManifest.xml. Trace the com.github.javaparser.ast.CompilationUnit.getTypes() linkage failure and verify that the debug build completes successfully without the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.