diff --git a/MySound/.idea/compiler.xml b/MySound/.idea/compiler.xml deleted file mode 100644 index 96cc43e..0000000 --- a/MySound/.idea/compiler.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MySound/.idea/copyright/profiles_settings.xml b/MySound/.idea/copyright/profiles_settings.xml deleted file mode 100644 index e7bedf3..0000000 --- a/MySound/.idea/copyright/profiles_settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/MySound/.idea/gradle.xml b/MySound/.idea/gradle.xml deleted file mode 100644 index 7ac24c7..0000000 --- a/MySound/.idea/gradle.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/MySound/.idea/misc.xml b/MySound/.idea/misc.xml deleted file mode 100644 index 5d19981..0000000 --- a/MySound/.idea/misc.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/MySound/.idea/modules.xml b/MySound/.idea/modules.xml deleted file mode 100644 index 4108799..0000000 --- a/MySound/.idea/modules.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/MySound/.idea/runConfigurations.xml b/MySound/.idea/runConfigurations.xml deleted file mode 100644 index 7f68460..0000000 --- a/MySound/.idea/runConfigurations.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/MySound/app/build.gradle b/MySound/app/build.gradle index fe29800..2c6414c 100644 --- a/MySound/app/build.gradle +++ b/MySound/app/build.gradle @@ -13,10 +13,12 @@ android { externalNativeBuild { cmake { cppFlags "-std=c++11 -frtti -fexceptions" - abiFilters "armeabi" + abiFilters "armeabi-v7a" } } - + ndk { + abiFilters "armeabi-v7a" + } } buildTypes { release { diff --git a/MySound/app/libs/armeabi-v7a/libfmod.so b/MySound/app/libs/armeabi-v7a/libfmod.so new file mode 100644 index 0000000..d21a863 Binary files /dev/null and b/MySound/app/libs/armeabi-v7a/libfmod.so differ diff --git a/MySound/app/libs/armeabi-v7a/libfmodL.so b/MySound/app/libs/armeabi-v7a/libfmodL.so new file mode 100644 index 0000000..9a83e46 Binary files /dev/null and b/MySound/app/libs/armeabi-v7a/libfmodL.so differ diff --git a/MySound/app/src/main/res/layout/content_main.xml b/MySound/app/src/main/res/layout/content_main.xml index f9493e3..b8fbe30 100644 --- a/MySound/app/src/main/res/layout/content_main.xml +++ b/MySound/app/src/main/res/layout/content_main.xml @@ -27,6 +27,7 @@ 版权声明:转载必须注明本文转自张鹏辉的博客: http://blog.csdn.net/qingtiangg -
- >大家好,距离上一篇博客半年过去了,关于上一篇博客很多人加我QQ留言问了几个问题,最近不忙决定解决一下,并写几个文档总结下这半年的经验,这篇文档主要是记录下移植的过程。 +>
+> 大家好,距离上一篇博客半年过去了,关于上一篇博客很多人加我QQ留言问了几个问题,最近不忙决定解决一下,并写几个文档总结下这半年的经验,这篇文档主要是记录下移植的过程。 # 统计 @@ -28,7 +31,7 @@ Android Studio NDK目前有两种玩法: ##1.创建新项目(Create New Project) 勾选上 Include C++ Support - + ![这里写图片描述](http://img.blog.csdn.net/20170803150811282?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvUWluZ1RpYW5HRw==/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/SouthEast) 接下来和普通创建一样一路 ---->Next到下图这个页面 @@ -133,7 +136,7 @@ target_link_libraries( sound fmod fmodL >中文翻译的简易的 CMake手册 >https://www.zybuluo.com/khan-lau/note/254724 - + 最后一步配置build.gradle直接上图了: