Giter Club home page Giter Club logo

Comments (8)

rusmonster avatar rusmonster commented on July 17, 2024 1

@rooparsh also gradle probably takes less memory for sdk version WITHOUT symbols. So better to use it for build on CI in case if you don't upload symbols from CI.

from twilio-chat-demo-android.

oianmol avatar oianmol commented on July 17, 2024

Same issue here @rooparsh , Let me know if you are able to fix this.

from twilio-chat-demo-android.

prudhvir3ddy avatar prudhvir3ddy commented on July 17, 2024

@rooparsh facing the same. tried a lot. @berkus please help.

from twilio-chat-demo-android.

rusmonster avatar rusmonster commented on July 17, 2024

Hi!
Please try add the following line in your project's gradle.properties:

org.gradle.jvmargs=-XX:-UseGCOverheadLimit -Xmx1536m

Let me know if it helps. @rooparsh @Anmol92verma @prudhvir3ddy

from twilio-chat-demo-android.

rooparsh avatar rooparsh commented on July 17, 2024

@rusmonster Still failing. Though this time error is more verbose.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalDevRelease'.
> Could not resolve all artifacts for configuration ':app:qaDebugCompileClasspath'.
   > Failed to transform chat-android-with-symbols-6.0.0.aar (com.twilio:chat-android-with-symbols:6.0.0) to match attributes {artifactType=android-manifest, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-api}.
      > Execution failed for JetifyTransform: /home/circleci/.gradle/caches/modules-2/files-2.1/com.twilio/chat-android-with-symbols/6.0.0/709638113c08f38288496219d348f65966aa87ab/chat-android-with-symbols-6.0.0.aar.
         > Java heap space

from twilio-chat-demo-android.

rusmonster avatar rusmonster commented on July 17, 2024

@rooparsh
what resource_class do you use in circleci executor?

  • try to set resource_class: xlarge
  • try to give it more memory in gradle.properties. -Xmx4096m for instance

btw what's versions of gradle and android gradle plugin do you use?

from twilio-chat-demo-android.

rooparsh avatar rooparsh commented on July 17, 2024

@rusmonster even with 4096m its failing.

Gradle Plugin : 4.0.0
Gradle : 6.1.1

we are currently using this sdk
com.twilio:chat-android-with-symbols:${Versions.LibVersion.TWILIO}

from twilio-chat-demo-android.

rooparsh avatar rooparsh commented on July 17, 2024

@rusmonster Thanks for the suggestion. This dependency worked.

com.twilio:chat-android:6.0.0

from twilio-chat-demo-android.

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.