Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to attach source to Google Drive API or `Android Private Library` in Eclipse

I've installed the Drive API using the Add Google APIs... menu option.
When manually drilling into any one of the jars under Drive API, the source code opens ok.

But manually drilling into the same jar under Android Private Libraries results in a "Source not found".

project view

So when using open Declaration (F3) for example, I get the "Source not found" page.

The build system links all the jars using a library called Android Private Libraries.

I could not find a way to attach source or documentation to the Drive API.

attach source dialog

All the options to attach anything are disabled.

Any advice?

like image 952
Amir Uval Avatar asked May 23 '13 21:05

Amir Uval


1 Answers

Found a way...
I moved the "Drive API" library above "Android Private Libraries" in the "Order and Export" dialog of the Build Configuration window.
Hope it helps someone...

like image 188
Amir Uval Avatar answered Oct 26 '22 00:10

Amir Uval