«   2026/09   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
«   2026/09   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Archives
Today
Total
관리 메뉴

DBILITY

안드로이드 could not find Fragment constructor 본문

android/kotlin

안드로이드 could not find Fragment constructor

DBILITY 2024. 3. 25. 16:42
반응형

화면을 회전시켰더니 오류가 나왔다.

Unable to instantiate fragment .......could not find Fragment constructor

아무 생각없이 Fragment 생성자에 argument를 하나만 넣으면 그렇다는군 빈 생성자가 있어야 하니.

방법이야 있다지만 지금은 그냥 안쓰겠다^^

 

반응형
Comments