splash Activity 테스트하는대 xml 에서 에러나가 나요
에러구문은 error: Error: No resource found that matches the given name (at 'src' with value '@drawable/splash_kacl') 이구요
이하 소스코드입니다.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/splash_kcal" />
</LinearLayout>
res에 drawable폴더를 만들고 splash_kcal 이미지를 추가했음....ㅠ
android:src="@drawable/splash_kcal" 이줄에서 에러가 나요 ㅠ
에러구문은 error: Error: No resource found that matches the given name (at 'src' with value '@drawable/splash_kacl') 이구요
이하 소스코드입니다.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ImageView
android:id="@+id/imageView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:scaleType="fitXY"
android:src="@drawable/splash_kcal" />
</LinearLayout>
res에 drawable폴더를 만들고 splash_kcal 이미지를 추가했음....ㅠ
android:src="@drawable/splash_kcal" 이줄에서 에러가 나요 ㅠ
형들 부탁해요 ㅠㅠ 검색하고 뭐해도 못찾겠음.. 두시간째 삽질중 .....
대문자 쓰지 말아라 [핡]
대문자 안썼어요 ㅠㅠ 처음에 대문자라서 수정했는대두 오류뜸 ㅠㅠㅠ
뭐라고 뜨는데 [핡]
@drawable/splash_kcal 에 빨간줄에 error: Error: No resource found that matches the given name (at \'src\' with value \'@drawable/splash_kcal\'). 이렇게 떠요 형님
야 그림파일 이름 매칭보고 id 정의 됬는지 봐봐 [핡]
Src를 background로 바뀌보세요