Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Joanh731 opened this issue Feb 7, 2023 · 0 comments
Open

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

Joanh731 opened this issue Feb 7, 2023 · 0 comments

Comments

@Joanh731
Copy link

Joanh731 commented Feb 7, 2023

(不知道该在哪里说就直接提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
@Joanh731 Joanh731 changed the title 项目编译不了的可以看看 Android studio编译项目后不会自动安装 Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant