当前位置:网站首页>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
边栏推荐
- 研发过程中的文档管理与工具
- 软件测试技术之解析图灵测试离我们还有多远
- Biotin hydrazide HCl|CAS:66640-86-6|生物素-酰肼盐酸盐
- Biotinyl Cystamine | CAS: 128915-82-2 | biotin cysteamine
- MySQL事务(transaction) (有这篇就足够了..)
- Figure robot software digital twin station oil and gas pipelines, oil and gas transportation control platform
- ROS file system and related commands
- 52.【bool类型输入任何非0数值不为1的版本原因】
- 17、生成长图,并上传至服务器
- Appium swipe problem
猜你喜欢
随机推荐
图扑软件数字孪生油气管道站,搭建油气运输管控平台
HCIP第二天
Application and case analysis of CASA model and CENTURY model
Stop mental exhaustion Daily sharing
IO进程线程->进程->day4
What is NoSQL?Databases for the cloud-scale future
mysql如何从某一行检索到最后
爬虫——爬虫初识、requests模块
prometheus监控mysql_galera集群
原型模式
HCIP第七天
@Repository详解
Biotinyl Cystamine|CAS:128915-82-2|生物素半胱胺
postgres groupby 合并字符串
研发过程中的文档管理与工具
MySQL常见索引类型
通过建立新的SaaS业务来推动增长的六种方法
按键控制流水灯(计时器)
postgres groupby merge strings
Ansible 学习总结(11)—— task 并行执行之 forks 与 serial 参数详解


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






