root layout

패스트캠퍼스

  1. 강의 질문
  2. 개발/데이터

실행 시 오류

2026.01.02 20:03 작성

35개 프로젝트로 배우는 Android 앱 개발 feat. Jetpack Compose 초격차 패키지 Online.

Part0. 안드로이드 앱 개발 시작에 앞서 - Ch 01.Kotlin 기초 - 02. 함수

부분에서 Example2.kt 생성후 fun main 생성 후 실행 하는데 하기 와 같은 오류가 나옵니다. 어떤부분이 잘못 되었고 어떻게 수정을 해야지 진행 할 수 있는지 설명 부탁드립니다.




Initialization script 'C:\Users\kisto\AppData\Local\Temp\fastcampus_part0_kotlin_Example2Kt_main__1.gradle' line: 27

A problem occurred configuring project ':app'.

> Could not create task ':app:fastcampus.part0.kotlin.Example2Kt.main()'.

> SourceSet with name 'main' not found.

* 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.

Explain with AI


답변 

연관 질문

커뮤니티 질문보기