Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
834751c0
Commit
834751c0
authored
Nov 05, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
使用NDK-R20B编译通过
parent
32109610
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
README.md
README.md
+4
-4
libcore/build.gradle
libcore/build.gradle
+1
-1
libygo/build.gradle
libygo/build.gradle
+1
-1
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/utils/ScreenUtil.java
...e/src/main/java/cn/garymb/ygomobile/utils/ScreenUtil.java
+1
-1
mobile/src/main/res/values-zh/strings.xml
mobile/src/main/res/values-zh/strings.xml
+3
-3
No files found.
README.md
View file @
834751c0
...
...
@@ -8,13 +8,13 @@ Android编译环境
ndk编译环境(请用迅雷,旋风,或者翻墙vpn下载)
---------------------
稳定ndk
https://dl.google.com/android/repository/android-ndk-r
15
b-windows-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r
15
b-darwin-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r
15
b-linux-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r
20
b-windows-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r
20
b-darwin-x86_64.zip
https://dl.google.com/android/repository/android-ndk-r
20
b-linux-x86_64.zip
重要
---------------------------------------------
NDKR
15
编译已经通过,更加新的NDK可能通不过
NDKR
20
编译已经通过,更加新的NDK可能通不过
根据自己的系统下载上面的压缩包,解压并且配置环境变量,cmd窗口,输ndk-build --version,看到一堆数字和英文的版权就是ok了
不懂环境变量?没关系,自己自动把下文的ndk-build前面,加上NDK解压的文件夹比如D:
\N
DK
\n
dk-build -j4
...
...
libcore/build.gradle
View file @
834751c0
...
...
@@ -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"
...
...
libygo/build.gradle
View file @
834751c0
...
...
@@ -5,7 +5,7 @@ android {
defaultConfig
{
minSdkVersion
21
ndkVersion
"
15.1.4119039
"
ndkVersion
"
20.1.5948944
"
//noinspection ExpiredTargetSdkVersion
targetSdkVersion
29
...
...
mobile/build.gradle
View file @
834751c0
...
...
@@ -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"
}
...
...
mobile/src/main/java/cn/garymb/ygomobile/utils/ScreenUtil.java
View file @
834751c0
...
...
@@ -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
;
...
...
mobile/src/main/res/values-zh/strings.xml
View file @
834751c0
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment