[英]Using support library version lower than compileSdkVersion
I work with android studio and in build.gradle file some dependencies are underlined in red. 我使用android studio,在build.gradle文件中,某些依赖项用红色下划线标出。 The message is : 消息是:
This support library should not use a different version (25) than the compileSdkVersion (26) 该支持库不应使用与compileSdkVersion(26)不同的版本(25)。
I know how to resolve this (just use the same version) but my question is : what will happen if I leave it that way ? 我知道如何解决这个问题(只是使用相同的版本),但是我的问题是:如果我这样解决,会发生什么? Will I have problems knowing that my config is : 我是否知道我的配置是:
Thank you for your answer and have a nice day :) 谢谢您的回答,祝您有美好的一天:)
Your app may run fine. 您的应用程序可能运行良好。 Or it may crash. 否则可能会崩溃。 In short, mismatching support library and compile versions may/will lead to undefined behavior. 简而言之,不匹配的支持库和编译版本可能/将导致不确定的行为。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.