When executing step "Build Android APK"解决方案
来源:互联网 发布:五金重量计算软件 编辑:程序博客网 时间:2024/04/29 06:39
一般出现When executing step "Build Android APK"这种情况属于环境配置问题
第一,点击工具——选项——Andriod
检查JDK,SDK,NDK,Ant,四项是否安装,和路径文件是否存在
第二,添加jdk到环境变量中
然后打开cmd输入java命令查看是否添加正确
第三,添加adb.exe到环境变量中
C:\Program Files (x86)\Android\android-sdk\platform-tools
同样打开cmd输入adb命令查看是否添加成功
第四,添加环境变量ANDROID_NDK_ROOT
第五,添加C:\apache-ant-1.9.9\bin到环境变量中
第六,在构建里面的环境变量设置里面查看环境变量都是否正确,不正确或者没有的要添加
最后,xml文件的api版本需要配置和你的安卓系统相同
xml文件中
都必须是23
最后生成的apk文件就出来了
阅读全文
0 0
- When executing step "Build Android APK"解决方案
- qt5 When executing step "Deploy to Android device"
- Qt Creator 为什么编译一直出现When executing build step 'qmake'呢?
- When executing step "Deploy to Android device"
- 提示 Could not start process "**.sh" When executing step 'Custom Process Step'
- Ubuntu 安装 QT;常见错误的解决;When executing step 'Make' ;cannot find -lgl
- android application apk build
- [Android]INSTALL_FAILED_NO_MATCHING_ABIS when installing apk
- android studio大坑 executing external native build for cmake
- 【Android NDK开发】executing external native build for cmake
- ionic生成apk使用build命令(ionic build android)下载gradle-2.2.1-all.zip慢,解决方案
- android studio build apk菜单
- android build apk过程详解
- Unable to delete directory: F:\Android\AndroidStudioWorkSpace\AIDLDemo\app\build\outputs\apk终极解决方案
- [Build+Android+Development+Environment+Step+1]Initializing+a+Build+Environment
- ORA-04030 when executing RMAN.
- error when build android-4.2.2 ?
- Ant BUILD FAILED The following error occurred while executing this line: xxx 解决方案
- 第1章对运行在YARN上的Spark进行性能调优
- 显著性检测方法FT
- 导出部分选中的商--积分商城
- 网易两种排序方法
- PRAGMA AUTONOMOUS_TRANSACTION(自治事务)【整理】
- When executing step "Build Android APK"解决方案
- android跳转到系统应用的相关API
- SpringBoot整合模板引擎Thymeleaf
- AIDL不同APP间调用service出现Service Intent must be explicit 解决方案
- 1092. To Buy or Not to Buy
- 文章标题
- 阿里云服务器(windows server2008)下安装SVN
- ST_Curve专业曲线绘制控件
- RR报文解析(三)利用LSR, DLSR计算RTT