Android build is failing on visualizer 8.4 version with below exception

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

  • [exec-shell]
  • [exec-shell] ------------------------------------------------------------
  • [exec-shell] Gradle 4.6
  • [exec-shell] ------------------------------------------------------------
  • [exec-shell]
  • [exec-shell] Build time: 2018-02-28 13:36:36 UTC
  • [exec-shell] Revision: 8fa6ce7945b640e6168488e4417f9bb96e4ab46c
  • [exec-shell]
  • [exec-shell] Groovy: 2.4.12
  • [exec-shell] Ant: Apache Ant(TM) version 1.9.9 compiled on February 2 2017
  • [exec-shell] JVM: 1.8.0_151 (Oracle Corporation 25.151-b12)
  • [exec-shell] OS: Mac OS X 10.14 x86_64
  • [exec-shell]
  • [echo] /build/luaandroid/dist/projectname/gradlew --stop
  • [exec-shell] Stopping Daemon(s)
  • [exec-shell] 1 Daemon stopped
  • [echo] isIncrementalBuild = false invoking clean build
  • [exec-shell] Starting a Gradle Daemon, 6 stopped Daemons could not be reused, use --status for details
  • [exec-shell]
  • [exec-shell] FAILURE: Build failed with an exception.
  • [exec-shell]
  • [exec-shell] - Where:
  • [exec-shell] Settings file \'//build/luaandroid/dist/projectname/settings.gradle\' line: 12
  • [exec-shell]
  • [exec-shell] - What went wrong:
  • [exec-shell] A problem occurred evaluating settings \'projectname\'.
  • [exec-shell] > Could not find method jackOptions() for arguments [settings_a4wrwrc81jg8u29vft7edzxdx$_run_closure1@31504009] on settings \'projectname\' of type org.gradle.initialization.DefaultSettings.
  • [exec-shell]
  • [exec-shell] - Try:
  • [exec-shell] 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.
  • [exec-shell]
  • [exec-shell] - Get more help at https://help.gradle.org
  • [exec-shell]
  • [exec-shell] BUILD FAILED in 2s
  • The following error occurred while executing this line:/temp/ProjectName/build/luaandroid/build.xml:3169: exec-shell returned: 1
  • Ant build error=The following error occurred while executing this line:/temp/ProjectName/build/luaandroid/build.xml:3169: exec-shell returned: 1
  • Console: Switched to tab "Build"
  • The following error occurred while executing this line:/temp/ProjectName/build/luaandroid/build.xml:3169: exec-shell returned: 1
  • Package Generation failed for platform Android.
  • Build Generation Status
  • Android: Failed
  • Application [projectname] is pointing to [projectname-m100003965001] environment but does not involve Service integration.
  • Total time taken: 23096 ms
  • <----------- Build Generation job is completed--------------->
  • Console: Switched to tab "Console"

Hi,

Please refer to the below link, this might be helpful for you.

https://stackoverflow.com/questions/49941319/could-not-find-method-jackoptions-for-arguments/50001321

Thank you,

Looking at the last few lines in the error message, it seems like it is related Visualizer, not be connected to Fabric or the Fabric app not being found.. Is Fabric app connected to your Visualizer project or are you initializing fabric manually?