Android build with TeamCity fails with JVM crash

I'm currently trying to configure one of my Android projects in TeamCity. I am succeeding if I run the build in command line from the TeamCity checkout path.

But from 'run' within TeamCity, it is not getting succeeded since some JVM crash has occurred somewhere around the last step.

Please check the attached screenshot. Build log from TeamCity server

I'm using a 64-bit windows 7 machine.

Is there anything related to Java version incompatibility causing the issue?

0
1 comment

There shouldn't be a java version issue, checking the error report in the path mentioned might provide some extra info on what was going on, but access violations usually happen while trying to get access to a file or memory that is opened by a different process. Given that it doesn't happen when you run it on the same place, the difference must be between the environments of the user you run it with and the user that runs the process.

We have some step by step troubleshooting for when a build fails in teamcity but works locally here: https://confluence.jetbrains.com/display/TCD10/Common+Problems#CommonProblems-BuildworkslocallybutfailsormisbehavesinTeamCity

Please check the last few steps there (as the first are replicating as you already did), and as mentioned in the article, if it still doesn't work, report it on our tracker.

0

Please sign in to leave a comment.