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
b37de129
Commit
b37de129
authored
Jun 08, 2014
by
Max Lv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update README
parent
5a479530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
12 deletions
+9
-12
README.md
README.md
+9
-12
No files found.
README.md
View file @
b37de129
...
...
@@ -10,13 +10,11 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite
[

](http://travis-ci.org/shadowsocks/shadowsocks-android)
[
Nightly Builds
](
http://buildbot.sinaapp.com
)
### PREREQUISITES
*
JDK 1.6+
*
SBT 0.12.
4
*
Android SDK r21+
( with SDK Platform Android 4.1.2, API 16, revision 4 )
*
SBT 0.12.
3
*
Android SDK r21+
*
Android NDK r9+
### BUILD
...
...
@@ -25,7 +23,7 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite
*
Set environment variable
`ANDROID_NDK_HOME`
to
`/path/to/android-ndk`
*
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
*
Create
`local.
properties`
from
`local.properties
.example`
with your own key alias
*
Invoke the building like this
```
bash
...
...
@@ -33,17 +31,17 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite
./build-ndk.sh
# Build the App
sbt clean release
sbt clean
android:package-
release
```
#### BUILD
ON
Mac OS X (with HomeBrew)
#### 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.
*
Run
`
echo "y" | android update sdk --filter tools,platform-tools,build-tools-19.0.3,android-19,extra-google-m2repository,extra-android-m2repository --no-ui --no-https -a`
*
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 .
*
Create
`local.
properties`
from
`local.properties
.example`
with your own key alias .
*
Invoke the building like this
```
bash
...
...
@@ -51,13 +49,12 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite
./build-ndk.sh
# Build the apk
sbt clean
sbt apk
sbt clean android:package-release
```
### LICENSE
Copyright (C) 201
3
Max Lv
<max.c.lv@gmail.com>
Copyright (C) 201
4
Max Lv
<max.c.lv@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
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