Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc40fff

Browse files
committed
Updated project settings to Android API 19. Updated Android support
library. Generated gradle build file for Android Studio.
1 parent 569f186 commit bc40fff

File tree

10 files changed

+45
-3
lines changed

10 files changed

+45
-3
lines changed

AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<uses-sdk
1111
android:minSdkVersion="8"
12-
android:targetSdkVersion="17" />
12+
android:targetSdkVersion="19" />
1313

1414
<application
1515
android:allowBackup="true"

bin/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<uses-sdk
1111
android:minSdkVersion="8"
12-
android:targetSdkVersion="17" />
12+
android:targetSdkVersion="19" />
1313

1414
<application
1515
android:allowBackup="true"

bin/android-upload-service.jar

-21.2 KB
Binary file not shown.
8.98 KB
Loading
4.94 KB
Loading
4.94 KB
Loading
13.7 KB
Loading

build.gradle

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
dependencies {
6+
classpath 'com.android.tools.build:gradle:0.8.+'
7+
}
8+
}
9+
apply plugin: 'android-library'
10+
11+
dependencies {
12+
compile fileTree(dir: 'libs', include: '*.jar')
13+
}
14+
15+
android {
16+
compileSdkVersion 19
17+
buildToolsVersion "19.0.3"
18+
19+
sourceSets {
20+
main {
21+
manifest.srcFile 'AndroidManifest.xml'
22+
java.srcDirs = ['src']
23+
resources.srcDirs = ['src']
24+
aidl.srcDirs = ['src']
25+
renderscript.srcDirs = ['src']
26+
res.srcDirs = ['res']
27+
assets.srcDirs = ['assets']
28+
}
29+
30+
// Move the tests to tests/java, tests/res, etc...
31+
instrumentTest.setRoot('tests')
32+
33+
// Move the build types to build-types/<type>
34+
// For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ...
35+
// This moves them out of them default location under src/<type>/... which would
36+
// conflict with src/ being used by the main source set.
37+
// Adding new build types or product flavors should be accompanied
38+
// by a similar customization.
39+
debug.setRoot('build-types/debug')
40+
release.setRoot('build-types/release')
41+
}
42+
}

libs/android-support-v4.jar

63.7 KB
Binary file not shown.

project.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
1212

1313
# Project target.
14-
target=android-17
14+
target=android-19
1515
android.library=true

0 commit comments

Comments
 (0)