简体   繁体   English

专家我的项目Visual Studio C#Android转换为PK

[英]Expert my project visual studio c# android to as pk

I'm working on the Android XMrain application by visual studio c # and I finished the application but I can not make it ready to install in apk format, but I see the application in the files of the project and take it and installed in the smartphone can not install it and hangs smart phone, although it is compatible with the release of Android and the device 我正在使用Visual Studio C#开发Android XMrain应用程序,并完成了该应用程序,但无法使其以apk格式安装,但我在项目文件中看到了该应用程序,并将其安装在智能手机无法安装并挂起智能手机,尽管它与Android版本和设备兼容

I think that the tool in the Studio Studio is installed in it to output the applications to become ready?ا 我认为Studio Studio中已安装了该工具,以输出准备就绪的应用程序?

See this doc . 请参阅此文档

You must archive the project first before signing the APK. 您必须先对项目进行存档,然后再对APK签名。

Right click your project in solution browser and click archive button. 在解决方案浏览器中右键单击您的项目,然后单击存档按钮。 It takes several seconds. 这需要几秒钟。 And do not forgot to select project configuration as release. 并且不要忘记选择项目配置作为发行版。 If not, the archiving will fail. 否则,归档将失败。

Then, the archive window will appear. 然后,将出现存档窗口。 This window can open from Tools menu in VS. 可以从VS中的“工具”菜单打开此窗口。

Now, you can signing the APK in this window. 现在,您可以在此窗口中对APK签名。 Select the project and click distribute button and follow the dialog. 选择项目,然后单击分发按钮,然后单击对话框。

If you selected the Ad Hoc options, you can take a signed APK file in the final step which can be uploaded to Android Developer Console. 如果您选择了“临时”选项,则可以在最后一步中获取签名的APK文件,该文件可以上传到Android开发者控制台。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM