2016-03-21 16 views
3

Uygulamayı çalıştırıyorum ve her seferinde bu sorunu çözdüm. İlk başta bu cus düzeltmek için çalışıyorum, diğer arızaları cus başarısız diyor ve benDosya ayrıştırılamadı highlighted_text_material.xml

API 21 Android Versiyon değiştirdik: 21

işlemek Android API ve bu hata var .

Failed to parse file 
C:..\AppData\Local\Android\sdk\platforms\android-23\data\res\color\highlighted_text_material.xml 

highlighted_text_material.xml kişinin de aynı sorunu vardı Has

<?xml version="1.0" encoding="utf-8"?> 
<!-- Copyright (C) 2015 The Android Open Source Project 

    Licensed under the Apache License, Version 2.0 (the "License"); 
    you may not use this file except in compliance with the License. 
    You may obtain a copy of the License at 

      http://www.apache.org/licenses/LICENSE-2.0 

    Unless required by applicable law or agreed to in writing, software 
    distributed under the License is distributed on an "AS IS" BASIS, 
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
    See the License for the specific language governing permissions and 
    limitations under the License. 
--> 

<selector xmlns:android="http://schemas.android.com/apk/res/android"> 
    <item android:alpha="0.4" 
      android:color="?attr/colorAccent" /> 
</selector> 

aşağıda gösterilmiştir?

+0

xml dosyasıyla düzenledim ... –

cevap

2

C:..\AppData\Local\Android\sdk\platforms\android-23\data\res\color\highlighted_text_material.xml yolunu görüyorsanız, android-23 kullanıyorsunuz, bu nedenle muhtemelen api'yi 23 olarak değiştirmeniz ve derlemeye çalışmanız gerekir.

+0

Doğru, Anladım ... Teşekkürler dostum. Bazılarını tamir ettim ama sadece bu saçma sapan hata ile karıştı ... Yardım için teşekkürler –

+0

Elbette yapacak;) –

İlgili konular