aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
diff options
context:
space:
mode:
authorXavier Ducrohet <xav@android.com>2011-06-03 17:56:25 -0700
committerXavier Ducrohet <xav@android.com>2011-06-03 18:26:03 -0700
commit5055a60ea00fee434e947feebc14bcf428920c17 (patch)
treed90bcaedff8169ad4e500086ef1e07224a8aacc3 /eclipse
parent047ea982f5771792e23eb933328091b95045f571 (diff)
downloadsdk-5055a60ea00fee434e947feebc14bcf428920c17.zip
sdk-5055a60ea00fee434e947feebc14bcf428920c17.tar.gz
sdk-5055a60ea00fee434e947feebc14bcf428920c17.tar.bz2
Improve error message when ADT is older than layoutlib.
Change-Id: I1d52201c58f9fb92a87fd42585b653bf37730032
Diffstat (limited to 'eclipse')
-rw-r--r--eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/AndroidTargetParser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/AndroidTargetParser.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/AndroidTargetParser.java
index 1bdfd4e..3e653b9 100644
--- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/AndroidTargetParser.java
+++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/AndroidTargetParser.java
@@ -264,7 +264,8 @@ public final class AndroidTargetParser {
// now load the layout lib bridge
LayoutLibrary layoutBridge = LayoutLibrary.load(
mAndroidTarget.getPath(IAndroidTarget.LAYOUT_LIB),
- AdtPlugin.getDefault());
+ AdtPlugin.getDefault(),
+ "ADT plug-in");
progress.worked(1);