不能解析符号的NameValuePair机器人机器人、符号、NameValuePair

由网友(有些难以启齿的柔弱-)分享简介:对不起,我的英语水平。在我的项目,我有错误Sorry for my english. In my project i have error 错误检索父项:未发现的资源匹配给定的名称机器人:TextAppearance.Material.Widget.Button.InverseError retrieving pa...

对不起,我的英语水平。在我的项目,我有错误

Sorry for my english. In my project i have error

错误检索父项:未发现的资源匹配   给定的名称机器人: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 fix this like this:

compileSdkVersion 23

但我有错误:

无法解析符号的NameValuePair机器人

cannot resolve symbol NameValuePair android

如何解决这个问题?

推荐答案

的NameValuePair 是部分包 org.apache 这是pcated与 Android的22 并删除与 Android的中号,这是版本对你是去$ P $编译。有趣的是,的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