forked from sasq64/droidsound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
36 lines (23 loc) · 1.39 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
WHAT YOU NEED
* Eclipse
* Android SDK, Android NDK r5 (or later), Android Platform 2.2 (or later)
HOW TO BUILD
* Make sure your Eclipse/Android environment is set up correctly (all information you need is at http://developer.android.com)
* Build the native libraries - run the NDK 'ndk-build' script from the project directory
* Build the project normally from inside Eclipse (don't forget F5 = Refresh - or native libs will not be found)
ANDROID SDK ETC, DETAILED INSTALLATION
Go to http://developer.android.com/sdk/
* Download and unpack the Android SDK (android-sdk_r08 or later)
* Download and unpack the Android NDK (android-ndk-r5 or later)
* Run the "android" application from the android-sdk_r08/tools/
* Select Available Sites, Android Repository
* Install the latest version of the SDK Platform-tools (r01) and the SDK Platform (2.2 or later)
From within the project directory
* Run "<sdk>/tools/android update project -p <path to droidsound>"
* Run "<ndk>/ndk-build" to build the native libraries
* Run "ant debug" to build the APK-file into bin/
To Test it:
* Make sure you have USB-divers for your device and it is connected
* Run "<sdk>/platform-tools/adb devices". You should see your device listed.
* Run "<sdk>/platform-tools/adb install -r bin/droidsound-debug.apk"
* Run "<sdk>/platform-tools/adb shell am start -n com.ssb.droidsound/.PlayerActivity"