Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能不能把最小sdk支持的版本修改为15 #26

Open
zcbin88 opened this issue Sep 12, 2017 · 3 comments
Open

能不能把最小sdk支持的版本修改为15 #26

zcbin88 opened this issue Sep 12, 2017 · 3 comments

Comments

@zcbin88
Copy link

zcbin88 commented Sep 12, 2017

能不能把最小sdk支持的版本修改为15啊,我项目最小支持到15,而这个库最小支持到16,所以集成的时候会出异常。
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.github.promeg:tinypinyin-lexicons-android-cncity:2.0.3] D:\JAVA\Android\android-sdk.android\build-cache\fbe05c90d838043a54f6908ddb63c8243e430c60\output\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.github.promeg.tinypinyin.lexicons.android.cncity" to force usage
按照上面的异常提示在AndroidManifest.xml文件中增加

还会接着报下面的错
uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [com.github.promeg:tinypinyin-android-asset-lexicons:2.0.3] D:\JAVA\Android\android-sdk.android\build-cache\1a7036887cb1482bd19c77ce20231d1febdd84e8\output\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.github.promeg.tinypinyin.android.asset.lexicons" to force usage

一个是com.github.promeg.tinypinyin.lexicons.android.cncity
一个是com.github.promeg.tinypinyin.android.asset.lexicons
很抓狂,不知道要怎么处理,所以大神你能不能修改下支持到15

@TYUpya
Copy link

TYUpya commented Dec 19, 2017

不是已经告诉你让你添加以下语句到AndroidManifest.xml中吗?
use tools:overrideLibrary="com.github.promeg.tinypinyin.lexicons.android.cncity"
这样添加后就可以解决问题了。我已经遇到过了。

@MrNANMU
Copy link

MrNANMU commented Feb 18, 2019

com.github.promeg.tinypinyin.lexicons.android.cncity

加了也会报错。改成16就好了。

@TYUpya
Copy link

TYUpya commented Feb 19, 2019

哦。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants