Skip to content

Android studio编译项目后不会自动安装 #20

Open

Description

@Joanh731

(不知道该在哪里说就直接提issues吧)
如果发现项目编译成功但是as不会直接安装的话(我的是3.6.3),可以尝试换成gradle4.1,对应插件版本为3.0.0.

// build.gradle
buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

// gradle-wrapper
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

Activity

  1. changed the title [-]项目编译不了的可以看看[/-] [+]Android studio编译项目后不会自动安装[/+] on Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions