{"action":"created","comment":{"url":"https://api.github.com/repos/godotengine/godot-docs/pulls/comments/72763827","id":72763827,"diff_hunk":"@@ -16,93 +16,81 @@ Also, you still need to do all the steps mentioned in the\n :ref:`doc_exporting_for_android` tutorial before attempting your custom\n export template.\n \n-Requirements\n-------------\n+A. Requirements\n+---------------\n \n For compiling under Windows, Linux or OSX, the following is required:\n \n--  Python 2.7+ (3.0 is untested as of now).\n--  SCons build system.\n+-  Python 2.7+ [3.0 is untested as of now]\n+-  pywin32 [Optional, Windows only. Applied when -j(number of cores) specified]\n+-  SCons build system\n -  Android SDK version 19 [Note: Please install all Tools and Extras of sdk manager]\n -  Android build tools version 19.1\n--  Android NDK\n--  Gradle\n--  OpenJDK 6 or later (or Oracle JDK 6 or later)\n+-  Android NDK r10e or later\n+-  Gradle [will be downloaded and installed when compiling for android if it doesn't exist]\n+-  JDK 6+ (Oracle's releases) or OpenJDK 6+\n+\n+B. Setting up Build System\n+--------------------------------------------------------\n+\n+1) Scons : please, refer to their respective docs\n \n-Setting up SCons\n-----------------\n+2) Gradle : will be automatically setup upon packing APK if \n+we do not have gradle installed previously (may require working internet connection)\n+\n+3) Android :\n \n Set the environment variable ANDROID_HOME to point to the Android\n SDK.\n \n Set the environment variable ANDROID_NDK_ROOT to point to the\n Android NDK.\n \n-To set those environment variables on Windows, press Windows+R, type\n-\"control system\", then click on **Advanced system settings** in the left\n-pane, then click on **Environment variables** on the window that\n-appears.\n+- on Windows :\n+press Windows+R, type \"control system\", then click on **Advanced system settings**\n+in the left pane, then click on **Environment variables** on the window that appears.\n \n-To set those environment variables on Linux, use\n+- on Unix (eg. Linux and Mac OS):\n+Open up Terminal and then execute commands below :\n ``export ANDROID_HOME=/path/to/android-sdk`` and\n-``export ANDROID_NDK_ROOT=/path/to/android-ndk``.\n+``export ANDROID_NDK_ROOT=/path/to/android-ndk``\n+\n+C. Compiling\n+------------\n \n-Compiling\n----------\n+C1. Compiling the Engine\n+------------------------\n \n Go to the root dir of the engine source code and type:\n \n ::\n \n     C:\\godot> scons platform=android\n \n-This should result in a regular .so in ``\\bin`` folder as if it was\n+This should result in a regular .so file (built for ARM platform) in ``\\bin`` folder, as if it was\n compiled with flags: ``tools=no target=debug``. The resulting file will\n-be huge because it will contain all debug symbols, so for next builds,\n-using ``target=release_debug`` or ``target=release`` is recommended.\n-\n-Copy the .so to the ``libs/armeabi`` Android folder (or symlink if you are\n-in Linux or OSX). Note: Git does not support empty directories so you\n-will have to create it if it does not exist:\n+be huge because it will contain all debug symbols.","path":"reference/compiling_for_android.rst","position":81,"original_position":81,"commit_id":"dfed6715998579c19fd06b1a352e94268f473684","original_commit_id":"dfed6715998579c19fd06b1a352e94268f473684","user":{"login":"KelinciFX","id":12244526,"avatar_url":"https://avatars.githubusercontent.com/u/12244526?v=3","gravatar_id":"","url":"https://api.github.com/users/KelinciFX","html_url":"https://github.com/KelinciFX","followers_url":"https://api.github.com/users/KelinciFX/followers","following_url":"https://api.github.com/users/KelinciFX/following{/other_user}","gists_url":"https://api.github.com/users/KelinciFX/gists{/gist_id}","starred_url":"https://api.github.com/users/KelinciFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelinciFX/subscriptions","organizations_url":"https://api.github.com/users/KelinciFX/orgs","repos_url":"https://api.github.com/users/KelinciFX/repos","events_url":"https://api.github.com/users/KelinciFX/events{/privacy}","received_events_url":"https://api.github.com/users/KelinciFX/received_events","type":"User","site_admin":false},"body":"The idea is we should distinguish between Compiling the Engine for Android and Compiling Android Export Template. Despite they are mostly similar, it has a difference which could potentially lead a new comer being confused.\r\n\r\n- target parameter : I think I should make it clearer\r\n- Copy the .so bla bla bla ---> not exist : I believe it's not used anymore as randomshaper PR make it automagically happen.\r\n- removing the last part makes it worse : As usual.. It's all up to the boss...\r\n\r\n:-)","created_at":"2016-07-29T09:19:45Z","updated_at":"2016-07-29T09:19:45Z","html_url":"https://github.com/godotengine/godot-docs/pull/214#discussion_r72763827","pull_request_url":"https://api.github.com/repos/godotengine/godot-docs/pulls/214","_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot-docs/pulls/comments/72763827"},"html":{"href":"https://github.com/godotengine/godot-docs/pull/214#discussion_r72763827"},"pull_request":{"href":"https://api.github.com/repos/godotengine/godot-docs/pulls/214"}}},"pull_request":{"url":"https://api.github.com/repos/godotengine/godot-docs/pulls/214","id":79312964,"html_url":"https://github.com/godotengine/godot-docs/pull/214","diff_url":"https://github.com/godotengine/godot-docs/pull/214.diff","patch_url":"https://github.com/godotengine/godot-docs/pull/214.patch","issue_url":"https://api.github.com/repos/godotengine/godot-docs/issues/214","number":214,"state":"open","locked":false,"title":"Update - Compiling for Android","user":{"login":"KelinciFX","id":12244526,"avatar_url":"https://avatars.githubusercontent.com/u/12244526?v=3","gravatar_id":"","url":"https://api.github.com/users/KelinciFX","html_url":"https://github.com/KelinciFX","followers_url":"https://api.github.com/users/KelinciFX/followers","following_url":"https://api.github.com/users/KelinciFX/following{/other_user}","gists_url":"https://api.github.com/users/KelinciFX/gists{/gist_id}","starred_url":"https://api.github.com/users/KelinciFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelinciFX/subscriptions","organizations_url":"https://api.github.com/users/KelinciFX/orgs","repos_url":"https://api.github.com/users/KelinciFX/repos","events_url":"https://api.github.com/users/KelinciFX/events{/privacy}","received_events_url":"https://api.github.com/users/KelinciFX/received_events","type":"User","site_admin":false},"body":"- Updated to 2.1 development\r\n- Easier to understand (I think I'm a little bit biased)\r\n\r\n:-)","created_at":"2016-07-29T06:34:42Z","updated_at":"2016-07-29T09:19:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0055e511b328c81c5192a6703e78e40245fedb3b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/godotengine/godot-docs/pulls/214/commits","review_comments_url":"https://api.github.com/repos/godotengine/godot-docs/pulls/214/comments","review_comment_url":"https://api.github.com/repos/godotengine/godot-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/godotengine/godot-docs/issues/214/comments","statuses_url":"https://api.github.com/repos/godotengine/godot-docs/statuses/dfed6715998579c19fd06b1a352e94268f473684","head":{"label":"KelinciFX:compile-android-doc","ref":"compile-android-doc","sha":"dfed6715998579c19fd06b1a352e94268f473684","user":{"login":"KelinciFX","id":12244526,"avatar_url":"https://avatars.githubusercontent.com/u/12244526?v=3","gravatar_id":"","url":"https://api.github.com/users/KelinciFX","html_url":"https://github.com/KelinciFX","followers_url":"https://api.github.com/users/KelinciFX/followers","following_url":"https://api.github.com/users/KelinciFX/following{/other_user}","gists_url":"https://api.github.com/users/KelinciFX/gists{/gist_id}","starred_url":"https://api.github.com/users/KelinciFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelinciFX/subscriptions","organizations_url":"https://api.github.com/users/KelinciFX/orgs","repos_url":"https://api.github.com/users/KelinciFX/repos","events_url":"https://api.github.com/users/KelinciFX/events{/privacy}","received_events_url":"https://api.github.com/users/KelinciFX/received_events","type":"User","site_admin":false},"repo":{"id":64425055,"name":"godot-docs","full_name":"KelinciFX/godot-docs","owner":{"login":"KelinciFX","id":12244526,"avatar_url":"https://avatars.githubusercontent.com/u/12244526?v=3","gravatar_id":"","url":"https://api.github.com/users/KelinciFX","html_url":"https://github.com/KelinciFX","followers_url":"https://api.github.com/users/KelinciFX/followers","following_url":"https://api.github.com/users/KelinciFX/following{/other_user}","gists_url":"https://api.github.com/users/KelinciFX/gists{/gist_id}","starred_url":"https://api.github.com/users/KelinciFX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KelinciFX/subscriptions","organizations_url":"https://api.github.com/users/KelinciFX/orgs","repos_url":"https://api.github.com/users/KelinciFX/repos","events_url":"https://api.github.com/users/KelinciFX/events{/privacy}","received_events_url":"https://api.github.com/users/KelinciFX/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KelinciFX/godot-docs","description":"Godot Engine official documentation","fork":true,"url":"https://api.github.com/repos/KelinciFX/godot-docs","forks_url":"https://api.github.com/repos/KelinciFX/godot-docs/forks","keys_url":"https://api.github.com/repos/KelinciFX/godot-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KelinciFX/godot-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KelinciFX/godot-docs/teams","hooks_url":"https://api.github.com/repos/KelinciFX/godot-docs/hooks","issue_events_url":"https://api.github.com/repos/KelinciFX/godot-docs/issues/events{/number}","events_url":"https://api.github.com/repos/KelinciFX/godot-docs/events","assignees_url":"https://api.github.com/repos/KelinciFX/godot-docs/assignees{/user}","branches_url":"https://api.github.com/repos/KelinciFX/godot-docs/branches{/branch}","tags_url":"https://api.github.com/repos/KelinciFX/godot-docs/tags","blobs_url":"https://api.github.com/repos/KelinciFX/godot-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KelinciFX/godot-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KelinciFX/godot-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/KelinciFX/godot-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KelinciFX/godot-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/KelinciFX/godot-docs/languages","stargazers_url":"https://api.github.com/repos/KelinciFX/godot-docs/stargazers","contributors_url":"https://api.github.com/repos/KelinciFX/godot-docs/contributors","subscribers_url":"https://api.github.com/repos/KelinciFX/godot-docs/subscribers","subscription_url":"https://api.github.com/repos/KelinciFX/godot-docs/subscription","commits_url":"https://api.github.com/repos/KelinciFX/godot-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/KelinciFX/godot-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/KelinciFX/godot-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/KelinciFX/godot-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/KelinciFX/godot-docs/contents/{+path}","compare_url":"https://api.github.com/repos/KelinciFX/godot-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KelinciFX/godot-docs/merges","archive_url":"https://api.github.com/repos/KelinciFX/godot-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KelinciFX/godot-docs/downloads","issues_url":"https://api.github.com/repos/KelinciFX/godot-docs/issues{/number}","pulls_url":"https://api.github.com/repos/KelinciFX/godot-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/KelinciFX/godot-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/KelinciFX/godot-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KelinciFX/godot-docs/labels{/name}","releases_url":"https://api.github.com/repos/KelinciFX/godot-docs/releases{/id}","deployments_url":"https://api.github.com/repos/KelinciFX/godot-docs/deployments","created_at":"2016-07-28T20:11:52Z","updated_at":"2016-07-28T20:11:54Z","pushed_at":"2016-07-29T06:22:55Z","git_url":"git://github.com/KelinciFX/godot-docs.git","ssh_url":"git@github.com:KelinciFX/godot-docs.git","clone_url":"https://github.com/KelinciFX/godot-docs.git","svn_url":"https://github.com/KelinciFX/godot-docs","homepage":"http://docs.godotengine.org","size":39220,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"godotengine:master","ref":"master","sha":"f60e04a481cdea1b8e9fc7721764c2a1d57ad59c","user":{"login":"godotengine","id":6318500,"avatar_url":"https://avatars.githubusercontent.com/u/6318500?v=3","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"repo":{"id":47882383,"name":"godot-docs","full_name":"godotengine/godot-docs","owner":{"login":"godotengine","id":6318500,"avatar_url":"https://avatars.githubusercontent.com/u/6318500?v=3","gravatar_id":"","url":"https://api.github.com/users/godotengine","html_url":"https://github.com/godotengine","followers_url":"https://api.github.com/users/godotengine/followers","following_url":"https://api.github.com/users/godotengine/following{/other_user}","gists_url":"https://api.github.com/users/godotengine/gists{/gist_id}","starred_url":"https://api.github.com/users/godotengine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godotengine/subscriptions","organizations_url":"https://api.github.com/users/godotengine/orgs","repos_url":"https://api.github.com/users/godotengine/repos","events_url":"https://api.github.com/users/godotengine/events{/privacy}","received_events_url":"https://api.github.com/users/godotengine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/godotengine/godot-docs","description":"Godot Engine official documentation","fork":false,"url":"https://api.github.com/repos/godotengine/godot-docs","forks_url":"https://api.github.com/repos/godotengine/godot-docs/forks","keys_url":"https://api.github.com/repos/godotengine/godot-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/godotengine/godot-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/godotengine/godot-docs/teams","hooks_url":"https://api.github.com/repos/godotengine/godot-docs/hooks","issue_events_url":"https://api.github.com/repos/godotengine/godot-docs/issues/events{/number}","events_url":"https://api.github.com/repos/godotengine/godot-docs/events","assignees_url":"https://api.github.com/repos/godotengine/godot-docs/assignees{/user}","branches_url":"https://api.github.com/repos/godotengine/godot-docs/branches{/branch}","tags_url":"https://api.github.com/repos/godotengine/godot-docs/tags","blobs_url":"https://api.github.com/repos/godotengine/godot-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/godotengine/godot-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/godotengine/godot-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/godotengine/godot-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/godotengine/godot-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/godotengine/godot-docs/languages","stargazers_url":"https://api.github.com/repos/godotengine/godot-docs/stargazers","contributors_url":"https://api.github.com/repos/godotengine/godot-docs/contributors","subscribers_url":"https://api.github.com/repos/godotengine/godot-docs/subscribers","subscription_url":"https://api.github.com/repos/godotengine/godot-docs/subscription","commits_url":"https://api.github.com/repos/godotengine/godot-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/godotengine/godot-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/godotengine/godot-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/godotengine/godot-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/godotengine/godot-docs/contents/{+path}","compare_url":"https://api.github.com/repos/godotengine/godot-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/godotengine/godot-docs/merges","archive_url":"https://api.github.com/repos/godotengine/godot-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/godotengine/godot-docs/downloads","issues_url":"https://api.github.com/repos/godotengine/godot-docs/issues{/number}","pulls_url":"https://api.github.com/repos/godotengine/godot-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/godotengine/godot-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/godotengine/godot-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/godotengine/godot-docs/labels{/name}","releases_url":"https://api.github.com/repos/godotengine/godot-docs/releases{/id}","deployments_url":"https://api.github.com/repos/godotengine/godot-docs/deployments","created_at":"2015-12-12T15:02:06Z","updated_at":"2016-07-28T20:11:32Z","pushed_at":"2016-07-29T06:34:43Z","git_url":"git://github.com/godotengine/godot-docs.git","ssh_url":"git@github.com:godotengine/godot-docs.git","clone_url":"https://github.com/godotengine/godot-docs.git","svn_url":"https://github.com/godotengine/godot-docs","homepage":"http://docs.godotengine.org","size":39365,"stargazers_count":41,"watchers_count":41,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":125,"mirror_url":null,"open_issues_count":46,"forks":125,"open_issues":46,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/godotengine/godot-docs/pulls/214"},"html":{"href":"https://github.com/godotengine/godot-docs/pull/214"},"issue":{"href":"https://api.github.com/repos/godotengine/godot-docs/issues/214"},"comments":{"href":"https://api.github.com/repos/godotengine/godot-docs/issues/214/comments"},"review_comments":{"href":"https://api.github.com/repos/godotengine/godot-docs/pulls/214/comments"},"review_comment":{"href":"https://api.github.com/repos/godotengine/godot-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/godotengine/godot-docs/pulls/214/commits"},"statuses":{"href":"https://api.github.com/repos/godotengine/godot-docs/statuses/dfed6715998579c19fd06b1a352e94268f473684"}}}}
{"actor":{"display_login":"KelinciFX"}}