Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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