Git Product home page Git Product logo

Comments (2)

InTheClodus avatar InTheClodus commented on August 27, 2024 1

我今天打包也遇到了这个问题我是这么解决的:

打开 External Libraries-->Flutter Plugins-->dim-0.2.8-->android-->gradle.wrapper-->打开 gradle-wrapper.properties文件,将 distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip修改为 distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
然后在打开 ..-->android-->build.gradle文件将

compileSdkVersion 27
    defaultConfig {
        minSdkVersion 16
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

修改为

compileSdkVersion 30
 defaultConfig {
        minSdkVersion 19
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }

我通过这个方式修改源文件就可以编译正常,如果你还在用,希望可以帮到你

from dim.

fangmd avatar fangmd commented on August 27, 2024

网络问题吧

from dim.

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.