ffmpeg-android-java
ffmpeg-android-java copied to clipboard
How to remove X86
i removed x86
-
add return "return CpuArch.NONE;" in "CpuArchHelper.java"
if (Build.CPU_ABI.equals(getx86CpuAbi()) || Build.CPU_ABI.equals(getx86_64CpuAbi())) { //return CpuArch.x86; return CpuArch.NONE; }
-
comment down x86 in "CpuArch.java"
//x86("0dd4dbad305ff197a1ea9e6158bd2081d229e70e"), ARMv7("871888959ba2f063e18f56272d0d98ae01938ceb"), NONE(null);
-
comment down case 86 in "FFmpeg.java"
switch (CpuArchHelper.getCpuArch()) { /*case x86: Log.i("Loading FFmpeg for x86 CPU"); cpuArchNameFromAssets = "x86"; break;*/ case ARMv7: Log.i("Loading FFmpeg for armv7 CPU"); cpuArchNameFromAssets = "armeabi-v7a"; break; case NONE: throw new FFmpegNotSupportedException("Device not supported"); }
-
and finally delete 'ffmpeg' from 'assets/x86' directory
now run build. it worked for me