我正在尝试将人行横道lite添加到现有的离子项目中。
我在构建时遇到问题,将其添加到platform / android / app /的build.gradle中解决了第一个问题:
configurations.all {
resolutionStrategy {
force 'com.android.support:support-v4:27.1.0'
}
}
之后,当我尝试构建时遇到此错误:
null value in entry: otherFolderOutputs.otherFolderOutput1=null
所有输出在这里
Android Studio project detected
ANDROID_HOME=H:\AndroidSdk
JAVA_HOME=C:\Program Files\java\jdk1.8.0_102
studio
Subproject Path: CordovaLib
Subproject Path: app
publishNonDefault is deprecated and has no effect anymore. All variants are now published.
null
The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.
at build_70lxz37lxlpjnj2lj8ssbkja2.run(C:\Users\mahyar.p.zangene\Desktop\Workspace\Rokhsareh Project\RokhsarehReservationMobileApp\rokhsarehapp\platforms\android\app\build.gradle:145)
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
org.xwalk:xwalk_core_library_canary:17+
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:compileDebugAidl
:CordovaLib:compileDebugRenderscript
:CordovaLib:checkDebugManifest
:CordovaLib:generateDebugBuildConfig
:CordovaLib:prepareLintJar UP-TO-DATE
:CordovaLib:generateDebugResValues
:CordovaLib:generateDebugResources
:CordovaLib:packageDebugResources
:CordovaLib:platformAttrExtractor
:CordovaLib:processDebugManifest
:CordovaLib:javaPreCompileDebug
:CordovaLib:processDebugJavaRes NO-SOURCE
:app:preBuild UP-TO-DATE
:app:preArm64DebugBuild
:app:compileArm64DebugAidl
:CordovaLib:packageDebugRenderscript NO-SOURCE
:app:compileArm64DebugRenderscript
:app:checkArm64DebugManifest
:app:generateArm64DebugBuildConfig
:app:prepareLintJar UP-TO-DATE
:CordovaLib:mergeDebugShaders
:CordovaLib:compileDebugShaders
:CordovaLib:generateDebugAssets
:CordovaLib:mergeDebugAssets
:app:mergeArm64DebugShaders
:app:compileArm64DebugShaders
:app:generateArm64DebugAssets
:app:mergeArm64DebugAssets
:app:createXwalkCommandLineFileArm64Debug
:app:generateArm64DebugResValues
:app:generateArm64DebugResources
:app:mergeArm64DebugResources
:app:createArm64DebugCompatibleScreenManifests
:app:processArm64DebugManifest
:app:splitsDiscoveryTaskArm64Debug
:app:compileArm64DebugNdk NO-SOURCE
:CordovaLib:compileDebugNdk NO-SOURCE
:CordovaLib:mergeDebugJniLibFolders
:CordovaLib:transformNativeLibsWithMergeJniLibsForDebug
:CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug
:app:mergeArm64DebugJniLibFolders
:app:processArm64DebugJavaRes NO-SOURCE
:app:validateSigningArm64Debug
:app:preArmeabiDebugBuild
:app:compileArmeabiDebugAidl
:app:compileArmeabiDebugRenderscript
:app:checkArmeabiDebugManifest
:app:generateArmeabiDebugBuildConfig
:app:mergeArmeabiDebugShaders
:app:compileArmeabiDebugShaders
:app:generateArmeabiDebugAssets
:app:mergeArmeabiDebugAssets
:app:createXwalkCommandLineFileArmeabiDebug
:app:generateArmeabiDebugResValues
:app:generateArmeabiDebugResources
:app:mergeArmeabiDebugResources
:app:createArmeabiDebugCompatibleScreenManifests
:app:processArmeabiDebugManifest
:app:splitsDiscoveryTaskArmeabiDebug
:app:compileArmeabiDebugNdk NO-SOURCE
:app:mergeArmeabiDebugJniLibFolders
:app:processArmeabiDebugJavaRes NO-SOURCE
:app:validateSigningArmeabiDebug
:app:preArmv7DebugBuild
:app:compileArmv7DebugAidl
:app:compileArmv7DebugRenderscript
:app:checkArmv7DebugManifest
:app:generateArmv7DebugBuildConfig
:app:mergeArmv7DebugShaders
:app:compileArmv7DebugShaders
:app:generateArmv7DebugAssets
:app:mergeArmv7DebugAssets
:app:createXwalkCommandLineFileArmv7Debug
:app:generateArmv7DebugResValues
:app:generateArmv7DebugResources
:app:mergeArmv7DebugResources
:app:createArmv7DebugCompatibleScreenManifests
:app:processArmv7DebugManifest
:app:splitsDiscoveryTaskArmv7Debug
:app:compileArmv7DebugNdk NO-SOURCE
:app:mergeArmv7DebugJniLibFolders
:app:processArmv7DebugJavaRes NO-SOURCE
:app:validateSigningArmv7Debug
:app:preX86DebugBuild
:app:compileX86DebugAidl
:app:compileX86DebugRenderscript
:app:checkX86DebugManifest
:app:generateX86DebugBuildConfig
:app:mergeX86DebugShaders
:app:compileX86DebugShaders
:app:generateX86DebugAssets
:app:mergeX86DebugAssets
:app:createXwalkCommandLineFileX86Debug
:app:generateX86DebugResValues
:app:generateX86DebugResources
:app:mergeX86DebugResources
:app:createX86DebugCompatibleScreenManifests
:app:processX86DebugManifest
:app:splitsDiscoveryTaskX86Debug
:app:compileX86DebugNdk NO-SOURCE
:app:mergeX86DebugJniLibFolders
:app:processX86DebugJavaRes NO-SOURCE
:app:validateSigningX86Debug
:app:preX86_64DebugBuild
:app:compileX86_64DebugAidl
:app:compileX86_64DebugRenderscript
:app:checkX86_64DebugManifest
:app:generateX86_64DebugBuildConfig
:app:mergeX86_64DebugShaders
:app:compileX86_64DebugShaders
:app:generateX86_64DebugAssets
:app:mergeX86_64DebugAssets
:app:createXwalkCommandLineFileX86_64Debug
:app:generateX86_64DebugResValues
:app:generateX86_64DebugResources
:app:mergeX86_64DebugResources
:app:createX86_64DebugCompatibleScreenManifests
:app:processX86_64DebugManifest
:app:splitsDiscoveryTaskX86_64Debug
:app:compileX86_64DebugNdk NO-SOURCE
:app:mergeX86_64DebugJniLibFolders
:app:processX86_64DebugJavaRes NO-SOURCE
:app:validateSigningX86_64Debug
:CordovaLib:processDebugResources
:CordovaLib:generateDebugSources
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:compileDebugJavaWithJavac
:CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug
:app:processArm64DebugResources
:app:generateArm64DebugSources
:app:javaPreCompileArm64Debug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileArm64DebugJavaWithJavac
:app:compileArm64DebugSources
:app:transformClassesWithStackFramesFixerForArm64Debug
:app:transformClassesWithDesugarForArm64Debug
:app:transformClassesWithDexBuilderForArm64Debug
:app:transformDexArchiveWithExternalLibsDexMergerForArm64Debug
:app:transformDexArchiveWithDexMergerForArm64Debug
:app:transformNativeLibsWithMergeJniLibsForArm64Debug
:app:transformResourcesWithMergeJavaResForArm64Debug
:app:packageArm64Debug
:app:assembleArm64Debug
:app:processArmeabiDebugResources
:app:generateArmeabiDebugSources
:app:javaPreCompileArmeabiDebug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileArmeabiDebugJavaWithJavac
:app:compileArmeabiDebugSources
:app:transformClassesWithStackFramesFixerForArmeabiDebug
:app:transformClassesWithDesugarForArmeabiDebug
:app:transformClassesWithDexBuilderForArmeabiDebug
:app:transformDexArchiveWithExternalLibsDexMergerForArmeabiDebug
:app:transformDexArchiveWithDexMergerForArmeabiDebug
:app:transformNativeLibsWithMergeJniLibsForArmeabiDebug
:app:transformResourcesWithMergeJavaResForArmeabiDebug
:app:packageArmeabiDebug
:app:assembleArmeabiDebug
:app:processArmv7DebugResources
:app:generateArmv7DebugSources
:app:javaPreCompileArmv7Debug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileArmv7DebugJavaWithJavac
:app:compileArmv7DebugSources
:app:transformClassesWithStackFramesFixerForArmv7Debug
:app:transformClassesWithDesugarForArmv7Debug
:app:transformClassesWithDexBuilderForArmv7Debug
:app:transformDexArchiveWithExternalLibsDexMergerForArmv7Debug
:app:transformDexArchiveWithDexMergerForArmv7Debug
:app:transformNativeLibsWithMergeJniLibsForArmv7Debug
:app:transformResourcesWithMergeJavaResForArmv7Debug
:app:packageArmv7Debug
:app:assembleArmv7Debug
:app:processX86DebugResources
:app:generateX86DebugSources
:app:javaPreCompileX86Debug
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:app:compileX86DebugJavaWithJavac
:app:compileX86DebugSources
:app:transformClassesWithStackFramesFixerForX86Debug
:app:transformClassesWithDesugarForX86Debug
:app:transformClassesWithDexBuilderForX86Debug
:app:transformDexArchiveWithExternalLibsDexMergerForX86Debug
:app:transformDexArchiveWithDexMergerForX86Debug
FAILURE: Build failed with an exception.
* What went wrong:
null value in entry: otherFolderOutputs.otherFolderOutput1=null
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 13s
:app:transformNativeLibsWithMergeJniLibsForX86Debug FAILED
142 actionable tasks: 140 executed, 2 up-to-date
cmd: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
FAILURE: Build failed with an exception.
* What went wrong:
null value in entry: otherFolderOutputs.otherFolderOutput1=null
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 13s
[ERROR] An error occurred while running subprocess cordova.
cordova build android exited with exit code 1.
Re-running this command with the --verbose flag may provide more information.