17

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?

Six80
  • 677
  • 1
  • 9
  • 16

2 Answers2

13

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.

Chris Fong
  • 141
  • 1
  • 2
12

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.

Community
  • 1
  • 1
Shobhit Puri
  • 24,785
  • 8
  • 89
  • 115
  • This did not work for me. I still get that error message. Do I need to restart Eclipse? – Julia Jan 20 '14 at 18:24