SDK Version: Lower SDK Version for use with Java SE 6 and add main
launcher intent filter for app to launch on actual devices.
Change-Id: Ibc27d3954042796390041d6e2e3e68ca3d887cb4
diff --git a/app/build.gradle b/app/build.gradle
index 4720ba0..9acf98e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -3,13 +3,13 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 21
+ compileSdkVersion 19
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "net.named_data.nfd"
- minSdkVersion 14
- targetSdkVersion 21
+ minSdkVersion 15
+ targetSdkVersion 19
versionCode 2001
versionName "0.2.1"
}
@@ -94,6 +94,6 @@
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:appcompat-v7:21.0.3'
+ compile 'com.android.support:appcompat-v7:20.0.0'
compile 'com.android.support:support-v4:21.0.3'
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 3b96635..0310be5 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -10,6 +10,10 @@
<activity
android:name=".NfdSettingsActivity"
android:label="@string/app_name" >
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
</activity>
</application>