promeG / TinyPinyin

适用于Java和Android的快速、低内存占用的汉字转拼音库。

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

zcbin88 opened this issue · comments

能不能把最小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

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

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

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

哦。。。