강의

멘토링

커뮤니티

Cộng đồng Hỏi & Đáp của Inflearn

Hình ảnh hồ sơ của oea778968
oea778968

câu hỏi đã được viết

Flutter nhập môn dành cho người mới bắt đầu

006. Tạo Emulator Android

에뮬레이터 실행 안됨 오류

Viết

·

589

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이런 오류가 떠요 에뮬레이터 실행하면 버튼 누르는 앱이 실행되어야 한다고 하는데 이렇게 뜨고 안돼요 어떻게 해야 하나요
flutteriosandroiddart

Câu trả lời 1

0

survivalcoding님의 프로필 이미지
survivalcoding
Người chia sẻ kiến thức

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

Hình ảnh hồ sơ của oea778968
oea778968

câu hỏi đã được viết

Đặt câu hỏi