use rs support library and minSdkVersion 15

pull/6/head
Ahmet Inan 2014-11-25 21:56:37 +01:00
rodzic 8ab76154e3
commit d6efca8c56
3 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -81,6 +81,7 @@
</content>
<orderEntry type="jdk" jdkName="Android API 21 Platform" jdkType="Android SDK" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" exported="" name="renderscript-v8" level="project" />
</component>
</module>

Wyświetl plik

@ -6,12 +6,12 @@ android {
defaultConfig {
applicationId "xdsopl.robot36"
minSdkVersion 18
minSdkVersion 15
targetSdkVersion 21
versionCode 1
versionName "1.0"
renderscriptTargetApi 19
renderscriptSupportMode false
renderscriptSupportMode true
}
buildTypes {
release {

Wyświetl plik

@ -25,9 +25,9 @@ import android.graphics.Paint;
import android.media.AudioFormat;
import android.media.AudioRecord;
import android.media.MediaRecorder;
import android.renderscript.Allocation;
import android.renderscript.Element;
import android.renderscript.RenderScript;
import android.support.v8.renderscript.Allocation;
import android.support.v8.renderscript.Element;
import android.support.v8.renderscript.RenderScript;
import android.view.SurfaceHolder;
public class DecoderThread extends Thread {