Giter VIP home page Giter VIP logo

Comments (4)

Amud avatar Amud commented on July 18, 2024 1

Hi @vmadalin : As mentioned by you, this seems a bug with built tool 3.5.0. But downgrading it to 3.4.2 seems not an option for someone looking for android dynamic features support.
Instead of that, disabling lint check for Release Builds seems to be an easy option as follow :
lintOptions { abortOnError false checkReleaseBuilds false }

from app-bundle-samples.

vmadalin avatar vmadalin commented on July 18, 2024

After research this issue is related with the version of the Android Build Tools and more concretely with all 3.5.0, for fix it we need to downgrade to the 3.4.2:

classpath "com.android.tools.build:gradle:3.4.2"

from app-bundle-samples.

arifaizin avatar arifaizin commented on July 18, 2024

fixed with update build tool to 3.6.2

from app-bundle-samples.

shivani805 avatar shivani805 commented on July 18, 2024

Description

Execute the following command ./gradlew lint for analysing code cause the following error Starting a Gradle Daemon (subsequent builds will be faster)

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':features:assets:lint'.
> kotlin.collections.EmptyIterator cannot be cast to kotlin.collections.MutableIterator

* Try:
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.

* Get more help at https://help.gradle.org

BUILD FAILED in 9s

Steps to reproduce

  1. Open terminal with project root path
  2. Execute the following command ./gradlew lint (on mac or linux) gradlew lint (on windows)

getting an error "No such file or directory" when i run in project root path on mac

from app-bundle-samples.

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.