2017-01-20 45 views
3

我試圖編譯iven-feed-reader project,但在Android清單文件我不斷收到此錯誤:沒有得到資源標識符發現錯誤

Error:(16) No resource identifier found for attribute 'roundIcon' in package 'android' 

的Android的manifest.xml:

<application 
    android:allowBackup="false" 
    android:icon="@mipmap/ic_launcher" 
    android:label="@string/app_name" 
    android:roundIcon="@mipmap/ic_launcher_round" 
    android:theme="@style/Theme_iven" > 
    <uses-library 
     android:name="com.sec.android.app.multiwindow" 
     android:required="false" /> 

通常我會嘗試重建/清理項目來解決這個錯誤,但這次不工作。

下面是我使用

compile 'com.android.support:appcompat-v7:24.0.0' 
compile 'org.jsoup:jsoup:1.10.2' 
compile 'com.android.support:support-v4:24.0.0' 
compile 'com.github.bumptech.glide:glide:3.7.0' 

如何修復這個錯誤的依賴?

+0

*我想編譯鏈接*不,你沒有...你已經改變它...撤消它會編譯 – Selvin

+0

我確實改變了一點,因爲代碼不適用於android studio,所以我只是使用導入eclipse項目嚮導,並更改了android版本,這些都是我所做的所有更改。 – sandy

回答

2

您是否在清單標籤中添加了以下行? xmlns:android =「http://schemas.android.com/apk/res/android」

+0

是的,它在那裏。 <?xml version =「1.0」encoding =「utf-8」?> sandy

+0

我已將您的代碼添加到我的項目中但它對我來說工作正常。 –

+0

感謝您的檢查。我將重新安裝android工作室作爲我的最後手段。 – sandy

相關問題