1

Пожалуйста, помогите мне, я конвертирую файл PSD в файл xml для Android с помощью exportkit, Затем появились ошибки Как удалить эти ошибки? И в чем причина ошибок?У меня ошибка в R.java?

[1]: http://i.stack.imgur.com/N3oDr.png 
    [2]: http://i.stack.imgur.com/rDyhn.png 
    [3]: http://i.stack.imgur.com/dZ0qc.png 

    <ImageView android:id="@+id/layer_2" 
         android:src="@drawable/layer_2" 
         android:contentDescription="@string/ek_img_content" 
         android:layout_marginStart="0dp" 
         android:layout_marginTop="219dp" 
         android:layout_width="550dp" 
         android:layout_height="398dp" /> 

        <TextView android:id="@+id/first_app" 
         android:fontFamily="Tahoma" 
         android:layout_gravity="center_vertical|end" 
         android:gravity="end" 
         android:textSize="34sp" 
         android:textColor="@color/first_app_color" 
         android:layout_marginStart="164dp" 
         android:layout_marginTop="86dp" 
         android:layout_width="148dp" 
         android:layout_height="52dp" 
         android:text="@string/first_app_string" 
         /> 

        <TextView android:id="@+id/good_luck" 
         android:fontFamily="Tahoma" 
         android:layout_gravity="center_vertical|end" 
         android:gravity="end" 
         android:textSize="34sp" 
         android:textColor="@color/first_app_color" 
         android:layout_marginStart="142dp" 
         android:layout_marginTop="684dp" 
         android:layout_width="171dp" 
         android:layout_height="52dp" 
         android:text="@string/good_luck_string" 
         /> 
       </RelativeLayout> 
      </ScrollView> 
    </HorizontalScrollView> 
+0

попробуйте перестроить или выполнить чистоту проекта – king

+0

убедитесь, что у вас нет номера в имени макета, как в вашем первом изображении R.layout.APP1 –

ответ

1
Try this: 
     .xml file name should be small letters only allowed 
    Change: App1.xml to app.xml 
0

Попробуйте Clean Project и перестроен проект.

Смежные вопросы