Execution failed for task ':ForgeInspector:processVanillaReleaseManifest'


#1

Using Trigger.io; Apple .ipas forge, but Android .apks do not, as of 5 days ago. Here’s the log from when I try to forge an apk, below. Can anyone tell me what to do? I looked at the AndroidManifest.xml file but it’s not something I understood (strings of digits) so I don’t know how to take the advice given in the debug. I can’t paste the whole thing (too many characters) so if you need additional info, let me know!

All modules are up-to-date.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:ForgeInspector:processVanillaReleaseManifest’.

Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add ‘tools:replace=“android:appComponentFactory”’ to element at AndroidManifest.xml:8:5-21:563 to override.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 18s
25 actionable tasks: 10 executed, 15 from cache

[ INFO] 2019-06-20 01:47:56,409 – cleaning up source directories
[ ERROR] 2019-06-20 01:47:56,411 – gradle build error
[DEBUG] Traceback (most recent call last):
File “/Users/jennifergager/Library/Trigger Toolkit/build-tools/forge/async.py”, line 106, in run
result = self._target(self._args, **self._kwargs)
File “/Users/jennifergager/Library/Trigger Toolkit/trigger/api/app.py”, line 305, in package
build(cookies, path, target)
File “/Users/jennifergager/Library/Trigger Toolkit/trigger/api/app.py”, line 344, in build
forge_main.development_build([target, ‘–general.interactive’, ‘no’])
File “/Users/jennifergager/Library/Trigger Toolkit/build-tools/forge/main.py”, line 361, in development_build
return generate_dynamic.buildtools.development_build_dynamic(unhandled_args, has_target, manager, remote, app_config, stable_platform, development_build)
File “/Users/jennifergager/native/.template/generate_dynamic/buildtools.py”, line 169, in development_build_dynamic
build = remote.build(config=reload_config, target=target)
File “/Users/jennifergager/Library/Trigger Toolkit/build-tools/forge/remote.py”, line 750, in build
raise ForgeError(‘build failed: %s’ % build[‘log_output’])
ForgeError: build failed: [ DEBUG] 2019-06-20 01:46:51,763 – inspecting build id 574983
[ INFO] 2019-06-20 01:46:52,976 – running build “android task 574983”
[ INFO] 2019-06-20 01:46:52,977 – adding “/mnt/stable/platform-source/v2.7.8/generate” to sys.path
[ DEBUG] 2019-06-20 01:46:52,978 – set sys.path to be [u’/mnt/stable/platform-source/v2.7.8/generate’, ‘/opt/stable/website’, ‘/opt/stable/stable-python-env/lib/python27.zip’, ‘/opt/stable/stable-python-env/lib/python2.7’, ‘/opt/stable/stable-python-env/lib/python2.7/plat-linux2’, ‘/opt/stable/stable-python-env/lib/python2.7/lib-tk’, ‘/opt/stable/stable-python-env/lib/python2.7/lib-old’, ‘/opt/stable/stable-python-env/lib/python2.7/lib-dynload’, ‘/usr/lib/python2.7’, ‘/usr/lib/python2.7/plat-linux2’, ‘/usr/lib/python2.7/lib-tk’, ‘/opt/stable/stable-python-env/lib/python2.7/site-packages’, ‘/opt/stable/stable-python-env/src/django-registration-dev’, ‘/opt/stable/stable-python-env/src/validictory-dev’, ‘/opt/stable/stable-python-env/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info’]
[ DEBUG] 2019-06-20 01:46:53,141 – reading system config file from /opt/stable/SYSTEM_BUILD_CONFIG.json
[ DEBUG] 2019-06-20 01:46:58,473 – Enabled platforms: [u’android’]
[ DEBUG] 2019-06-20 01:46:58,476 – <ForgeTask (android)> running…
[ DEBUG] 2019-06-20 01:46:58,521 – <ForgeTask (android)> script:
[{‘do’: {‘preprocess_config’: ()}},
{‘do’: {‘populate_package_names’: ()}},
{‘do’: {‘resolve_urls’: (‘modules.activations.config.activations.[].scripts.[]’,
‘modules.activations.config.activations.[].styles.[]’,
'modules.icons.config.chrome.
’,
‘modules.icons.config.safari.’,
'modules.icons.config.firefox.
’,
‘modules.icons.config.ie.’,
‘modules.launchimage.config.android’,
‘modules.launchimage.config.android-landscape’,
‘modules.button.config.default_icon’,
‘modules.button.config.default_popup’,
'modules.button.config.default_icons.
’)}},
{‘do’: {‘addon_source’: ‘common-v2’}},
{‘do’: {‘addon_source’: ‘module/schema’}},
{‘do’: {‘addon_source’: ‘android/ForgeInspector’},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘addon_source’: ‘android/ForgeCore’},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘addon_source’: ‘android/js’}, ‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘addon_source’: ‘android/build.gradle’},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘addon_source’: ‘android/settings.gradle’},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘addon_source’: ‘android/gradle.properties’},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘provision_assets’: ‘assets’}, ‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘copy_files’: {‘from’: ‘common-v2/forge’,
‘to’: ‘android/ForgeInspector/assets/forge’}},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/api-prefix.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/config.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/polyfills/misc.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/polyfills/promise.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/api.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/is/common.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/is/android.js’},
‘when’: {‘platform_is’: ‘android,crosswalk,an-inspector’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/logging/default.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/internal/default.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/event/mobile.js’},
‘when’: {‘platform_is’: ‘android,crosswalk,an-inspector,ios,ios-native,ios-inspector’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/event/common.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/modules/layout/default.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/reload.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/live.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/tools.js’}},
{‘do’: {‘add_to_all_js’: ‘android/js/api-android.js’},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/api-expose.js’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/api-suffix.js’}},
{‘do’: {‘android_set_min_sdk_version’: {‘gradle_json’: ‘android/ForgeInspector/gradle.json’,
‘value’: ‘${core.android.minimum_version}’}},
‘when’: {‘config_property_exists’: ‘core.android.minimum_version’,
‘platform_is’: ‘android’}},
{‘do’: {‘set_attribute_value_xml’: {‘attribute’: ‘android:label’,
‘element’: ‘application’,
‘file’: ‘android/ForgeInspector/AndroidManifest.xml’,
‘value’: u’CJU19’}},
‘when’: {‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘set_attribute_value_xml’: {‘attribute’: ‘android:versionCode’,
‘file’: ‘android/ForgeInspector/AndroidManifest.xml’,
‘value’: ‘1560995218’}},
‘when’: {‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘set_attribute_value_xml’: {‘attribute’: ‘android:versionName’,
‘file’: ‘android/ForgeInspector/AndroidManifest.xml’,
‘value’: ‘${version}’}},
‘when’: {‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘find_and_replace’: {‘find’: ‘io.trigger.forge.android.inspector’,
‘in’: (‘android/ForgeInspector/AndroidManifest.xml’,),
‘replace’: ‘${core.android.package_name}’}},
‘when’: {‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘find_and_replace’: {‘find’: ‘io.trigger.forge.android.inspector’,
‘in’: (‘android/ForgeInspector/proguard-project.txt’,),
‘replace’: ‘${core.android.package_name}’}},
‘when’: {‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘download_and_extract_modules’: ()},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘create_module_mapping’: ()}},
{‘do’: {‘add_modules_android’: ()}, ‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘add_to_all_js’: ‘common-v2/api-flags.js’}},
{‘do’: {‘minify_in_place’: ‘android/ForgeInspector/assets/forge/all.js’},
‘when’: {‘is_external’: (), ‘platform_is’: ‘android’}},
{‘do’: {‘remove_files’: (‘android/ForgeInspector/res/mipmap-anydpi-v26/ic_launcher.xml’,
‘android/ForgeInspector/res/mipmap-anydpi-v26/ic_launcher_round.xml’,
‘android/ForgeInspector/res/mipmap-hdpi-v4/ic_launcher_foreground.png’,
‘android/ForgeInspector/res/mipmap-mdpi-v4/ic_launcher_foreground.png’,
‘android/ForgeInspector/res/mipmap-xhdpi-v4/ic_launcher_foreground.png’,
‘android/ForgeInspector/res/mipmap-xxhdpi-v4/ic_launcher_foreground.png’,
‘android/ForgeInspector/res/mipmap-xxxhdpi-v4/ic_launcher_foreground.png’,
‘android/ForgeInspector/res/values/ic_launcher_background.xml’)},
‘when’: {‘config_property_exists’: ‘modules.icons.config’,
‘not_config_property_exists’: ‘modules.icons.config.android.adaptive.background-color’,
‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘gradle_build’: (‘android’, ‘assembleVanillaAPK’)},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘android_copy_native_libs’: ‘android/ForgeInspector’},
‘when’: {‘platform_is’: ‘android,crosswalk’}},
{‘do’: {‘remove_files’: ‘common-v2’}},
{‘do’: {‘rename_files’: {‘from’: ‘android/ForgeInspector/apk’,
‘to’: ‘development/android’}},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘rename_files’: {‘from’: ‘android/ForgeInspector/build_steps’,
‘to’: ‘development/android’}},
‘when’: {‘platform_is’: ‘android’}},
{‘do’: {‘move_output’: ‘development’}},
{‘do’: {‘remember_build_output_location’: ()}}]
[ INFO] 2019-06-20 01:46:58,523 – preprocessing configuration
[ INFO] 2019-06-20 01:46:58,524 – copying source directory /mnt/stable/platform-source/v2.7.8/common-v2 to common-v2
[ INFO] 2019-06-20 01:46:58,541 – copying source directory /mnt/stable/platform-source/v2.7.8/module/schema to module/schema
[ INFO] 2019-06-20 01:46:58,544 – copying source directory /mnt/stable/platform-source/v2.7.8/android/ForgeInspector to android/ForgeInspector
[ INFO] 2019-06-20 01:46:58,555 – copying source directory /mnt/stable/platform-source/v2.7.8/android/ForgeCore to android/ForgeCore
[ INFO] 2019-06-20 01:46:58,612 – copying source directory /mnt/stable/platform-source/v2.7.8/android/js to android/js
[ INFO] 2019-06-20 01:46:58,614 – copying source file /mnt/stable/platform-source/v2.7.8/android/build.gradle to android/build.gradle
[ INFO] 2019-06-20 01:46:58,615 – copying source file /mnt/stable/platform-source/v2.7.8/android/settings.gradle to android/settings.gradle
[ INFO] 2019-06-20 01:46:58,616 – copying source file /mnt/stable/platform-source/v2.7.8/android/gradle.properties to android/gradle.properties
[ DEBUG] 2019-06-20 01:46:58,617 – Retrieving remote user assets archive: None
[ DEBUG] 2019-06-20 01:46:58,618 – No remote user assets archive for this build. Skipping.
[ DEBUG] 2019-06-20 01:46:58,619 – copying common-v2/forge to android/ForgeInspector/assets/forge
[ DEBUG] 2019-06-20 01:46:58,621 – concatenating common-v2/api-prefix.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,622 – appended common-v2/api-prefix.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,623 – concatenating common-v2/config.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,624 – appended common-v2/config.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,625 – concatenating common-v2/polyfills/misc.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,626 – appended common-v2/polyfills/misc.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,627 – concatenating common-v2/polyfills/promise.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,628 – appended common-v2/polyfills/promise.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,629 – concatenating common-v2/api.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,630 – appended common-v2/api.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,631 – concatenating common-v2/modules/is/common.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,631 – appended common-v2/modules/is/common.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,632 – concatenating common-v2/modules/is/android.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,633 – appended common-v2/modules/is/android.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,634 – concatenating common-v2/modules/logging/default.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,635 – appended common-v2/modules/logging/default.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,636 – concatenating common-v2/modules/internal/default.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,637 – appended common-v2/modules/internal/default.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,638 – concatenating common-v2/modules/event/mobile.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,639 – appended common-v2/modules/event/mobile.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,640 – concatenating common-v2/modules/event/common.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,641 – appended common-v2/modules/event/common.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,642 – concatenating common-v2/modules/layout/default.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,643 – appended common-v2/modules/layout/default.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,644 – concatenating common-v2/reload.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,645 – appended common-v2/reload.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,646 – concatenating common-v2/live.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,646 – appended common-v2/live.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,647 – concatenating common-v2/tools.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,648 – appended common-v2/tools.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,649 – concatenating android/js/api-android.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,650 – appended android/js/api-android.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,651 – concatenating common-v2/api-expose.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,652 – appended common-v2/api-expose.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,653 – concatenating common-v2/api-suffix.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:46:58,654 – appended common-v2/api-suffix.js to android/ForgeInspector/assets/forge/all.js
[ DEBUG] 2019-06-20 01:46:58,668 – replacing io.trigger.forge.android.inspector with u’com.pathable.cju18’
[ DEBUG] 2019-06-20 01:46:58,670 – replacing io.trigger.forge.android.inspector with com.pathable.cju18 in android/ForgeInspector/AndroidManifest.xml
[ DEBUG] 2019-06-20 01:46:58,672 – replacing io.trigger.forge.android.inspector with u’com.pathable.cju18’
[ DEBUG] 2019-06-20 01:46:58,674 – replacing io.trigger.forge.android.inspector with com.pathable.cju18 in android/ForgeInspector/proguard-project.txt
[ INFO] 2019-06-20 01:46:58,675 – Downloading modules
[ INFO] 2019-06-20 01:46:58,676 – Downloading module: capture
[ DEBUG] 2019-06-20 01:46:58,677 – Downloading module: capture-2.0
[ DEBUG] 2019-06-20 01:46:58,678 – url: https://s3.amazonaws.com/trigger-module-build/capture/2.0.zip?Signature=UO4BnYE61qRhGyvu5vvhFuB7mJw%3D&Expires=1560997013&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:46:59,644 – Downloaded module: capture
[ INFO] 2019-06-20 01:46:59,645 – Downloading module: launchimage
[ DEBUG] 2019-06-20 01:46:59,646 – Downloading module: launchimage-2.13
[ DEBUG] 2019-06-20 01:46:59,647 – url: https://s3.amazonaws.com/trigger-module-build/launchimage/2.13.zip?Signature=PhKIcu%2BVnoE5bOId2rESOYFbZ8I%3D&Expires=1560997014&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:00,381 – Downloaded module: launchimage
[ INFO] 2019-06-20 01:47:00,382 – Downloading module: parameters
[ DEBUG] 2019-06-20 01:47:00,383 – Downloading module: parameters-2.0
[ DEBUG] 2019-06-20 01:47:00,385 – url: https://s3.amazonaws.com/trigger-module-build/parameters/2.0.zip?Signature=y%2F7RGuFjfhjXT6SUUFJSWvddrZg%3D&Expires=1560997014&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:00,843 – Downloaded module: parameters
[ INFO] 2019-06-20 01:47:00,844 – Downloading module: icons
[ DEBUG] 2019-06-20 01:47:00,845 – Downloading module: icons-2.9
[ DEBUG] 2019-06-20 01:47:00,846 – url: https://s3.amazonaws.com/trigger-module-build/icons/2.9.zip?Signature=vxldp51kkwdnSqGJyVBiPR4Qv04%3D&Expires=1560997015&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:01,779 – Downloaded module: icons
[ INFO] 2019-06-20 01:47:01,780 – Downloading module: browsersettings
[ DEBUG] 2019-06-20 01:47:01,781 – Downloading module: browsersettings-1.6
[ DEBUG] 2019-06-20 01:47:01,782 – url: https://s3.amazonaws.com/trigger-module-build/browsersettings/1.6.zip?Signature=%2F3gKZB9%2BblPbrEIg6axnZkWJMfQ%3D&Expires=1560997015&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:03,137 – Downloaded module: browsersettings
[ INFO] 2019-06-20 01:47:03,138 – Downloading module: barcode
[ DEBUG] 2019-06-20 01:47:03,139 – Downloading module: barcode-2.7
[ DEBUG] 2019-06-20 01:47:03,139 – url: https://s3.amazonaws.com/trigger-module-build/barcode/2.7.zip?Signature=rv%2BEvuBsw13vLWJ8yk%2FKsuAwNUg%3D&Expires=1560997016&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:32,337 – Downloaded module: barcode
[ INFO] 2019-06-20 01:47:32,339 – Downloading module: pushwoosh
[ DEBUG] 2019-06-20 01:47:32,339 – Downloading module: pushwoosh-3.5.0
[ DEBUG] 2019-06-20 01:47:32,340 – url: https://s3.amazonaws.com/trigger-module-build/pushwoosh/3.5.0.zip?Signature=fRTX0xpfBQdlOaMn4P4FVYJEZ9w%3D&Expires=1560997016&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:33,698 – Downloaded module: pushwoosh
[ INFO] 2019-06-20 01:47:33,700 – Downloading module: tabs
[ DEBUG] 2019-06-20 01:47:33,701 – Downloading module: tabs-2.23
[ DEBUG] 2019-06-20 01:47:33,702 – url: https://s3.amazonaws.com/trigger-module-build/tabs/2.23.zip?Signature=qUC8TSjSY2A2ZCqGbU6cou3ltDM%3D&Expires=1560997017&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:34,800 – Downloaded module: tabs
[ INFO] 2019-06-20 01:47:34,801 – Downloading module: file
[ DEBUG] 2019-06-20 01:47:34,802 – Downloading module: file-2.23
[ DEBUG] 2019-06-20 01:47:34,802 – url: https://s3.amazonaws.com/trigger-module-build/file/2.23.zip?Signature=zBXvryGbb%2FK0O5ybO8lzzPDCRrk%3D&Expires=1560997017&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:35,776 – Downloaded module: file
[ INFO] 2019-06-20 01:47:35,777 – Downloading module: urlhandler
[ DEBUG] 2019-06-20 01:47:35,778 – Downloading module: urlhandler-2.1
[ DEBUG] 2019-06-20 01:47:35,778 – url: https://s3.amazonaws.com/trigger-module-build/urlhandler/2.1.zip?Signature=UGHyhnoOEYZbtOzukIp2ia%2BUCjY%3D&Expires=1560997018&AWSAccessKeyId=AKIAJYWQNT53NYOWGRIQ
[ INFO] 2019-06-20 01:47:36,610 – Downloaded module: urlhandler
[ INFO] 2019-06-20 01:47:36,612 – Adding android modules to build
[ DEBUG] 2019-06-20 01:47:36,665 – concatenating common-v2/api-flags.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:47:36,666 – appended common-v2/api-flags.js to android/ForgeInspector/assets/forge/all.js
[ INFO] 2019-06-20 01:47:36,674 – deleting 8 files
[ DEBUG] 2019-06-20 01:47:36,676 – deleting android/ForgeInspector/res/mipmap-anydpi-v26/ic_launcher.xml
[ DEBUG] 2019-06-20 01:47:36,677 – deleting android/ForgeInspector/res/mipmap-anydpi-v26/ic_launcher_round.xml
[ DEBUG] 2019-06-20 01:47:36,679 – deleting android/ForgeInspector/res/mipmap-hdpi-v4/ic_launcher_foreground.png
[ DEBUG] 2019-06-20 01:47:36,681 – deleting android/ForgeInspector/res/mipmap-mdpi-v4/ic_launcher_foreground.png
[ DEBUG] 2019-06-20 01:47:36,682 – deleting android/ForgeInspector/res/mipmap-xhdpi-v4/ic_launcher_foreground.png
[ DEBUG] 2019-06-20 01:47:36,684 – deleting android/ForgeInspector/res/mipmap-xxhdpi-v4/ic_launcher_foreground.png
[ DEBUG] 2019-06-20 01:47:36,686 – deleting android/ForgeInspector/res/mipmap-xxxhdpi-v4/ic_launcher_foreground.png
[ DEBUG] 2019-06-20 01:47:36,687 – deleting android/ForgeInspector/res/values/ic_launcher_background.xml
[ DEBUG] 2019-06-20 01:47:36,688 – changing dir to perform gradle build: android, was in /tmp/tmpinX1ri
[ DEBUG] 2019-06-20 01:47:36,689 – running: gradle /mnt/gradle/gradle-4.9/bin/gradle assembleVanillaAPK
[ ERROR] 2019-06-20 01:47:55,758 – gradle build error:

Configure project :ForgeCore
Munging support library for: crosswalkAnnotationProcessor
Munging support library for: crosswalkApi
Munging support library for: crosswalkCompile
Munging support library for: crosswalkCompileOnly
Munging support library for: crosswalkImplementation
Munging support library for: crosswalkProvided
Munging support library for: crosswalkPublish
Munging support library for: crosswalkRuntimeOnly
Munging support library for: crosswalkWearApp
Munging support library for: crosswalkDebugCompile
Munging support library for: crosswalkDebugPublish
Munging support library for: crosswalkDebugProvided
Munging support library for: crosswalkDebugApi
Munging support library for: crosswalkDebugImplementation
Munging support library for: crosswalkDebugRuntimeOnly
Munging support library for: crosswalkDebugCompileOnly
Munging support library for: crosswalkDebugWearApp
Munging support library for: crosswalkDebugAnnotationProcessor
Munging support library for: crosswalkDebugCompileClasspath
Munging support library for: crosswalkDebugAnnotationProcessorClasspath
Munging support library for: crosswalkDebugRuntimeClasspath
Munging support library for: crosswalkDebugRuntimeElements
Munging support library for: crosswalkDebugApiElements
Munging support library for: crosswalkReleaseCompile
Munging support library for: crosswalkReleasePublish
Munging support library for: crosswalkReleaseProvided
Munging support library for: crosswalkReleaseApi
Munging support library for: crosswalkReleaseImplementation
Munging support library for: crosswalkReleaseRuntimeOnly
Munging support library for: crosswalkReleaseCompileOnly
Munging support library for: crosswalkReleaseWearApp
Munging support library for: crosswalkReleaseAnnotationProcessor
Munging support library for: crosswalkReleaseCompileClasspath
Munging support library for: crosswalkReleaseAnnotationProcessorClasspath
Munging support library for: crosswalkReleaseRuntimeClasspath
Munging support library for: crosswalkReleaseRuntimeElements
Munging support library for: crosswalkReleaseApiElements
Munging support library for: crosswalkDebugUnitTestCompileClasspath
Munging support library for: crosswalkDebugUnitTestAnnotationProcessorClasspath
Munging support library for: crosswalkDebugUnitTestRuntimeClasspath
Munging support library for: crosswalkReleaseUnitTestCompileClasspath
Munging support library for: crosswalkReleaseUnitTestAnnotationProcessorClasspath
Munging support library for: crosswalkReleaseUnitTestRuntimeClasspath
Munging support library for: crosswalkDebugAndroidTestCompileClasspath
Munging support library for: crosswalkDebugAndroidTestAnnotationProcessorClasspath
Munging support library for: crosswalkDebugAndroidTestRuntimeClasspath

Configure project :ForgeInspector
Added module resource directory: ForgeInspector/res_module_launchimage
Added module aar for vanilla: tabs-vanilla-release
Added module aar for vanilla: browsersettings-vanilla-release
Added module aar for vanilla: barcode-vanilla-release
Added module aar for vanilla: capture-vanilla-release
Added module aar for vanilla: pushwoosh-vanilla-release
Added module aar for vanilla: file-vanilla-release
Added module aar for crosswalk: file-crosswalk-release
Added module aar for crosswalk: pushwoosh-crosswalk-release
Added module aar for crosswalk: capture-crosswalk-release
Added module aar for crosswalk: browsersettings-crosswalk-release
Added module aar for crosswalk: tabs-crosswalk-release
Added module aar for crosswalk: barcode-crosswalk-release
Munging support library for: crosswalkAnnotationProcessor
Munging support library for: crosswalkApi
Munging support library for: crosswalkApk
Munging support library for: crosswalkCompile
Munging support library for: crosswalkCompileOnly
Munging support library for: crosswalkImplementation
Munging support library for: crosswalkProvided
Munging support library for: crosswalkRuntimeOnly
Munging support library for: crosswalkWearApp
Munging support library for: crosswalkDebugCompile
Munging support library for: crosswalkDebugApk
Munging support library for: crosswalkDebugProvided
Munging support library for: crosswalkDebugApi
Munging support library for: crosswalkDebugImplementation
Munging support library for: crosswalkDebugRuntimeOnly
Munging support library for: crosswalkDebugCompileOnly
Munging support library for: crosswalkDebugWearApp
Munging support library for: crosswalkDebugAnnotationProcessor
Munging support library for: crosswalkDebugCompileClasspath
Munging support library for: crosswalkDebugAnnotationProcessorClasspath
Munging support library for: crosswalkDebugRuntimeClasspath
Munging support library for: crosswalkDebugWearBundling
Munging support library for: crosswalkDebugBundleElements
Munging support library for: crosswalkDebugRuntimeElements
Munging support library for: crosswalkDebugApiElements
Munging support library for: crosswalkDebugMetadataElements
Munging support library for: crosswalkReleaseCompile
Munging support library for: crosswalkReleaseApk
Munging support library for: crosswalkReleaseProvided
Munging support library for: crosswalkReleaseApi
Munging support library for: crosswalkReleaseImplementation
Munging support library for: crosswalkReleaseRuntimeOnly
Munging support library for: crosswalkReleaseCompileOnly
Munging support library for: crosswalkReleaseWearApp
Munging support library for: crosswalkReleaseAnnotationProcessor
Munging support library for: crosswalkReleaseCompileClasspath
Munging support library for: crosswalkReleaseAnnotationProcessorClasspath
Munging support library for: crosswalkReleaseRuntimeClasspath
Munging support library for: crosswalkReleaseWearBundling
Munging support library for: crosswalkReleaseBundleElements
Munging support library for: crosswalkReleaseRuntimeElements
Munging support library for: crosswalkReleaseApiElements
Munging support library for: crosswalkReleaseMetadataElements
Munging support library for: crosswalkDebugUnitTestCompileClasspath
Munging support library for: crosswalkDebugUnitTestAnnotationProcessorClasspath
Munging support library for: crosswalkDebugUnitTestRuntimeClasspath
Munging support library for: crosswalkReleaseUnitTestCompileClasspath
Munging support library for: crosswalkReleaseUnitTestAnnotationProcessorClasspath
Munging support library for: crosswalkReleaseUnitTestRuntimeClasspath
Munging support library for: crosswalkDebugAndroidTestCompileClasspath
Munging support library for: crosswalkDebugAndroidTestAnnotationProcessorClasspath
Munging support library for: crosswalkDebugAndroidTestRuntimeClasspath

Task :ForgeCore:preBuild UP-TO-DATE
Task :ForgeCore:preVanillaReleaseBuild UP-TO-DATE
Task :ForgeCore:compileVanillaReleaseAidl FROM-CACHE
Task :ForgeCore:compileVanillaReleaseRenderscript FROM-CACHE
Task :ForgeCore:checkVanillaReleaseManifest
Task :ForgeCore:generateVanillaReleaseBuildConfig FROM-CACHE
Task :ForgeCore:generateVanillaReleaseResValues FROM-CACHE
Task :ForgeCore:generateVanillaReleaseResources UP-TO-DATE
Task :ForgeCore:packageVanillaReleaseResources FROM-CACHE
Task :ForgeCore:platformAttrExtractor FROM-CACHE
Task :ForgeCore:processVanillaReleaseManifest FROM-CACHE
Task :ForgeCore:generateVanillaReleaseRFile FROM-CACHE
Task :ForgeCore:prepareLintJar
Task :ForgeCore:generateVanillaReleaseSources
Task :ForgeCore:javaPreCompileVanillaRelease FROM-CACHE
Task :ForgeCore:compileVanillaReleaseJavaWithJavac FROM-CACHE
Task :ForgeCore:processVanillaReleaseJavaRes NO-SOURCE
Task :ForgeCore:transformClassesAndResourcesWithPrepareIntermediateJarsForVanillaRelease
Task :ForgeInspector:preBuild UP-TO-DATE
Task :ForgeInspector:extractProguardFiles
Task :ForgeInspector:preVanillaReleaseBuild FROM-CACHE
Task :ForgeInspector:compileVanillaReleaseAidl FROM-CACHE
Task :ForgeCore:packageVanillaReleaseRenderscript NO-SOURCE
Task :ForgeInspector:compileVanillaReleaseRenderscript FROM-CACHE
Task :ForgeInspector:checkVanillaReleaseManifest
Task :ForgeInspector:generateVanillaReleaseBuildConfig
Task :ForgeInspector:prepareLintJar
Task :ForgeInspector:mainApkListPersistenceVanillaRelease
Task :ForgeInspector:generateVanillaReleaseResValues FROM-CACHE
Task :ForgeInspector:generateVanillaReleaseResources UP-TO-DATE
Task :ForgeInspector:mergeVanillaReleaseResources FROM-CACHE
Task :ForgeInspector:createVanillaReleaseCompatibleScreenManifests

Task :ForgeInspector:processVanillaReleaseManifest FAILED
/tmp/tmpinX1ri/android/ForgeInspector/AndroidManifest.xml:22:18-91 Error:
Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest.xml:22:18-86 value=(androidx.core.app.CoreComponentFactory).
Suggestion: add ‘tools:replace=“android:appComponentFactory”’ to element at AndroidManifest.xml:8:5-21:563 to override.


#2

Hi Jen,

The build error is being caused by one of the pushwoosh modules dependencies.

Most likely one of:

com.google.android.gms:play-services-gcm:+
com.google.android.gms:play-services-location:+
com.android.support:support-v4:27.+

Because these are wildcards they will use a different version every time Google updates those libraries.

Specifically, Google recently pushed an update that moved one of those dependencies to use the new “androidx” package which replaces the old android support libraries.

We’re currently implementing support for this but it will only be released in Q4 2019 with the next major version of the Forge platform (2.8)

I’ve CC-ed pushwoosh on this message as they will have to lock their dependencies to earlier versions.

I think the following may work:

com.google.android.gms:play-services-gcm:16.1.0
com.google.android.gms:play-services-location:16.0.0
com.android.support:support-v4:28.0.0

#3

Quick update: Pushwoosh devs are aware of the issue and are already working on a fix.


#4

…and v3.6.0 is out:

"pushwoosh": {
    "version": "3.6.0"
},

https://trigger.io/modules/pushwoosh/v3.6.0/


#5

Using the new version (3.6.0) resolved the issue. Thank you!


No Android push notifications with Pushwoosh Module 3.6.0
#6

I agree that version 3.6.0 enables the build to complete without errors. However, Android push notifications are no longer received. iOS push notifications are received correctly.


#7

Is anyone else seeing no Android push notifications on version 3.6.0?


#8

Hi @antoinevg ,
After upgrading to pushwoosh module 3.6.0 from 3.2.0, We are still facing the same issue. Please find the attached log file when I try to forge an apkforge_log.txt (9.6 KB). Please suggest me what to do ?
Thanks in advance.


#9

I could be wrong on this but from what Antoine has said, this is a ‘pushwoosh’ issue and not really forge…

That being said, if you are not tied to pushwoosh’s ‘features’ like some of the media or full-page etc I would highly recommend a ‘parse’ alternative. Its usually cheaper then pushwoosh too.

I currently use one called ‘sashido.io’ however ‘back4app’ works well too. [ SideBar - I used pushwoosh for a few years, and maybe its changed now but I found the interface very confusing and hard to work with, where the parse server was more intuitive]


#10

If you look at the error message you will see:

> Task :ForgeInspector:processVanillaReleaseManifest FAILED
/tmp/tmpqaZBT2/android/ForgeInspector/AndroidManifest.xml Error:
	uses-sdk:minSdkVersion 14 cannot be smaller than version 16 declared in library [com.google.firebase:firebase-messaging:18.0.0] /home/builder/.gradle/caches/transforms-1/files-1.1/firebase-messaging-18.0.0.aar/9595f2536e3bae8615b065c2e992c23d/AndroidManifest.xml as the library might be using APIs not available in 14
	Suggestion: use a compatible library with a minSdk of at most 14,
		or increase this project's minSdk version to at least 16,
		or use tools:overrideLibrary="com.google.firebase.messaging" to force usage (may lead to runtime failures)

What this means is that Google’s Firebase Messaging library only works on Android apps that have been configured to require an Android SDK version of 16 or higher.

Luckily we provide a field in your app’s src/config.json file that allows you to increase the minimum version of the Android SDK supported by your app:

core -> android -> minimum_version

If you raise it to 16 or higher this should resolve this error.