android-studio - processDebugManifest:NOT_FOUND_ERR 从Eclipse转到Android Studio ?
迷茫
迷茫 2017-04-17 14:54:53
0
0
982

Execution failed for task 'xxxx:processDebugManifest'.

NOT_FOUND_ERR: 尝试在上下文中引用不存在的节点。

是使用Android Studio 直接new Project 从eclipse项目转换的

现在的 compile SDK Version 是 19
build-tools Version 是 19.1.0

具体日志如下:

'''

  • What went wrong:

    Execution failed for task ':xxxx:processDebugManifest'.

NOT_FOUND_ERR: 尝试在上下文中引用不存在的节点。

  • Try:
    Run with --info or --debug option to get more log output.

  • Exception is:
    org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':xxxx:processDebugManifest'.

           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

    ecuteActions(ExecuteActionsTaskExecuter.java:69)

           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

    ecute(ExecuteActionsTaskExecuter.java:46)

           at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExec

    uter.execute(PostExecutionAnalysisTaskExecuter.java:35)

           at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.exec

    ute(SkipUpToDateTaskExecuter.java:64)

           at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execut

    e(ValidatingTaskExecuter.java:58)

           at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecu

    ter.execute(SkipEmptySourceFilesTaskExecuter.java:42)

           at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter

    .execute(SkipTaskWithNoActionsExecuter.java:52)

           at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execut

    e(SkipOnlyIfTaskExecuter.java:53)

           at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter

    .execute(ExecuteAtMostOnceTaskExecuter.java:43)

           at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailur

    e(AbstractTask.java:305)

           at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW

    orker.executeTask(AbstractTaskPlanExecutor.java:79)

           at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW

    orker.processTask(AbstractTaskPlanExecutor.java:63)

           at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorW

    orker.run(AbstractTaskPlanExecutor.java:51)

           at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(Defaul

    tTaskPlanExecutor.java:23)

           at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(Defau

    ltTaskGraphExecuter.java:88)

           at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTask

    ExecutionAction.java:29)

           at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute

    r.java:62)

           at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExec

    uter.java:23)

           at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecu

    ter.java:68)

           at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildEx

    ecutionAction.java:32)

           at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute

    r.java:62)

           at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecute

    r.java:55)

           at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default

    GradleLauncher.java:149)

           at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle

    Launcher.java:106)

           at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun

    cher.java:86)

           at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildCon

    troller.run(InProcessBuildActionExecuter.java:80)

           at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

    a:33)

           at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

    a:24)

           at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

    ssBuildActionExecuter.java:36)

           at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

    ssBuildActionExecuter.java:26)

           at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
           at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.jav

    a:171)

           at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

    execute(CommandLineActionFactory.java:237)

           at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

    execute(CommandLineActionFactory.java:210)

           at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti

    meValidationAction.java:35)

           at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti

    meValidationAction.java:24)

           at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

    CommandLineActionFactory.java:206)

           at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

    CommandLineActionFactory.java:169)

           at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

    ortingAction.java:33)

           at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

    ortingAction.java:22)

           at org.gradle.launcher.Main.doAction(Main.java:33)
           at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
           at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBoots

    trap.java:54)

           at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.j

    ava:35)

           at org.gradle.launcher.GradleMain.main(GradleMain.java:23)

    Caused by: org.w3c.dom.DOMException: NOT_FOUND_ERR: 尝试在上下文中引用不存在的节
    点。

           at com.sun.org.apache.xerces.internal.dom.ParentNode.internalRemoveChild

    (ParentNode.java:504)

           at com.sun.org.apache.xerces.internal.dom.ParentNode.removeChild(ParentN

    ode.java:484)

           at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefor

    e(ParentNode.java:340)

           at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(Parent

    Node.java:288)

           at com.android.manifmerger.PostValidator.reOrderUsesSdk(PostValidator.ja

    va:153)

           at com.android.manifmerger.PostValidator.reOrderElements(PostValidator.j

    ava:97)

           at com.android.manifmerger.PostValidator.validate(PostValidator.java:60)
    
           at com.android.manifmerger.ManifestMerger2.merge(ManifestMerger2.java:27

    2)

           at com.android.manifmerger.ManifestMerger2.access$1100(ManifestMerger2.j

    ava:53)

           at com.android.manifmerger.ManifestMerger2$Invoker.merge(ManifestMerger2

    .java:1009)

           at com.android.builder.core.AndroidBuilder.mergeManifests(AndroidBuilder

    .java:490)

           at com.android.builder.core.AndroidBuilder$mergeManifests$1.call(Unknown

    Source)

           at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(MergeM

    anifests.groovy:130)

           at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(In

    crementalTask.groovy:64)

           at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
           at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

    actory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235)

           at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

    actory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)

           at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

    actory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222)

           at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskF

    actory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)

           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

    ecuteAction(ExecuteActionsTaskExecuter.java:80)

           at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.ex

    ecuteActions(ExecuteActionsTaskExecuter.java:61)
    '''

有遇到过这个问题的朋友吗?

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

全員に返信(0)
人気のチュートリアル
詳細>
最新のダウンロード
詳細>
ウェブエフェクト
公式サイト
サイト素材
フロントエンドテンプレート