Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jun 19, 2018 at 02:21 AM by NoDumbQuestion for the following reason:

Problem is not reproducible or outdated

avatar image
0
Question by NoDumbQuestion · Mar 14, 2018 at 03:26 AM · build-errorbuildpipeline

Jenkins: Gradle build failed ('signingConfig.storeFile' is not a file)

I was thinking that I have this error because building Unity from command exe (through jenkins) did not found the keystore to sign apk.
Like how I have to set up SDK, NDK path manually

   EditorPrefs.SetString("AndroidSdkRoot", "my windows sdk path");
   EditorPrefs.SetString("AndroidNdkRoot", "my windows ndk path");   

Anyone here, have the same issue or know how to use Jenkins to build Android. I would appreciate any type of help from you guys.
Here is full error from console:

 DisplayProgressbar: Building Gradle project
 Cancelling DisplayDialog: Build failure Gradle build failed.  See the Console for details.
 This should not be called in batch mode.
 CommandInvokationFailure: Gradle build failed. 
 C:\Program Files\Java\jdk1.8.0_162\bin\java.exe -classpath "E:\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-2.14.jar" org.gradle.launcher.GradleMain "assembleRelease"
 
 stderr[
 
 FAILURE: Build failed with an exception.
 
 * What went wrong:
 A problem was found with the configuration of task ':packageRelease'.
 > File 'E:\Git Project\Block Puzzle' specified for property 'signingConfig.storeFile' is not a file.
 
 * Try:
 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
 ]
 stdout[
 Incremental java compilation is an incubating feature.
 :preBuild UP-TO-DATE
 :preReleaseBuild UP-TO-DATE
 :checkReleaseManifest
 :prepareReleaseDependencies
 :compileReleaseAidl
 :compileReleaseRenderscript
 :generateReleaseBuildConfig
 :mergeReleaseShaders
 :compileReleaseShaders
 :generateReleaseAssets
 :mergeReleaseAssets
 :generateReleaseResValues
 :generateReleaseResources
 :mergeReleaseResources
 :processReleaseManifest
 :processReleaseResources
 :generateReleaseSources
 :incrementalReleaseJavaCompilationSafeguard
 :compileReleaseJavaWithJavac
 :compileReleaseNdk UP-TO-DATE
 :compileReleaseSources
 :lintVitalRelease
 :prePackageMarkerForRelease
 :transformClassesWithDexForRelease
 Merged dex #1 (6 defs/1.9KiB)
 Merged dex #2 (71 defs/76.2KiB)
 Result is 77 defs/87.3KiB. Took 0.1s
 :mergeReleaseJniLibFolders
 :transformNative_libsWithMergeJniLibsForRelease
 :processReleaseJavaRes UP-TO-DATE
 :transformResourcesWithMergeJavaResForRelease
 :validateReleaseSigning
 :packageRelease FAILED
 BUILD FAILED
 Total time: 34.941 secs
 ]
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

75 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why can't I build Web Player in Unity while I have no problems with building standalone versions? 2 Answers

always having to fix errors in xcode 0 Answers

IOS Cloud build failing without any Error Log 0 Answers

"Temp/StagingArea/Trampoline" Exception when building on IOS mac from Command line. 0 Answers

How can I stop the variable values reverting to its default values after being built? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges