[英]How can I save my Android application so that the end-user can execute it without the Android SDK
I have recently started programming for the Android platform. 我最近开始为Android平台编程。 I have a simple application which I would like to email to someone so that they can execute the application and check how it works.
我有一个简单的应用程序,我想通过电子邮件发送给某人,以便他们可以执行该应用程序并检查其工作方式。
I am currently using the Emulator in the Android SDK to execute my application but the person who I am emailing it to does not have Android SDK and it would be a mission to send the whole project folder. 我目前在Android SDK中使用仿真器来执行我的应用程序,但是向我发送电子邮件的人没有Android SDK,这将是发送整个项目文件夹的任务。
Is there any way that I can send just one file such as an .exe or something that would allow the recipient to execute the application to see how it works. 有什么方法可以仅发送一个文件(例如.exe)或其他可以使收件人执行应用程序以查看其工作方式的文件。
Thanks so much for your help in advance guys 非常感谢您对大家的帮助
If you just want to send it to a user for testing purposes, you can enable the setting in the target android device to allow "unknown sources" (I don't know the proper english name, as I don't have an english android here at the moment). 如果您只想将其发送给用户进行测试,则可以在目标android设备中启用该设置,以允许“未知来源”(我不知道英文名的正确名称,因为我没有英文android。此刻)。 You can find this in the app settings.
您可以在应用设置中找到它。
In your development environment look for the apk
file created by eclipse. 在您的开发环境中,查找由eclipse创建的
apk
文件。 Then connect your smartphone to the pc and copy the apk over. 然后将您的智能手机连接到PC并复制apk。 Start up a file manager and click on the apk and it will install just like any other app.
启动文件管理器,然后单击apk,它将与其他任何应用程序一样安装。
If you want to deploy it properly, you have to sign it and probably follow the procedures from google. 如果您想正确部署它,则必须对其进行签名,并可能遵循google的步骤。 Since I don't have a fully deployable app yet, I can't say what the procedures is for that, but the google site is very helpfull on all aspects about android programming.
由于我还没有完全可部署的应用程序,因此我无法说说该程序的用途,但是Google网站在有关Android编程的各个方面都非常有帮助。
Check the "bin" folder in your project path. 检查项目路径中的“ bin”文件夹。 There you will have a .apk that you can share with your clients.
在那里,您将拥有一个.apk,可以与您的客户共享。
If they execute it in an Android mobile phone the application will be installed. 如果他们在Android手机中执行该程序,则将安装该应用程序。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.