gpt4 book ai didi

android - zipAlignDebug输入文件不存在错误

转载 作者:行者123 更新时间:2023-12-03 18:12:43 24 4
gpt4 key购买 nike

自从我更新到gradle alpha 6以来,我一直收到此错误,无法构建:

Error:A problem was found with the configuration of task ':app:zipalignDebug'.
> File 'C:\User\...\app\build\outputs\apk\app-debug-unaligned.apk' specified for property 'inputFile' does not exist.

我已经尝试了所有建议,但没有任何解决办法。有小费吗?它正在alpha 2上运行,但现在却出现一个错误,说我的版本太旧了,需要升级到较新的版本。谢谢!
// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0-alpha6'

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

allprojects {
repositories {
jcenter()
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}


apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "com.nwoodthorpe.waterloohacks"
minSdkVersion 17
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
}

最佳答案

尝试在每次运行“应用”之前运行构建

关于android - zipAlignDebug输入文件不存在错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34965726/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com