Launching lib\main.dart on sdk gphone x86 in debug mode...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\mycom1\AppData\Local\Pub\Cache\hosted\pub.dev\package_info_plus-4.0.2\android\build.gradle' line: 28
* What went wrong:
A problem occurred evaluating project ':package_info_plus'.
> No signature of method: build_39cvu39wudi60k4qhyc66csdm.android() is applicable for argument types: (build_39cvu39wudi60k4qhyc66csdm$_run_closure2) values: [build_39cvu39wudi60k4qhyc66csdm$_run_closure2@67198049]
* 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 25s
Exception: Gradle task assembleDebug failed with exit code 1
buildscript {
ext.kotlin_version = '1.8.0'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.8'
}
}
allprojects {
repositories {
google()
jcenter()
}
}
rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
}
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
댓글
댓글 쓰기