Commit 834751c0 authored by fallenstardust's avatar fallenstardust

使用NDK-R20B编译通过

parent 32109610
......@@ -8,13 +8,13 @@ Android编译环境
ndk编译环境(请用迅雷,旋风,或者翻墙vpn下载)
---------------------
稳定ndk
https://dl.google.com/android/repository/android-ndk-r15b-windows-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r15b-darwin-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r15b-linux-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r20b-windows-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r20b-darwin-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip
重要
---------------------------------------------
NDKR15编译已经通过,更加新的NDK可能通不过
NDKR20编译已经通过,更加新的NDK可能通不过
根据自己的系统下载上面的压缩包,解压并且配置环境变量,cmd窗口,输ndk-build --version,看到一堆数字和英文的版权就是ok了
不懂环境变量?没关系,自己自动把下文的ndk-build前面,加上NDK解压的文件夹比如D:\NDK\ndk-build -j4
......
......@@ -8,7 +8,7 @@ android {
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 29
flavorDimensions "versionCode"
ndkVersion "15.1.4119039"
ndkVersion "20.1.5948944"
/* ndk {
moduleName "YGOMobile"
abiFilters "armeabi-v7a","x86"
......
......@@ -5,7 +5,7 @@ android {
defaultConfig {
minSdkVersion 21
ndkVersion "15.1.4119039"
ndkVersion "20.1.5948944"
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 29
......
......@@ -13,7 +13,7 @@ android {
versionName "3.11.11"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
ndkVersion "15.1.4119039"
ndkVersion "20.1.5948944"
ndk {
abiFilters "armeabi-v7a", "arm64-v8a", "x86"
}
......
......@@ -190,7 +190,7 @@ public class ScreenUtil {
ClassLoader classLoader = activity.getClassLoader();
@SuppressWarnings("rawtypes")
Class SystemProperties = classLoader.loadClass("android.os.SystemProperties");
//参数类型
//参数类型
@SuppressWarnings("rawtypes")
Class[] paramTypes = new Class[2];
paramTypes[0] = String.class;
......
......@@ -90,7 +90,7 @@
<item>日本語</item>
</string-array>
<!-- settings -->
<string name="server_list">直连决斗</string>
<string name="server_list">联机对战</string>
<string name="server_name">名称:</string>
<string name="server_desc">备注:</string>
<string name="server_ip">主机信息:</string>
......@@ -133,7 +133,7 @@
<string name="label_category">效果分类</string>
<string name="linkmarker">◀连接标记▶</string>>
<string name="searching">读取中</string>
<string name="card_faq">在线裁定查询</string>
<string name="card_faq">裁定查询</string>
<string name="no_webbrowser">没有安装浏览器</string>
<string name="load_game">启动游戏中</string>
......@@ -227,7 +227,7 @@
<string name="failed_reason">登录失败,原因是</string>
<string name="notice_verify_email">请验证账号邮箱后重登方可进入聊天室</string>
<string name="send">发送</string>
<string name="mc_home">直连大厅</string>
<string name="mc_home">直连决斗</string>
<string name="bbs">社区</string>
<string name="McNews">公告</string>
<string name="settings_pref_settings_only_game">直接启动游戏</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment