Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add source of 'Android Private Libraries' to ADT eclipse?

I try to see source of source android-support-v4.jar and get: "The jar of this class file belongs to container and 'Android Private Libraries' " Android Private Libraries

Where to obtain and attach 'Android Private Libraries' source?

like image 543
Six80 Avatar asked Aug 25 '13 22:08

Six80


2 Answers

You also need to make sure that the "Android Private Libraries" is ranked lower in the "Order and Export" tab of your project's "Java Build Path" preferences.

like image 72
Chris Fong Avatar answered Oct 19 '22 04:10

Chris Fong


There are many question on that. Basically the android-support-v4.jar need to be in Referenced Libraries by right click, Build Path.., Add to Path. Then in Referenced Libraries, right click properties on android-support-v4 and set the sources.

Taken from How do I attach the Android Support Library source in Eclipse? and How to attach source to Google Drive API or `Android Private Library` in Eclipse . Please go through the answers. They'll help you.

like image 12
Shobhit Puri Avatar answered Oct 19 '22 05:10

Shobhit Puri