Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: site/user/quick/android.md

Issue 1919973002: Improve Android Quick Start Guide (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add SDK Manager command line Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Android 1 Android
2 ======= 2 =======
3 3
4 Prerequisites 4 Prerequisites
5 ------------- 5 -------------
6 6
7 _Currently we only support building Skia for Android on a Linux or Mac host! In addition, 7 _Currently we only support building Skia for Android on a Linux or Mac host! In addition,
8 we only use the Mac build for local development. All shipping variants are comp iled on 8 we only use the Mac build for local development. All shipping variants are comp iled on
9 Linux for performance reasons._ 9 Linux for performance reasons._
10 10
(...skipping 24 matching lines...) Expand all
35 export ANDROID_SDK_ROOT=/path/to/android/sdk 35 export ANDROID_SDK_ROOT=/path/to/android/sdk
36 36
37 $ ANDROID_SDK_ROOT/tools/android update sdk --no-ui --filter android-19 37 $ ANDROID_SDK_ROOT/tools/android update sdk --no-ui --filter android-19
38 38
39 From here you will need to type 'y' to approve the license agreement and that 39 From here you will need to type 'y' to approve the license agreement and that
40 is all. You will then have downloaded the SDK for API level 19 (Android 4.4 40 is all. You will then have downloaded the SDK for API level 19 (Android 4.4
41 KitKat) which will be used to build the Skia SampleApp. You can download as 41 KitKat) which will be used to build the Skia SampleApp. You can download as
42 many other Android add-ons or APIs as you want, but you only are required to 42 many other Android add-ons or APIs as you want, but you only are required to
43 have this one in order to complete the Skia build process. 43 have this one in order to complete the Skia build process.
44 44
45 Also, please make sure that Android SDK Build-tools 22.0.1 is installed. You can
46 do that using Android SDK Manager `$ANDROID_SDK_ROOT/tools/android`. In Android
47 Studio, it can be opened by clicking the Launch Standalone SDK Manager link in
48 Tools > Android > SDK Manger.
49
45 Setup Environment for Android 50 Setup Environment for Android
46 ----------------------------- 51 -----------------------------
47 52
48 The Android build needs to set up some specific variables needed by both GYP 53 The Android build needs to set up some specific variables needed by both GYP
49 and Make. We make this setup easy for developers by encapsulating all the 54 and Make. We make this setup easy for developers by encapsulating all the
50 details into a custom script that acts as a replacement for make. 55 details into a custom script that acts as a replacement for make.
51 56
52 Custom Android Build Script 57 Custom Android Build Script
53 --------------------------- 58 ---------------------------
54 59
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 # COMMAND LINE APPS 203 # COMMAND LINE APPS
199 # include additional arguments in quotes (e.g. "dm --nopdf") 204 # include additional arguments in quotes (e.g. "dm --nopdf")
200 ./platform_tools/android/bin/android_gdb_native dm 205 ./platform_tools/android/bin/android_gdb_native dm
201 206
202 # SAMPLE APP 207 # SAMPLE APP
203 # make sure you've installed the app on the device first 208 # make sure you've installed the app on the device first
204 ./platform_tools/android/bin/android_gdb_app [-d device_id] 209 ./platform_tools/android/bin/android_gdb_app [-d device_id]
205 210
206 When the gdb client is ready, insert a breakpoint, and continue to let the 211 When the gdb client is ready, insert a breakpoint, and continue to let the
207 program resume execution. 212 program resume execution.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698