Android : Building Android apps with Gradle -- empty bin directory

on Monday, September 29, 2014


I am following the Android Developer's Activity Testing Tutorial, however, since I am using Android Studio I am following the tutorial using the section For Users Not Developing in Eclipse (located in the tutorial's appendix).


In step 5, it states "Build the sample application.". I am using Gradle as my build tool and building as follows:



cd Spinner
./gradlew assembleDebug


This results in "BUILD SUCCESSFUL", however the bin directory is empty (does not contain "SpinnerActivity-debug.apk" as required/expected by the tutorial).


How do I build using Gradle such that the bin directory contains the file "SpinnerActivity-debug.apk"?


0 comments:

Post a Comment