問題描述
在我的項目中出現錯誤:
In my project I got an error:
檢索項目的父項時出錯:未找到與給定名稱'android:TextAppearance.Material.Widget.Button.Inverse'.
Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
然后我嘗試使用這個來修復它:
Then I tried to fix it use this:
compileSdkVersion 23
然后我得到了錯誤:
無法解析符號 NameValuePair android
cannot resolve symbol NameValuePair android
如何解決這個錯誤?
推薦答案
NameValuePair
是 org.apache
包的一部分,Android 22
已棄用code> 并使用 Android M
刪除,這是針對您正在編譯的版本.有趣的是 NameValuePair 的文檔都無法訪問
NameValuePair
is part the package org.apache
which was deprecated with Android 22
and removed with Android M
, which is the version against you are compiling. What is interesting is that neither the documentation of NameValuePair is reachable
這篇關于無法解析符號 NameValuePair的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!