Now I switched my project SDK to point to Android Studio, which also does 
not have the newer ask.jar and got the original error from above. I tried 
something different and simply adjusted the dependency list of the failing 
module moving the inheritedSDK to the bottom and that fixed the error. 
After compiling I started to get various errors in other modules, each time 
I find the module with the error and move the inheritedSDK to the bottom. 
I've been at it for about an hour as there are soo many modules, but I've 
managed to finally get it to compile and run. It seems like all of these 
modules just need the inheritedSDK moved to the bottom of the dependency 
list. Please let me know if I'm going about this the wrong way. I am 
attaching my patch where I've also added some missing @Override annotations.

On Saturday, May 10, 2014 6:26:16 PM UTC-7, Clifton Craig wrote:
>
> Hi,
>
> I'm trying to build and run Android Studio from source. I was following 
> instructions here:
> http://tools.android.com/build/studio
> However I am having trouble after sync'ing the repo. I've opened the 
> project in Idea EAP and pointed it to the Idea EAP SDK (since "Idea sdk" is 
> not defined in my IDE settings). Finally I tried running the Android Studio 
> run config and I get a compile error:
>
> Error:(30, 1) java: 
>> /Applications/Developer/AndroidStudioSrc/tools/base/lint/libs/lint-api/src/main/java/com/android/tools/lint/client/api/LintDriver.java:30:
>>  
>> cannot find symbol
>> symbol  : static ASM4
>> location: interface org.objectweb.asm.Opcodes
>
>
> I tried switching to/checking out the aosp/idea133 branch and 
> compiling/running again but I hit the same error. Are there any definitive 
> "Getting started building from source" guides around? I understand the 
> build is in flux currently. Did I just hit an error? Thanks in advance!
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
Index: java/idea-ui/idea-ui.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- java/idea-ui/idea-ui.iml	(date 1399770616000)
+++ java/idea-ui/idea-ui.iml	(revision )
@@ -5,7 +5,6 @@
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="openapi" />
     <orderEntry type="module" module-name="compiler-openapi" />
@@ -13,6 +12,7 @@
     <orderEntry type="module" module-name="java-impl" />
     <orderEntry type="library" name="XmlRPC" level="project" />
     <orderEntry type="library" name="OroMatcher" level="project" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenModuleBuilder.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenModuleBuilder.java	(date 1399770616000)
+++ plugins/maven/src/main/java/org/jetbrains/idea/maven/wizards/MavenModuleBuilder.java	(revision )
@@ -125,6 +125,7 @@
     return MavenIcons.MavenLogo;
   }
 
+  @Override
   public ModuleType getModuleType() {
     return StdModuleTypes.JAVA;
   }
@@ -148,13 +149,16 @@
     return LocalFileSystem.getInstance().refreshAndFindFileByPath(path);
   }
 
+  @Override
   public List<Pair<String, String>> getSourcePaths() {
     return Collections.emptyList();
   }
 
+  @Override
   public void setSourcePaths(List<Pair<String, String>> sourcePaths) {
   }
 
+  @Override
   public void addSourcePath(Pair<String, String> sourcePathInfo) {
   }
 
Index: platform/platform-impl/platform-impl.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- platform/platform-impl/platform-impl.iml	(date 1399770616000)
+++ platform/platform-impl/platform-impl.iml	(revision )
@@ -6,7 +6,6 @@
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
     </content>
     <orderEntry type="library" scope="PROVIDED" name="Mac" level="project" />
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="platform-api" exported="" />
     <orderEntry type="library" name="picocontainer" level="project" />
@@ -40,6 +39,7 @@
     <orderEntry type="module" module-name="editor-ui-ex" exported="" />
     <orderEntry type="library" name="gson" level="project" />
     <orderEntry type="library" name="http-client" level="project" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: .idea/misc.xml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- .idea/misc.xml	(date 1399770616000)
+++ .idea/misc.xml	(revision )
@@ -58,7 +58,7 @@
   <component name="ProjectResources">
     <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
   </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA jdk" project-jdk-type="JavaSDK">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA Android Studio SDK-135.1155795" project-jdk-type="IDEA JDK">
     <output url="file://$PROJECT_DIR$/out" />
   </component>
   <component name="SvnBranchConfigurationManager">
Index: plugins/gradle/gradle.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugins/gradle/gradle.iml	(date 1399770616000)
+++ plugins/gradle/gradle.iml	(revision )
@@ -8,7 +8,6 @@
       <sourceFolder url="file://$MODULE_DIR$/testSources" isTestSource="true" />
       <sourceFolder url="file://$MODULE_DIR$/testData" isTestSource="true" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="external-system-api" exported="" />
     <orderEntry type="module" module-name="external-system-impl" exported="" />
@@ -108,6 +107,7 @@
     <orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
     <orderEntry type="module" module-name="testFramework" scope="TEST" />
     <orderEntry type="module" module-name="testFramework-java" scope="TEST" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: platform/platform-tests/platform-tests.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- platform/platform-tests/platform-tests.iml	(date 1399770616000)
+++ platform/platform-tests/platform-tests.iml	(revision )
@@ -5,7 +5,6 @@
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/testSrc" isTestSource="true" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="library" scope="TEST" name="Mocks" level="project" />
     <orderEntry type="module" module-name="lang-impl" />
@@ -24,6 +23,7 @@
     <orderEntry type="library" name="Netty" level="project" />
     <orderEntry type="library" name="http-client" level="project" />
     <orderEntry type="module" module-name="jps-model-impl" scope="TEST" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: java/openapi/openapi.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- java/openapi/openapi.iml	(date 1399770616000)
+++ java/openapi/openapi.iml	(revision )
@@ -5,7 +5,6 @@
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="util" exported="" />
     <orderEntry type="library" scope="TEST" name="JUnit4" level="project" />
@@ -27,6 +26,7 @@
     <orderEntry type="module" module-name="java-psi-api" exported="" />
     <orderEntry type="module" module-name="java-indexing-api" exported="" />
     <orderEntry type="module" module-name="java-analysis-api" exported="" />
+    <orderEntry type="inheritedJdk" />
   </component>
   <component name="copyright">
     <option name="body" value="/*&#10; * Copyright (c) $today.year Your Corporation. All Rights Reserved.&#10; */" />
Index: java/java-analysis-api/java-analysis-api.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- java/java-analysis-api/java-analysis-api.iml	(date 1399770616000)
+++ java/java-analysis-api/java-analysis-api.iml	(revision )
@@ -5,11 +5,11 @@
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="analysis-api" />
     <orderEntry type="module" module-name="java-psi-api" />
     <orderEntry type="module" module-name="projectModel-api" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: plugins/devkit/devkit.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugins/devkit/devkit.iml	(date 1399770616000)
+++ plugins/devkit/devkit.iml	(revision )
@@ -7,7 +7,6 @@
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" packagePrefix="org.jetbrains.idea.devkit" />
       <sourceFolder url="file://$MODULE_DIR$/testSources" isTestSource="true" packagePrefix="org.jetbrains.idea.devkit" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="openapi" />
     <orderEntry type="module" module-name="util" />
@@ -40,6 +39,7 @@
     </orderEntry>
     <orderEntry type="module" module-name="spellchecker" />
     <orderEntry type="module" module-name="dom-tests" scope="TEST" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: plugins/ui-designer-core/ui-designer-core.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugins/ui-designer-core/ui-designer-core.iml	(date 1399770616000)
+++ plugins/ui-designer-core/ui-designer-core.iml	(revision )
@@ -5,7 +5,6 @@
     <content url="file://$MODULE_DIR$">
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="openapi" />
     <orderEntry type="module" module-name="util" />
@@ -14,6 +13,7 @@
     <orderEntry type="module" module-name="platform-impl" />
     <orderEntry type="module" module-name="spellchecker" />
     <orderEntry type="module" module-name="lang-impl" exported="" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: plugins/groovy/jetgroovy.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugins/groovy/jetgroovy.iml	(date 1399770616000)
+++ plugins/groovy/jetgroovy.iml	(revision )
@@ -7,7 +7,6 @@
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="openapi" />
     <orderEntry type="module" module-name="debugger-openapi" />
@@ -36,6 +35,7 @@
     <orderEntry type="module" module-name="groovy-jps-plugin" />
     <orderEntry type="module" module-name="ByteCodeViewer" />
     <orderEntry type="module" module-name="properties-psi-api" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: java/java-impl/java-impl.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- java/java-impl/java-impl.iml	(date 1399770616000)
+++ java/java-impl/java-impl.iml	(revision )
@@ -19,7 +19,6 @@
       <sourceFolder url="file://$MODULE_DIR$/../../plugins/generate-tostring/resources" isTestSource="false" />
     </content>
     <orderEntry type="module" module-name="boot" />
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="util" />
     <orderEntry type="module" module-name="openapi" />
@@ -54,6 +53,7 @@
     <orderEntry type="module" module-name="testFramework-java" scope="TEST" />
     <orderEntry type="module" module-name="java-structure-view" exported="" />
     <orderEntry type="module" module-name="spellchecker" />
+    <orderEntry type="inheritedJdk" />
   </component>
   <component name="copyright">
     <Base>
Index: plugins/maven/maven.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- plugins/maven/maven.iml	(date 1399770616000)
+++ plugins/maven/maven.iml	(revision )
@@ -8,7 +8,6 @@
       <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
       <excludeFolder url="file://$MODULE_DIR$/out" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="maven-server-api" exported="" />
     <orderEntry type="module" module-name="openapi" exported="" />
@@ -63,6 +62,7 @@
     <orderEntry type="module" module-name="spellchecker" />
     <orderEntry type="module" module-name="vcs-api" />
     <orderEntry type="module" module-name="properties-psi-api" />
+    <orderEntry type="inheritedJdk" />
   </component>
   <component name="copyright">
     <Base>
Index: java/java-analysis-impl/java-analysis-impl.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- java/java-analysis-impl/java-analysis-impl.iml	(date 1399770616000)
+++ java/java-analysis-impl/java-analysis-impl.iml	(revision )
@@ -8,7 +8,6 @@
     <content url="file://$MODULE_DIR$/../../plugins/InspectionGadgets/InspectionGadgetsAnalysis">
       <sourceFolder url="file://$MODULE_DIR$/../../plugins/InspectionGadgets/InspectionGadgetsAnalysis/src" isTestSource="false" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="analysis-impl" exported="" />
     <orderEntry type="module" module-name="java-indexing-impl" exported="" />
@@ -17,6 +16,7 @@
     <orderEntry type="module" module-name="java-analysis-api" exported="" />
     <orderEntry type="module" module-name="resources-en" />
     <orderEntry type="module" module-name="xml-psi-impl" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: ../base/lint/libs/lint-checks/lint-checks.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- ../base/lint/libs/lint-checks/lint-checks.iml	(revision b6ad0069512eb9286cae7bae74cd7f81e03f7db5)
+++ ../base/lint/libs/lint-checks/lint-checks.iml	(revision )
@@ -8,8 +8,8 @@
       <excludeFolder url="file://$MODULE_DIR$/build" />
     </content>
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="module" module-name="lint-api" exported="" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: ../base/lint/libs/lint-api/lint-api.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- ../base/lint/libs/lint-api/lint-api.iml	(revision b6ad0069512eb9286cae7bae74cd7f81e03f7db5)
+++ ../base/lint/libs/lint-api/lint-api.iml	(revision )
@@ -8,11 +8,11 @@
       <excludeFolder url="file://$MODULE_DIR$/build" />
     </content>
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="library" exported="" name="asm-tools" level="project" />
     <orderEntry type="library" exported="" name="lombok-ast" level="project" />
     <orderEntry type="module" module-name="sdk-common" exported="" />
     <orderEntry type="library" exported="" name="builder-model" level="project" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 
Index: ../adt/idea/android/android.iml
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- ../adt/idea/android/android.iml	(date 1399679841000)
+++ ../adt/idea/android/android.iml	(revision )
@@ -7,7 +7,6 @@
       <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
       <sourceFolder url="file://$MODULE_DIR$/testSrc" isTestSource="true" />
     </content>
-    <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
     <orderEntry type="module" module-name="openapi" />
     <orderEntry type="module" module-name="dom-openapi" />
@@ -73,6 +72,7 @@
     </orderEntry>
     <orderEntry type="module" module-name="testutils" scope="TEST" />
     <orderEntry type="library" scope="TEST" name="Eclipse" level="project" />
+    <orderEntry type="inheritedJdk" />
   </component>
 </module>
 

Reply via email to