인프런 커뮤니티 질문&답변

oea님의 프로필 이미지

작성한 질문수

Flutter 초입문 왕초보편

006. Android 에뮬레이터 작성

에뮬레이터 실행 안됨 오류

24.07.13 21:54 작성

·

89

0

Launching lib\main.dart on sdk gphone64 x86 64 in debug mode...Running Gradle task 'assembleDebug'...FAILURE: Build failed with an exception.* What went wrong:A problem was found with the configuration of task ':app:processDebugResources' (type 'LinkApplicationAndroidResourcesTask'). - In plugin 'com.android.internal.version-check' type 'com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask' property 'androidJarInput.androidJar' specifies file 'C:\Users\82104\AppData\Local\Android\Sdk\platforms\android-34\android.jar' which doesn't exist. Reason: An input file was expected to be present but it doesn't exist. Possible solutions: 1. Make sure the file exists before the task is called. 2. Make sure that the task which produces the file is declared as an input. Please refer to https://docs.gradle.org/7.6.3/userguide/validation_problems.html#input_file_does_not_exist for more details about this problem.* 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.orgBUILD FAILED in 1m 38sError: Gradle task assembleDebug failed with exit code 1이런 오류가 떠요 에뮬레이터 실행하면 버튼 누르는 앱이 실행되어야 한다고 하는데 이렇게 뜨고 안돼요 어떻게 해야 하나요

답변 1

0

오준석님의 프로필 이미지
오준석
지식공유자

2024. 07. 14. 10:43

C:\Users\82104\AppData\Local\Android\Sdk\platforms\android-34\android.jar' which doesn't exist.

Android SDK 에서 위 파일을 찾을 수 없다고 하네요. SDK 설치에 문제가 있어 보입니다.

SDK Manager 에서 API Level 34 가 잘 설치되어 있는지 확인해 보시면 좋을 것 같습니다.

image

oea님의 프로필 이미지

작성한 질문수

질문하기