简体   繁体   中英

Why isn't java.text.Normalizer available for my Android app?

I'm developing an Android app and in Eclipse, java.text.Normalizer can't be imported. It's like Eclipse can't find it. I saw another SO question asking about Normalizer alternatives to Android apps that are < version 2.3. Is the class limited only to certain Android SDK versions?

是的-他们只在2.3中添加了它,请参见Normalizer上开发人员文档页面的右上角,上面写着“ Since:API Level 9”。

它在API 9上可用。确保在eclispe中,您的应用程序属性中使用的API设置正确。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM