Merged manifest saved to D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml
processDebugManifest (Thread[Task worker for ‘:’,5,main]) completed. Took 0.254 secs.
processDebugResources (Thread[Task worker for ‘:’,5,main]) started.
processDebugResources
Putting task artifact state for task ‘
processDebugResources’ into context took 0.0 secs.
file or directory ‘D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
file or directory ‘D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Up-to-date check for task ‘
processDebugResources’ took 0.028 secs. It is not up-to-date because:
No history is available.
All input files are considered out-of-date for incremental task ‘
processDebugResources’.
Unable do incremental execution: full task run
file or directory ‘D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
file or directory ‘D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\libs’, not found
Aapt2QueuedResourceProcessor is using D:\Android\android-sdk-windows\build-tools\27.0.3\aapt2.exe
Request to incrementing alive workforce from 0. Current workforce (dead or alive) 0
thread-pool size=4
Trying to start D:\Android\android-sdk-windows\build-tools\27.0.3\aapt2.exe
Trying to start D:\Android\android-sdk-windows\build-tools\27.0.3\aapt2.exe
Trying to start D:\Android\android-sdk-windows\build-tools\27.0.3\aapt2.exe
Trying to start D:\Android\android-sdk-windows\build-tools\27.0.3\aapt2.exe
Started 93984305
Started 1073463634
Started 348845791
Started 1413030283
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
Class dependency analysis for incremental compilation took 0.284 secs.
Slave 1073463634 is ready
AAPT2 processed(1073463634) linking job:QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}
Slave 93984305 is ready
AAPT1 err(Facade for 1073463634): D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml
error: attribute ‘package’ in tag is not a valid Android package name: ‘package’. -> QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}
AAPT warning(1025883783), Job(QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}): D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml
error: attribute ‘package’ in tag is not a valid Android package name: ‘package’.
AAPT1 err(Facade for 1073463634): Error -> QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}
AAPT warning(1025883783), Job(QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}): Error
AAPT1 err(Facade for 1073463634): Done -> QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}
AAPT warning(1025883783), Job(QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd}): Done
Exception while processing job : QueuedJob{
title=Linking,
task={config=AaptPackageConfig(manifestFile=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml, options=AaptOptions(noCompress=null, failOnMissingConfigEntry=false, additionalParameters=null), androidJarPath=D:\Android\android-sdk-windows\platforms\android-29\android.jar, variantType=DEFAULT, sourceOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\generated\source\r\debug, resourceOutputApk=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\debug\resources-debug.ap_, librarySymbolTableFiles=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\libcocos2dx\build\intermediates\res\symbol-table-with-package\debug\package-aware-r.txt], symbolOutputDir=D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\symbols\debug, verbose=false, resourceDirs=[D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\res\merged\debug], proguardOutputFile=null, mainDexListProguardOutputFile=null, splits=[], debuggable=true, customPackageForR=package, pseudoLocalize=false, preferredDensity=null, resourceConfigs=[], generateProtos=false, imports=[], packageId=null, dependentFeatures=[], listResourceFiles=false, staticLibrary=false, staticLibraryDependencies=[], intermediateDir=null)},
future=com.google.common.util.concurrent.SettableFuture@313c28dd} : com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
Thread(queued-resource-processor_12): Death requested
Thread(queued-resource-processor_12): destruction
Thread(queued-resource-processor_11): Death requested
Thread(queued-resource-processor_11): destruction
Created jar classpath snapshot for incremental compilation in 0.064 secs.
Written jar classpath snapshot for incremental compilation in 0.0 secs.
:libcocos2dx:compileDebugJavaWithJavac (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 3.676 secs.
:libcocos2dx:processDebugJavaRes (Thread[Task worker for ‘:’ Thread 2,5,main]) started.
:libcocos2dx:processDebugJavaRes
Putting task artifact state for task ‘:libcocos2dx:processDebugJavaRes’ into context took 0.0 secs.
Slave 1413030283 is ready
Thread(queued-resource-processor_10): Death requested
Thread(queued-resource-processor_10): destruction
Skipping task ‘:libcocos2dx:processDebugJavaRes’ as it has no source files and no previous output files.
:libcocos2dx:processDebugJavaRes NO-SOURCE
:libcocos2dx:processDebugJavaRes (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.008 secs.
:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug (Thread[Task worker for ‘:’ Thread 2,5,main]) started.
:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
Putting task artifact state for task ‘:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug’ into context took 0.0 secs.
Slave 348845791 is ready
Thread(queued-resource-processor_9): Death requested
Thread(queued-resource-processor_9): destruction
Up-to-date check for task ‘:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug’ took 0.001 secs. It is not up-to-date because:
No history is available.
D:\Documents\Desktop\project\car\build\jsb-default\frameworks\runtime-src\proj.android-studio\app\build\intermediates\manifests\full\debug\AndroidManifest.xml
AAPT: error: attribute ‘package’ in tag is not a valid Android package name: ‘package’.
All input files are considered out-of-date for incremental task ‘:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug’.
:libcocos2dx:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.125 secs.
:libcocos2dx:mergeDebugShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) started.
:libcocos2dx:mergeDebugShaders
Putting task artifact state for task ‘:libcocos2dx:mergeDebugShaders’ into context took 0.0 secs.
Up-to-date check for task ‘:libcocos2dx:mergeDebugShaders’ took 0.003 secs. It is not up-to-date because:
No history is available.
All input files are considered out-of-date for incremental task ‘:libcocos2dx:mergeDebugShaders’.
Unable do incremental execution: full task run
Process (1413030283) processed 0 files
Thread(queued-resource-processor_10): Process(1413030283), after shutdown queue_size=3
Process (348845791) processed 0 files
Thread(queued-resource-processor_9): Process(348845791), after shutdown queue_size=2
Process (1073463634) processed 1 files
Thread(queued-resource-processor_11): Process(1073463634), after shutdown queue_size=1
Process (93984305) processed 0 files
Thread(queued-resource-processor_12): Process(93984305), after shutdown queue_size=0
Shutdown finished in 201ms
:libcocos2dx:mergeDebugShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.027 secs.
:libcocos2dx:compileDebugShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) started.
:libcocos2dx:compileDebugShaders
Putting task artifact state for task ‘:libcocos2dx:compileDebugShaders’ into context took 0.0 secs.
processDebugResources FAILED
processDebugResources (Thread[Task worker for ‘:’,5,main]) completed. Took 1.507 secs.
Up-to-date check for task ‘:libcocos2dx:compileDebugShaders’ took 0.005 secs. It is not up-to-date because:
No history is available.
:libcocos2dx:compileDebugShaders (Thread[Task worker for ‘:’ Thread 2,5,main]) completed. Took 0.012 secs.
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘
processDebugResources’.
Failed to process resources, see aapt output above for details.
-
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
32 actionable tasks: 29 executed, 3 up-to-date
BUILD FAILED in 7s
执行命令出错,返回值:1。
