当前位置:网站首页>Wang Xuegang - compiled shipment line file
Wang Xuegang - compiled shipment line file
2022-08-02 08:25:00 【qczg_wxg】
We follow The steps written in the previous blog compile the main file executable in Linux.Then put it into the SDcard of the mobile phone and found that it cannot be executed.
Supplement:
Steps to put in Sdcard
adb shell
adb sdcard
./main0801
It can be executed in Linux, but not in Android, we cannot execute it across platforms.At this time, the NDK is used.
Download NDK in Linux system
wget NDK address
mv file rename
unzip
Unzip the NDK into a directory.Start compiling
pwd get the path of the current file,
open vim /etc/profile
configure environment variables
export NDKROOT=/root/study/android-ndk-r25
export PATH= N D K R O O T : NDKROOT: 
source /etc/profile saveModify
Enter echo $NDKROOT to see if the modification is successful
If the NDK path is output, the modification is successful, for example, my path is: /root/study/android-ndk-r25
边栏推荐
猜你喜欢
随机推荐
MySQL事务(transaction) (有这篇就足够了..)
IO process thread -> process -> day4
Data Middle Office: Started in Ali, Prosperous in DaaS
ROS file system and related commands
如何保护智能家居不受黑客攻击
Biotin-EDA|CAS:111790-37-5| 乙二胺生物素
2022年防止网络攻击的15个网络安全实践,你学会了吗?
知识点滴 - 为什么一般不用铜锅做菜
停止精神内耗 每日分享
静态路由综合实验
多表的查询
5分钟搞懂MySQL - 行转列
HCIP 第九天
MGRE环境下的OSPF
flutter解决键盘和输入框不适配问题
uni.navigateBack 中的坑
mysql如何从某一行检索到最后
多版本node的安装与切换详细操作
WebGPU 导入[2] - 核心概念与重要机制解读
59: Chapter 5: Develop admin management services: 12: MongoDB usage scenarios; (non-core data, non-core data with a relatively large amount of data, small private files such as face photos;)



![[Unity3D] Beginner Encryption Skills (Anti-Cracking)](/img/07/4a0731dd66b058c07d6240ffd36eea.png)





