Getting started, however, you can quickly run your applications on an emulator or your ownĭevelopment device by building in debug mode. Procedure for generating a private key and then using it to sign your. You're ready to release your application and share it with end-users. It's important that you read and understand Signing Your Applications, particularly once Must manually sign it with your own private key, using Keytool and Jarsigner. You cannot distribute an application that is signed with a debug key.
apk file is automatically signed by the SDK tools withĪ debug key, so it's instantly ready for installation onto an emulator or attachedĭevelopment device. apk file that you can install on an emulator or device. Whether you're building in debug mode or release mode, you need to use the Ant tool to compileĪnd build your project. In debug mode and with your own private key when building in release mode.
It must be signed before it can install on an emulator or device-with a debug key when building Regardless of which way you build your application, Testing/debugging your application - debug mode - and one for building yourįinal package for release - release mode.
There are two ways to build your application using the Ant build script: one for For more information on transitioning to these
You should migrate your app development projects toĪndroid Studio and Gradle as soon as possible. Important: Support for Ant as a build tool for Android is ending, per ourĪnnouncement.