Skip to content

Commit

Permalink
support more CPU architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
tom committed Feb 19, 2016
1 parent 6fb1074 commit 121a5e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,15 @@ out of the box android video player base on [ijkplayer](https://github.com/Bilib
# how to import library
## method 1: using gradle
1. add `maven { url "https://jitpack.io" }` to your root project build file allprojects->repositories
2. add `compile 'com.github.tcking.GiraffePlayer:giraffeplayer:0.3'` to your app build file
2. add `compile 'com.github.tcking.GiraffePlayer:giraffeplayer:0.4'` to your app build file

## method 2: clone project
1. git clone https://github.com/tcking/GiraffePlayer.git
2. android studio->file->New->Import module->select `giraffeplayer`

## notice:
the player default support 6 CPU architecture:ARMv5, ARMv7, ARMv8,x86 and 86_64,if your project need't support all of the architectures,you can remove the folder in `ijkplayer-java/src/main/jniLibs` to generate a light APK.
read this first:[How to use 32-bit native libaries on 64-bit Android device](http://stackoverflow.com/questions/30782848/how-to-use-32-bit-native-libaries-on-64-bit-android-device),[What you should know about .so files](http://ph0b.com/android-abis-and-so-files/),[关于Android的.so文件你所需要知道的](http://www.jianshu.com/p/cb05698a1968)

# How to use ([example code](https://github.com/tcking/GiraffePlayer/blob/master/app/src/main/java/tcking/github.com/giraffeplayer/example/MainActivity.java))
## case 1: only what to play a vedio fullscreen
Expand Down

0 comments on commit 121a5e0

Please sign in to comment.