build error for git repository: Android SDK is not specified for module Android

4 errors while trying to build the git repository, all around Android.

I read the page where 10.5 Android is considered it's own project and the JDK is therefore not included in it (or something) but I don't see what it wants me to therefore do in order to build the downloaded git repository.

I tried declaring the regular JDK (6_23) as Android's SDK, but it didn't like that and I tried declaring the root of the git repository download as the Android SDK and that didn't work either.

Everything I know (or care right now) about Android can be summed up in the sentence "I know it exists." I have no idea what I need to point what to in order to build the downloaded git repository. There were the only errors:

Android SDK is not specified for module Android

and three  others of like mind.

Also:

"Your search for "configuring android sdk" returned 0 results."

so I am apparently the first person to run up against this?

Many thanks

4 comments

OK found this:

http://developer.android.com/sdk/index.html

So there exists a separate Android SDK that doesn't come down with the rest of the code. If it solves all my problems, I'll report.

Start: My 2 cent rant

If Android is another entire download from somewhere else and for some reason can't be included on git, then it ought to be an optional  plugin relative to building the IDE. That is, it shouldn't be required for Intellij to build.

Where does this lead? What else needed to build  is going to require that we retrieve *this* version of *that* library from *that* place oh,  and be sure to sort out  different versions of the same library needed for diffferent projects  etc. etc.

What if we download the latest version of an SDK or like library provided from an  outside source and something has changed in it and it breaks the build? Is this not  the problem of moving versions  of externally provided  library dependencies  being imported right into the ability to build Intellij? Horrors.

My POV is that all dependencies should be acquired by Jetbrains and issued from Jetbrains to  us  because *that* frozen snapshot of everything is a definite thing of  guaranteed quality.  

Obviously I was part of a team that had these issues and it was horrifying. One day, unbeknownest to us,  company X changes something in their external binaries or libraries and nothing goes well... nothing at all.

END My 2 cent rant

0

Hello,

I'm not sure how exactly you're compiling IntelliJ IDEA, but the source code
of IntelliJ IDEA does not include any Android applications and does not require
the Android SDK to be compiled. All the libraries required for compiling
IntelliJ IDEA Community Edition are stored as jar files inside the git repository.

OK found this:

http://developer.android.com/sdk/index.html

So there exists a separate Android SDK that doesn't come down with the
rest of the code. If it solves all my problems, I'll report.

Start: My 2 cent rant

If Android is another entire download from somewhere else and for
some reason can't be included on git, then it ought to be an optional
plugin relative to building the IDE. That is, it shouldn't be required
for Intellij to build.

Where does this lead? What else needed to build  is going to require
that we retrieve this version of that library from that place
oh,  and be sure to sort out  different versions of the same library
needed for diffferent projects  etc. etc.

What if we download the latest version of an SDK or like library
provided from an  outside source and something has changed in it and
it breaks the build? Is this not  the problem of moving versions  of
externally provided  library dependencies  being imported right into
the ability to build Intellij? Horrors.

My POV is that all dependencies should be acquired by Jetbrains and
issued from Jetbrains to  us  because that frozen snapshot of
everything is a definite thing of  guaranteed quality.

Obviously I was part of a team that had these issues and it was
horrifying. One day, unbeknownest to us,  company X changes something
in their external binaries or libraries and nothing goes well...
nothing at all.

END My 2 cent rant


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Following the steps defined at
http://www.jetbrains.org/pages/viewpage.action?pageId=983225


Step one-
Version control->git->Clone Repository -> select from choices:  git://git.jetbrains.org/idea/community.git

Step two-
Create directory based project  from downloaded code with base at DOWNLOAD_FOLDER/community.git by following automatically launched wizard.

Step three
Build->rebuild project (though it could have been Build-make Project as well)


Of course I made  sure I had 1.6 an lib/tools configured. I think the instructions on that page for JetGroovy are obseleted, at least, I  dont see a plugin named "JetGroovy" in my plugins configuration page  this instruction seems to refer to :

SNIP/ Make sure you have the JetGroovy plugin enabled. Parts of IntelliJ IDEA are written in Groovy, and you will get compilation errors if you don't have the plugin enabled./SNIP

That's it.

I've done this before with great success. Jetbrains has made it tremendously easy for interested  developers to dig into IntelliJ community code and for that I'm genuinely appreciative.  

0

Hello java,

You do not need to create a directory-based project. There is a project already
configured; you need to open it with Open Project.

And no, the instructions regarding JetGroovy are not obsolete.

Following the steps defined at
http://www.jetbrains.org/pages/viewpage.action?pageId=983225

Step one-
Version control->git->Clone Repository -> select from choices:
git://git.jetbrains.org/idea/community.git
Step two-
Create directory based project  from downloaded code with base at
DOWNLOAD_FOLDER/community.git by following automatically launched
wizard.
Step three
Build->rebuild project (though it could have been Build-make Project
as well)
Of course I made  sure I had 1.6 an lib/tools configured. I think the
instructions on that page for JetGroovy are obseleted, at least, I
dont see a plugin named "JetGroovy" in my plugins configuration page
this instruction seems to refer to :

SNIP/ Make sure you have the JetGroovy plugin enabled. Parts of
IntelliJ IDEA are written in Groovy, and you will get compilation
errors if you don't have the plugin enabled./SNIP

That's it.

I've done this before with great success. Jetbrains has made it
tremendously easy for interested  developers to dig into IntelliJ
community code and for that I'm genuinely appreciative.

---
Original message URL:
http://devnet.jetbrains.net/message/5445294#5445294


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.