9 글 보임 - 1 에서 9 까지 (총 9 중에서)
-
글쓴이글
-
2024년 11월 14일 11:13 #132325
진하경참가자유저에게 앱 권한 요청하기 3:30초 가량에 버전을 맞추라고 되어있는데, compileSdkVersion 라는 항목은 없고 다른 항목만 3개가 있는데 어떻게 처리하나요? 우선 문자가 있으니 내버려두었습니다. 재 실행 결과 이와 같은 오류 메세지가 떴습니다.
FAILURE: Build failed with an exception.
* What went wrong: A problem occurred configuring project ':permission_handler'. > Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl. > Namespace not specified. Specify a namespace in the module's build file. See https://d.android.com/r/tools/upgrade-assistant/set-namespace for information about setting the namespace.
If you've specified the package attribute in the source AndroidManifest.xml, you can use the AGP Upgrade Assistant to migrate to the namespace value in the build file. Refer to https://d.android.com/r/tools/upgrade-assistant/agp-upgrade-assistant for general information about using the AGP Upgrade Assistant.
* 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 Error: Gradle task assembleDebug failed with exit code 1
-
이 게시글은
진하경에 의해 8 월, 3 주 전에 수정됐습니다.
2024년 11월 14일 14:47 #132332
codingapple키 마스터https://stackoverflow.com/a/77625024 이거 따라서 android/build.gradle 파일에 추가해봅시다
2024년 11월 14일 18:45 #132349
진하경참가자추가 후 오류코드입니다.
FAILURE: Build failed with an exception.
* Where: Build file 'C:\Users\USER\Fluuter\android\build.gradle' line: 14
* What went wrong: A problem occurred evaluating root project 'android'. > Cannot run Project.afterEvaluate(Closure) when the project is already evaluated.
* 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 1s Error: Gradle task assembleDebug failed with exit code 1
2024년 11월 15일 09:54 #132366
진하경참가자최신버전으로 실행시 나는 오류입니다.
FAILURE: Build failed with an exception.
* Where: Build file 'C:\Users\USER\Fluuter\android\build.gradle' line: 15
* What went wrong: Could not compile build file 'C:\Users\USER\Fluuter\android\build.gradle'. > startup failed: build file 'C:\Users\USER\Fluuter\android\build.gradle': 15: Unexpected input: '{\r\n project.evaluationDependsOn(":app");\r\n }\r\n}' @ line 15, column 1. } ^
1 error
* 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 1s Error: Gradle task assembleDebug failed with exit code 1 >이후 build.gradle파일 기본 오타 수정후 오류
warning: [options] source value 8 is obsolete and will be removed in a future release warning: [options] target value 8 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
-
이 게시글은
-
글쓴이글
9 글 보임 - 1 에서 9 까지 (총 9 중에서)
- 답변은 로그인 후 가능합니다.