Giter VIP home page Giter VIP logo

Comments (17)

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Hi @ran-haveshush-gett
Thank you for reaching out to Bitrise.
May I know what version of Java you are running with the gradle 4.0.0+ version.
Also, can you enable support access and send the build URL so we can take a look?

Thanks
Chaitanya

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise
First of all thanks for your quick response, that is much appreciated.

The Java version used is 1.8
compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 }

Sure, what is the process / steps to "enable support access"?
If this is the way to enable Bitrise Support User for the app? It is enabled.

Thanks
Ran

from steps-gradle-runner.

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Hi @ran-haveshush-gett
Thank you for the comment. I appreciate it as well.
Yes, that is the correct way to enable support access.
Now, can you please send the build URL so that I can take a look at the issue?

Thanks
Chaitanya

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise

The requested build URL.

Thanks
Ran

from steps-gradle-runner.

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Hi @ran-haveshush-gett
Thank you for being patient.
So this is only happening if you are upgrading the Gradle version to 4.0.0+?
When did this start happening?
What happens if you use the Gradle version Lower than 4.0.0?
The error in the build is also throwing a NullPointerException error.
Can you try to clean and rebuild your project on your IDE and also clear the cache on the browser and then build the app on Bitrise again?

Thanks
Chaitanya

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise

Q: So this is only happening if you are upgrading the Gradle version to 4.0.0+?
A: Yes, not Gradle but Android gradle plugin to version to 4.0.0+.

Q: When did this start happening?
A: When we tried to upgrade Gradle Android plugin version to 4.0.0+. We have reverted back to version 3.6.3, in order for Bitrise builds to finish successfully.

Q: What happens if you use the Gradle version Lower than 4.0.0?
A: The Gradle version isn't the problem. Bitrise build finishes successfully with Gradle version 6.1.1,
and Android Gradle plugin version < 4.0.0.

Q: The error in the build is also throwing a NullPointerException error.
A: This NPE only happens when Android Gradle plugin version is upgraded to 4.0.0+, only on Bitrise builds, but not on local builds.

Q: Can you try to clean and rebuild your project on your IDE and also clear the cache on the browser and then build the app on Bitrise again?
A: Tried it already. But I will try it again and report back.

Reporting back!

First build setup:

Second build setup:

BTW, running gradle wrapper (./gradlew) locally works just fine with Android Gradle plugin version 4.0.1 and Gradle version 6.1.1.

Thanks for the help,
Ran

from steps-gradle-runner.

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Thank you for the update @ran-haveshush-gett
Thank you for being patient.
I am going to report this to our engineering team for the fix and I will report back with the update.

Thanks
Chaitanya

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Thanks @chaitanyatanna-bitrise!

Waiting for an update from the engineering team :)

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise,

Is there any update on the matter?

from steps-gradle-runner.

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Hi @ran-haveshush-gett
I don't have an update currently.
I will have an update soon.
I will let you know

Thanks
Chaitanya

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise

Any update on the issue?

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise,

Will it every be solved?

from steps-gradle-runner.

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Hi @ran-haveshush-gett
Sorry for the late reply on the issue.
I just checked the ticket and the engineers are still working on your issue.
I will let you know as soon as I have an update from them.

Thanks
Chaitanya

from steps-gradle-runner.

ran-haveshush-gett avatar ran-haveshush-gett commented on June 3, 2024

Hi @chaitanyatanna-bitrise

Any update on the issue?

from steps-gradle-runner.

chaitanyatanna-bitrise avatar chaitanyatanna-bitrise commented on June 3, 2024

Hi @ran-haveshush-gett
Unfortunately, I still don't have an update on this issue.
May I know on which stacks you are running your builds?

Thanks
Chaitanya

from steps-gradle-runner.

godrei avatar godrei commented on June 3, 2024

Hi @ran-haveshush-gett ,
sorry for the late response!

I started to investigate this issue, but can not reproduce it for now.

1, Could you please send meg a build URL, which does not use cache (and the Android Gradle Plugin is updated)?

there a few options to run a build without cache:

  • you can skip running the cache pull step, by setting the step's run_if property to false (WORKFLOW EDITOR/bitrise.yml).
  • you can remove the branch based cache archives on the project's settings page (if you upgrade AGP in a separate branch, and that branch has no cache archive yet than you need to clear the default branch's cache archive)

3, If possible could you please try using the latest stable Android Gradle Plugin (with major version 4, 4.0.2 is the latest at the moment and it would great if you could test the latest (4.1.1 at the moment) too)

4, If possible could you please test if it is working on macOS stacks (WORKFLOW EDITOR/Stack)?

from steps-gradle-runner.

godrei avatar godrei commented on June 3, 2024

Closing as we did not receive a reply - @ran-haveshush-gett please let us know if we can help with anything by opening a new issue.

from steps-gradle-runner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.