diff --git a/ndk/platforms/android-21/samples/native-codec/AndroidManifest.xml b/ndk/platforms/android-21/samples/native-codec/AndroidManifest.xml
index addf1f0e6..87b2b810a 100644
--- a/ndk/platforms/android-21/samples/native-codec/AndroidManifest.xml
+++ b/ndk/platforms/android-21/samples/native-codec/AndroidManifest.xml
@@ -15,7 +15,7 @@
-
+
diff --git a/ndk/platforms/android-21/samples/native-codec/default.properties b/ndk/platforms/android-21/samples/native-codec/default.properties
index 92f9bf030..869e1651c 100644
--- a/ndk/platforms/android-21/samples/native-codec/default.properties
+++ b/ndk/platforms/android-21/samples/native-codec/default.properties
@@ -1,4 +1,4 @@
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
-target=android-L
+target=android-21
diff --git a/ndk/platforms/android-21/samples/native-codec/jni/Application.mk b/ndk/platforms/android-21/samples/native-codec/jni/Application.mk
index 5b3fb7259..bf4858ca1 100644
--- a/ndk/platforms/android-21/samples/native-codec/jni/Application.mk
+++ b/ndk/platforms/android-21/samples/native-codec/jni/Application.mk
@@ -1,2 +1,2 @@
-APP_PLATFORM := android-L
+APP_PLATFORM := android-21
APP_ABI := all