Dbrant has submitted this change and it was merged. Change subject: More instructions for Android Studio ......................................................................
More instructions for Android Studio Change-Id: If56efbe6c83bf93da4cd849ae93fb5ee1e851ea1 (cherry picked from commit c2a8929b4048236247d300d8ba60d934b1b834b0) --- M README.mediawiki 1 file changed, 18 insertions(+), 1 deletion(-) Approvals: Dbrant: Looks good to me, approved diff --git a/README.mediawiki b/README.mediawiki index c72515d..42953e7 100644 --- a/README.mediawiki +++ b/README.mediawiki @@ -103,6 +103,8 @@ 9. Install IntelliJ IDEA Community Edition from http://www.jetbrains.com/idea/download/index.html. +If you plan to use Maven for the build then it's probably good to rm or mv the build.gradle file at the root level, as to not confuse IntelliJ with it. + 10. Open IntelliJ IDEA, and choose to Import Project. Select the "android-wikipedia" folder and click OK. In the Import Project dialog box, select the "Import project from external model" radio button and then choose "Maven" from the list of options. Click Next. @@ -177,8 +179,23 @@ == Gradle - new == -=== Import as Gradle project into Android Studio === Most should work with IntelliJ as well. +If you a trying out both the Maven build (from IntelliJ) and the Gradle build (from Android Studio) a separate repo clone is recommended as to not confuse IntelliJ. + +=== Install Android Studio === + +Download and install the latest beta from http://tools.android.com/download/studio. (Stable is not available as of this writing). + +Recommended plugins for Android Studio 0.8.9 (= 135.*): +* [http://plugins.jetbrains.com/plugin/7322?pr= Python Community Edition]: use version 3.4.135.24. + +For JavaScript there is no plugin available, but you can get syntax highlighting with this +https://stackoverflow.com/questions/17137577/add-js-and-css-support-to-android-studio-project/17711474#17711474 + +On MacOS the file is ~/Library/Preferences/AndroidStudioBeta/filetypes/Javascript.xml. + +=== Import as Gradle project into Android Studio === + In the Quick Start or later from the File menu select "Import Project..." Select the folder you clone the git repo to (e.g. android-wikipedia) -- To view, visit https://gerrit.wikimedia.org/r/161278 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: If56efbe6c83bf93da4cd849ae93fb5ee1e851ea1 Gerrit-PatchSet: 3 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: BearND <[email protected]> Gerrit-Reviewer: Brion VIBBER <[email protected]> Gerrit-Reviewer: Dbrant <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
