This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 262
/
README.txt
66 lines (51 loc) · 2.43 KB
/
README.txt
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
***************************************************************************
*
* Copyright (C) 2008 - 2011 Google Inc.
*
* Ringdroid is licensed under the Apache License, Version 2.0.
* You may not use this source code except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
***************************************************************************
*
* Ringdroid
*
* https://github.com/google/ringdroid/
*
***************************************************************************
A sound editor and ringtone creator for the Android operating system.
Questions, comments, feedback? Email [email protected]
### Build instructions when using Android Studio:
Import the project using "Import project (Eclipse ADT, Gradle, etc.)"
or File -> New -> Import Project...
Select build.gradle (the one in the root directory, not app/build.gradle).
Run the app (using the Run icon, or Run -> Run 'app'). This will build and install Ringdroid on the
connected device.
### Build instructions when using a terminal:
You need to have an environment variable JAVA_HOME pointing to your Java SDK.
You also need to have an environment variable ANDROID_HOME pointing to your Android SDK.
Then run:
./gradlew build
This will download gradle if you don't have it already.
The APKs are generated in ./app/build/outputs/apk/.
To install the debug version just run:
adb install ./app/build/outputs/apk/app-debug.apk
### Release mode
http://developer.android.com/tools/publishing/app-signing.html
On Android Studio:
Build -> Generate Signed APK...
Select the app module, enter the path to the keystore and the passwords, and then choose the
destination folder before clicking on Finish.
You can also directly modify the app/build.gradle to include a signing config as explained on
http://developer.android.com/tools/publishing/app-signing.html#release-mode
# Initial key generated with:
# keytool -genkey -keystore ringdroid.keystore -alias ringdroid -validity 10000