浏览代码

1.增加cocos2dxlib,ijkplayer的so包

FailedToRead 2 年之前
父节点
当前提交
3a824db56c
共有 6 个文件被更改,包括 6 次插入13 次删除
  1. 二进制
      .idea/caches/build_file_checksums.ser
  2. 4 0
      app/proguard-rules.pro
  3. 2 13
      gradle.properties
  4. 二进制
      libs/armeabi-v7a/libijkffmpeg.so
  5. 二进制
      libs/armeabi-v7a/libijkplayer.so
  6. 二进制
      libs/armeabi-v7a/libijksdl.so

二进制
.idea/caches/build_file_checksums.ser


+ 4 - 0
app/proguard-rules.pro

@@ -42,3 +42,7 @@
 # keep anysdk for release. you can comment if you are not using anysdk
 -keep public class com.anysdk.** { *; }
 -dontwarn com.anysdk.**
+#ijkplayer
+-keep class tv.danmaku.ijk.media.player.** {*;}
+-keep class tv.danmaku.ijk.media.player.IjkMediaPlayer{*;}
+-keep class tv.danmaku.ijk.media.player.ffmpeg.FFmpegApi{*;}

+ 2 - 13
gradle.properties

@@ -1,46 +1,35 @@
 # Project-wide Gradle settings.
-
 # IDE (e.g. Android Studio) users:
 # Gradle settings configured through the IDE *will override*
 # any settings specified in this file.
-
 # For more details on how to configure your build environment visit
 # http://www.gradle.org/docs/current/userguide/build_environment.html
-
 # Specifies the JVM arguments used for the daemon process.
 # The setting is particularly useful for tweaking memory settings.
 # Default value: -Xmx10248m -XX:MaxPermSize=256m
 # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
-
 # When configured, Gradle will run in incubating parallel mode.
 # This option should only be used with decoupled projects. More details, visit
 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
 # org.gradle.parallel=true
-
 # Android SDK version that will be used as the compile project
 PROP_COMPILE_SDK_VERSION=31
-
 # Android SDK version that will be used as the earliest version of android this application can run on
 PROP_MIN_SDK_VERSION=21
-
 # Android SDK version that will be used as the latest version of android this application has been tested on
 PROP_TARGET_SDK_VERSION=31
-
 # Android Build Tools version that will be used as the compile project
 PROP_BUILD_TOOLS_VERSION=28.0.3
-
 # List of CPU Archtexture to build that application with
 # Available architextures (armeabi-v7a | arm64-v8a | x86)
 # To build for multiple architexture, use the `:` between them
 # Example - PROP_APP_ABI=armeabi-v7a
 PROP_APP_ABI=armeabi-v7a
-
 # fill in sign information for release mode
 RELEASE_STORE_FILE=G:/CocosCreator/cocoscreator_ide/CocosCreator_v2.4.0_20200622_win/resources/static/build-templates/native/debug.keystore
 RELEASE_STORE_PASSWORD=123456
 RELEASE_KEY_ALIAS=debug_keystore
 RELEASE_KEY_PASSWORD=123456
-
 android.injected.testOnly=false
-android.useAndroidX = true
-android.enableJetifier = false
+android.useAndroidX=true
+android.enableJetifier=false

二进制
libs/armeabi-v7a/libijkffmpeg.so


二进制
libs/armeabi-v7a/libijkplayer.so


二进制
libs/armeabi-v7a/libijksdl.so