手机
当前位置:查字典教程网 >软件教程 >编程开发 >解决Mono For Android不能编译问题:Could not create the Android package
解决Mono For Android不能编译问题:Could not create the Android package
摘要:最近一直在用XamarinMonoForAndroid,因为国内的资料太少,所以很多问题都需要自己动手去弄清除。前几天,很多群友反映了不能打...

最近一直在用Xamarin Mono For Android,因为国内的资料太少,所以很多问题都需要自己动手去弄清除。前几天,很多群友反映了不能打包(或Debug)APK文件的问题,提示是这样的,错误:Could not create the Android package. See the Output (Build) window for more details.

Mono For Android !错误:Could not create the Android package. See the Output (Build) window for more details.

吾乐吧软件站提醒大家,解决方法:

可能性1:可能是你的VS创建的项目路径含有中文或其他杂乱数据,建议直接创建在 D: 试试!!

2014年9月9日补充说明:

可能性2:错误详情里面有这么一句话:找不到D:Program FilesAndroidandroid-sdktoolszipalign.exe

直接去这个目录 D:Program FilesAndroidandroid-sdkbuild-tools20.0.0zipalign.exe

PS:上面路径中的20.0.0,换成你本地相应的路径,反正有zipalign.exe就可以

拷贝zipalign.exe到D:Program FilesAndroidandroid-sdktoolszipalign.exe,然后重启VS,接着重新编译就可以了

2013年4月20日补充说明:

Deployment failed because of an internal error: Failure [INSTALL_FAILED_INVALID_URI]

如果大家发现,路径没有中文目录、特殊字符,但还是不能打包编译,可能是因为你的APK文件已经生成了,但是被其他程序占用(例如:你用腾讯手机管家正在使用你的APK文件),请结束其他的程序,确定没有被占用,这样就可以顺利打包编译了。

【解决Mono For Android不能编译问题:Could not create the Android package】相关文章:

Notepad++ 6.7.8.2更新内容 Notepad++ 6.7.8.2下载地址

C++实现日志清理代码

editplus怎么插入表格?editplus插入html表格的方法

Excel Services OverView系列3 使用Excel Web Services操作Excel工作薄

phonegap3.4.0安装详细步骤

Android Studio怎么查看程序的安全码获取SHA1值?

github客户端使用时无法登录的解决方法

vs2010怎么插入断点和取消断点?

vs2005编译时出现C2859错误该怎么办?

MyEclipse代码提示设置包括html和jsp的代码

精品推荐
分类导航