Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
com.ccwangluo.accelerator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sheteng
com.ccwangluo.accelerator
Commits
ad50a6b0
Commit
ad50a6b0
authored
Nov 05, 2013
by
Max Lv
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #48 from athurg/master
Add OS X build guide into README
parents
f4c0ec31
97737cad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
1 deletion
+20
-1
README.md
README.md
+20
-1
No files found.
README.md
View file @
ad50a6b0
...
...
@@ -16,7 +16,7 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite
*
JDK 1.6+
*
SBT 0.12.4
*
Android SDK r21+
*
Android SDK r21+
( with SDK Platform Android 4.1.2, API 16, revision 4 )
*
Android NDK r9+
### BUILD
...
...
@@ -36,6 +36,25 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite
sbt clean release
```
#### BUILD ON Mac OS X (with HomeBrew)
*
Install Android SDK and NDK by run
`brew install android-ndk android-sdk`
*
Add
`export ANDROID_HOME=/usr/local/opt/android-sdk`
to your .bashrc , then reopen the shell to loat it.
*
Run
`android update sdk --filter tools,platform-tools,android-16 --no-ui --no-https -a`
to insall SDK Platform Android 4.1.2, API 16, revision 4.
*
Create your key following the instructions at http://developer.android.com/guide/publishing/app-signing.html#cert
*
Put your key in ~/.keystore
*
Create
`local.sbt`
from
`local.sbt.example`
with your own key alias .
*
Invoke the building like this
```
bash
# Build native binaries
./build-ndk.sh
# Build the apk
sbt clean
sbt apk
```
### LICENSE
Copyright (C) 2013 Max Lv
<max.c.lv@gmail.com>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment