简体   繁体   English

在Eclipse中导入libphonenumber(Android)

[英]Import libphonenumber in Eclipse (Android)

I'm using the Eclipse SDK to develope some Android projects. 我正在使用Eclipse SDK来开发一些Android项目。 Now I've the following problem: 现在,我遇到了以下问题:

I want to use Google's libphonenumer library. 我想使用Google的libphonenumer库。 I've just downloaded it here: https://github.com/googlei18n/libphonenumber 我刚刚在这里下载了它: https : //github.com/googlei18n/libphonenumber

I've copied the whole java folder on my disk and now I want to import it into my Eclipse workspace. 我已经将整个java文件夹复制到了磁盘上,现在我想将其导入到Eclipse工作区中。 Problem is: Eclipse can't find any project there, so import doesn't work. 问题是:Eclipse在此处找不到任何项目,因此导入无法正常工作。 Also the option "Import from existing code" isn't working. 另外,“从现有代码导入”选项不起作用。

How can I import libphonenumber library code into my Eclipse workspace? 如何将libphonenumber库代码导入到我的Eclipse工作区中?

转到“ tools / java / java-build / target”并导入包含的存档对我来说很有效。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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