Kotlin / anko

Pleasant Android application development
Apache License 2.0
15.88k stars 1.29k forks source link

Question about building anko. #395

Open PrashamTrivedi opened 7 years ago

PrashamTrivedi commented 7 years ago

I have read building anko wiki. And I have a few questions about it.

  1. Are those requirements meant for building anko plugin or they also apply if I want to build anko as a library project?

  2. I am not much aware about ant stuff, but looking at the download_android_sdk.xml it seems it tries to download all the stuffs that are usually with the sdk (e.g. platform tools) and it also tries to download studio. Are those steps necessary to run in the machine where I already have these stuffs installed and working?

  3. (Last and not much trivial question-related to 1) Do I need Intellij for building anko (for library) or I can use Android Studio for it?

yanex commented 7 years ago
  1. Yes. Anko is a single Gradle project.
  2. Yes, because it downloads the fixed versions of Android platforms and IDE. You can link the dependencies/android-sdk, though it requires some additional manipulations.
  3. I think you will need IntelliJ (Community edition is OK). I didn't try to import the Anko project into Android Studio, but I afraid the project structure is quite complicated for it.