I tried switching to the canary branch, compiling, and fixing dependency issues the entire weekend… one module at a time. I finally gave up when I hit an impossible to fix dependency error:
Error:(120, 54) java: cannot find symbol symbol: method getUrlToOpen(com.intellij.psi.PsiElement,boolean) location: class com.intellij.ide.browsers.WebBrowserService This error is in the xml module in the "OpenFileInDefaultBrowserAction.java:120" file. For whatever reason I only get this error when I attempt to compile the project. The editor stopped flagging the error once I moved the Idea SDK to the bottom of this module's dependency list. For some reason its as if the compiler is still seeing the dependency list in the wrong order. I've seen this type of behavior once in a while in Idea but have never taken the time to resolve it. At any rate, I would LOVE to have some step-by-step instructions on building AndroidStudio from source. Also, I would love to understand more about the "repo" tool you use to manage the repository. This is the first time I've heard of it and though I am still using the "Git" tools in Idea to switch branches I'd like to know if there's something that I'm missing. 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.
