I used to export my games using phonegap and cocoon.io a couple of months ago but now something strange happened. I can not use any of them. I've also tried to test it on projects that have already been built before but now I see weird errors that I don't understand...
Here's the error of phonegap:
Error - The minSdkVersion as specified in your config.xml (or the default value) is less than required by an included library. Check the log file for more information: org.xwalk.core
And here's the error of cocoon:
COMPILER ERROR:
/workspace/platforms/android/gradlew: 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.
/workspace/platforms/android/AndroidManifest.xml:13:5-74 Error:
uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
CORDOVA LOG:
ces
:CordovaLib:incrementalReleaseJavaCompilationSafeguard
:CordovaLib:compileReleaseJavaWithJavac
:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForRelease
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease
:CordovaLib:mergeReleaseJniLibFolders
:CordovaLib:transformNative_libsWithMergeJniLibsForRelease
:CordovaLib:transformNative_libsWithSyncJniLibsForRelease
:CordovaLib:bundleRelease
:prepareCanvasplusReleaseLibrary
:prepareComAndroidSupportSupportCompat2600Alpha1Library
:prepareComAndroidSupportSupportCoreUi2600Alpha1Library
:prepareComAndroidSupportSupportCoreUtils2600Alpha1Library
:prepareComAndroidSupportSupportFragment2600Alpha1Library
:prepareComAndroidSupportSupportMediaCompat2600Alpha1Library
:prepareComAndroidSupportSupportV42600Alpha1Library
:prepareOrgApacheCordovaCordovaLib623DebugLibrary
:prepareOrgXwalkXwalk_core_library23535894Library
:prepareArmv7DebugDependencies
:compileArmv7DebugAidl
:compileArmv7DebugRenderscript
:generateArmv7DebugBuildConfig
:mergeArmv7DebugShaders
:compileArmv7DebugShaders
:generateArmv7DebugAssets
:mergeArmv7DebugAssets
:createXwalkCommandLineFileArmv7Debug
:generateArmv7DebugResValues
:generateArmv7DebugResources
:mergeArmv7DebugResources
:processArmv7DebugManifest/workspace/platforms/android/AndroidManifest.xml:13:5-74 Error:
uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
See g.co/androidstudio/manifest-merger for more information about the manifest merger.
:processArmv7DebugManifest FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 19.504 secs
[91m20181228T053744 [ERROR] AndroidBuilder -[39m { Error: /workspace/platforms/android/gradlew: 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.
/workspace/platforms/android/AndroidManifest.xml:13:5-74 Error:
uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':processArmv7DebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (/workspace/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at ChildProcess.emit (events.js:182:13)
at maybeClose (internal/child_process.js:962:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)
stderr:
'Note: Some input files use or override a deprecated API.\nNote: Recompile with -Xlint:deprecation for details.\nNote: Some input files use or override a deprecated API.\nNote: Recompile with -Xlint:deprecation for details.\n/workspace/platforms/android/AndroidManifest.xml:13:5-74 Error:\n\tuses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml\n\tSuggestion: use tools:overrideLibrary="org.xwalk.core" to force usage\n\nFAILURE: Build failed with an exception.\n\n* What went wrong:\nExecution failed for task \':processArmv7DebugManifest\'.\n> Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:23.53.589.4] /workspace/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/23.53.589.4/AndroidManifest.xml\n \tSuggestion: use tools:overrideLibrary="org.xwalk.core" to force usage\n\n* Try:\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\n',
stdout:
'null\nThe Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.\n\tat build_1l77vi9r3i9ds73tdjacaodye.run(/workspace/platforms/android/build.gradle:139)\norg.xwalk:xwalk_core_library:23+\nThe JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.\nIncremental java compilation is an incubating feature.\nThe TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.\n:preBuild UP-TO-DATE\n:preArmv7DebugBuild UP-TO-DATE\n:checkArmv7DebugManifest\n:preArmv7ReleaseBuild UP-TO-DATE\n:preX86DebugBuild UP-TO-DATE\n:preX86ReleaseBuild UP-TO-DATE\n:CordovaLib:preBuild UP-TO-DATE\n:CordovaLib:preDebugBuild UP-TO-DATE\n:CordovaLib:checkDebugManifest\n:CordovaLib:prepareDebugDependencies\n:CordovaLib:compileDebugAidl\n:CordovaLib:compileDebugNdk UP-TO-DATE\n:CordovaLib:compileLint\n:CordovaLib:copyDebugLint UP-TO-DATE\n:CordovaLib:mergeDebugShaders\n:CordovaLib:compileDebugShaders\n:CordovaLib:generateDebugAssets\n:CordovaLib:mergeDebugAssets\n:CordovaLib:mergeDebugProguardFiles\n:CordovaLib:packageDebugRenderscript UP-TO-DATE\n:CordovaLib:compileDebugRenderscript\n:CordovaLib:generateDebugResValues\n:CordovaLib:generateDebugResources\n:CordovaLib:packageDebugResources\n:CordovaLib:processDebugManifest\n:CordovaLib:generateDebugBuildConfig\n:CordovaLib:processDebugResources\n:CordovaLib:generateDebugSources\n:CordovaLib:incrementalDebugJavaCompilationSafeguard\n:CordovaLib:compileDebugJavaWithJavac\n:CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).\n:CordovaLib:processDebugJavaRes UP-TO-DATE\n:CordovaLib:transformResourcesWithMergeJavaResForDebug\n:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug\n:CordovaLib:mergeDebugJniLibFolders\n:CordovaLib:transformNative_libsWithMergeJniLibsForDebug\n:CordovaLib:transformNative_libsWithSyncJniLibsForDebug\n:CordovaLib:bundleDebug\n:CordovaLib:preReleaseBuild UP-TO-DATE\n:CordovaLib:checkReleaseManifest\n:CordovaLib:prepareReleaseDependencies\n:CordovaLib:compileReleaseAidl\n:CordovaLib:compileReleaseNdk UP-TO-DATE\n:CordovaLib:copyReleaseLint UP-TO-DATE\n:CordovaLib:mergeReleaseShaders\n:CordovaLib:compileReleaseShaders\n:CordovaLib:generateReleaseAssets\n:CordovaLib:mergeReleaseAssets\n:CordovaLib:mergeReleaseProguardFiles\n:CordovaLib:packageReleaseRenderscript UP-TO-DATE\n:CordovaLib:compileReleaseRenderscript\n:CordovaLib:generateReleaseResValues\n:CordovaLib:generateReleaseResources\n:CordovaLib:packageReleaseResources\n:CordovaLib:processReleaseManifest\n:CordovaLib:generateReleaseBuildConfig\n:CordovaLib:processReleaseResources\n:CordovaLib:generateReleaseSources\n:CordovaLib:incrementalReleaseJavaCompilationSafeguard\n:CordovaLib:compileReleaseJavaWithJavac\n:CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).\n:CordovaLib:processReleaseJavaRes UP-TO-DATE\n:CordovaLib:transformResourcesWithMergeJavaResForRelease\n:CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease\n:CordovaLib:mergeReleaseJniLibFolders\n:CordovaLib:transformNative_libsWithMergeJniLibsForRelease\n:CordovaLib:transformNative_libsWithSyncJniLibsForRelease\n:CordovaLib:bundleRelease\n:prepareCanvasplusReleaseLibrary\n:prepareComAndroidSupportSupportCompat2600Alpha1Library\n:prepareComAndroidSupportSupportCoreUi2600Alpha1Library\n:prepareComAndroidSupportSupportCoreUtils2600Alpha1Library\n:prepareComAndroidSupportSupportFragment2600Alpha1Library\n:prepareComAndroidSupportSupportMediaCompat2600Alpha1Library\n:prepareComAndroidSupportSupportV42600Alpha1Library\n:prepareOrgApacheCordovaCordovaLib623DebugLibrary\n:prepareOrgXwalkXwalk_core_library23535894Library\n:prepareArmv7DebugDependencies\n:compileArmv7DebugAidl\n:compileArmv7DebugRenderscript\n:generateArmv7DebugBuildConfig\n:mergeArmv7DebugShaders\n:compileArmv7DebugShaders\n:generateArmv7DebugAssets\n:mergeArmv7DebugAssets\n:createXwalkCommandLineFileArmv7Debug\n:generateArmv7DebugResValues\n:generateArmv7DebugResources\n:mergeArmv7DebugResources\n:processArmv7DebugManifest\n\nSee g.co/androidstudio/manifest-merger for more information about the manifest merger.\n\n:processArmv7DebugManifest FAILED\n\nBUILD FAILED\n\nTotal time: 19.504 secs\n',
code: 1 }