The JAR file C: \ sdk \ platform \ android-18 \ android.jar does not have a source attachment. You can attach the source by clicking the source link below

I get an error message:

The JAR file C:\sdk\platforms\android-18\android.jar has no source attachment. You can attach the source by clicking attach source below.

However, I clicked the source connect button and added C: \ sdk \ platform \ android-17 \ android.jar and then it just gives me:

Source not found. The source attachment does not contain the source for the file Activity.class. You can change the source attachment by clicking Change Attached Source below.
+4
source share
2 answers

First, make sure that you download the source files for the version of Android that you use in the project through the Android SDK Manager: http://developer.android.com/sdk/installing/adding-packages.html

, " Java" , "" , " Android XXX", , "android.jar", " :".

" ", " " android-sdk/sources/android-xx, "Android X.X.X", . "", , !

+15

jarfile, (.java) . ppeterka, "android-src.jar". jar , .

, Android SDK, Android SDK Manager : http://developer.android.com/sdk/installing/adding-packages.html

, (-) jar/zip .

0

All Articles