简体   繁体   中英

Missing java build path option in eclipse

I'm developing a mobile app using phonegap. When i tried to add third party java libs to android platform by right clicking on project in eclipse , there's no 'java build path' option for adding the java libs . I believe Eclipse do not recognize phonegap project as a java project , so the option is not visible. I wonder why most of the online tutorial show such option available in phonegap + eclipse project ? Did i miss something ? or is there any alternative solution?

Phonegap should have this option, like any other project in Eclipse

If its grayed out then there may be an error within your project.

这是到达构建路径的方法

Can you provide any more detailed errors? Have you tried changing the build path target? Maybe double check to make sure its referring to your JRE as well?

I just realised that those online tutorial doing it in eclipse + android environment and I'm doing it in Eclipse + multi-platform JavaScript environment. I thought eclipse is smart enough to detect the android code within the phonegap project .

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