Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Android Build a Simple Android App (2014) Testing and Debugging Running the App on a Device

Elie Haykal
Elie Haykal
8,163 Points

Here is how to generate an APK to share with others

I found this over at stackoverflow:

1) click on the drop down menu on the toolbar at the top (usually with android icon and name of your application) 2) select Edit configurations 3) click plus sign at top left corner or press alt+insert 4) select Gradle 5) choose your module as Gradle project 6) in Tasks: enter assemble 7) press OK 8) press play

After that you should find your apk in directory ProjectName\build\outputs\apk