๐Ÿคข์•ˆ๋“œ์˜ค๋ฅ˜

๋ฐ•์Šนํ˜„ยท2022๋…„ 6์›” 16์ผ
0

Could not identify launch activity: Default Activity not found ์˜ค๋ฅ˜

1-1. DefaultActivity ์ง€์ •
Action ๊ฒ€์ƒ‰ >shift+shift>Edit Configuration

1-2. activity ์„ค์ •

2-1. IDE Cached ๋น„์šฐ๊ธฐ
file < Invalidate Caches/Restart > Invalidate and REstart


3-1. manifest์— Activity๊ฐ€ ์ค‘๋ณต์ผ์ˆ˜๋„..?

.lock ์˜ค๋ฅ˜

1. ๊ฒฝ๋กœ ์ฐพ์•„๊ฐ€์„œ .lock ํŒŒ์ผ ์‚ญ์ œ

the activity must be exported or contain an intent-filter ์˜ค๋ฅ˜


๊ฐ€์ง€๊ณ  ์žˆ๋Š” java ํŒŒ์ผ ์ค‘ MainActivity๋ผ๋Š” ์•กํ‹ฐ๋น„ํ‹ฐ๊ฐ€
๋ชจ๋“ˆํ™” ๋˜์–ด ํ•ด๋‹น ์•กํ‹ฐ๋น„ํ‹ฐ๋กœ ๋นŒ๋“œ๋ฅผ ์‹œ๋„ํ•ด ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ


์ด ๋ชจ๋“  ๊ฒƒ์€ no activity๋กœ ์‹œ์ž‘ํ•ด์„œ ์ผ์–ด๋‚œ ์ผ์ด์—ˆ๋‹ค..
๋ฐ˜๋“œ์‹œ empty activity๋กœ ํ•  ๊ฒƒ..

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
        ์ถ”๊ฐ€

2๊ฐœ์˜ ๋Œ“๊ธ€

comment-user-thumbnail
2022๋…„ 7์›” 20์ผ

์šฐ์™•

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ
comment-user-thumbnail
2022๋…„ 7์›” 20์ผ

์šฐ์™•

๋‹ต๊ธ€ ๋‹ฌ๊ธฐ