compile-ijk.sh all # Android Studio: # Open an existing Android Studio project # Select android/ijkplayer/ and import # define ext block in your root adle # ext # If you want to enable debugging ijkplayer(native modules) on Android Studio 2.2+: (experimental) # sh android/patch-debugging-with-lldb.sh armv7a # Install Android Studio 2.2(+) # Preference -> Android SDK -> SDK Tools # Select (LLDB, NDK, Android SDK Build-tools,Cmake) and install # Open an existing Android Studio project # Select android/ijkplayer # Sync Project with Gradle Files # Run -> Edit Configurations -> Debugger -> Symbol Directories # Add "ijkplayer-armv7a/.externalNativeBuild/ndkBuild/release/obj/local/armeabi-v7a" to Symbol Directories # Run -> Debug 'ijkplayer-example' # if you want to reverse patches: # sh patch-debugging-with-lldb.sh reverse armv7a # Eclipse: (obselete) # File -> New -> Project -> Android Project from Existing Code # Select android/ and import all project # Import appcompat-v7 # Import preference-v7 # Gradle # cd ijkplayer # gradle Git clone ijkplayer-android cd ijkplayer-android git checkout -B latest k0.8.8. obsolete cpu: ARMv5, ARMv6, MIPS (I don't even have these types of devices…).obsolete platforms (Android: API-8 and below iOS: pre-6.0).alternative-backend:, (obselete since iOS 8).hw-decoder: MediaCodec (API 16+, Android 4.1+).video-output: NativeWindow, OpenGL ES 2.0.cpu: ARMv7a, ARM64v8a, x86 (ARMv5 is not tested on real devices).workaround for some buggy online video.remove rarely used ffmpeg components to reduce binary size config/module-lite.sh.
0 Comments
Leave a Reply. |