There's only two that I know of, and both are listed when you click the little icon to the right of that field. I think it's MODULE_DIR and PROJECT_DIR.
On Fri, Oct 17, 2014 at 7:23 PM, Farley Lai <[email protected]> wrote: > Thank you, sir. That works. BTW, where can I find the reference about > those pre-defined variables? > > On Friday, October 10, 2014 12:14:51 AM UTC-5, Jake Wharton wrote: >> >> cmd+shit+a -> "edit configurations", default -> junit, working directory >> -> $MODULE_DIR$ >> >> >> >> >> On Thu, Oct 9, 2014 at 6:48 PM, Farley Lai <[email protected]> wrote: >> >>> Hi, all, >>> >>> Version of Android Studio (available in the about box): 0.8.8 >>> OS version: Mac OSX 10.9.4 >>> Java JRE/JDK version: 8 >>> >>> >>> A unit test in a subproject accesses a file through a relative path. If >>> triggered from the Android Studio interface menu (right click and run the >>> test), the path is relative to the root project. However, if triggered by >>> the Gradle in the command line, it is relative to the subproject. >>> >>> Though it's easier to run the unit tests from the interface, sometime we >>> want the unit tests to be scheduled to run from command line Gradle. This >>> inconsistency bugs the team once in a while. We would consider the AS >>> should behave consistently as Gradle runs the tasks from the command line, >>> that is, relative to the subproject path. >>> >>> Any idea for a quick fix? >>> Thanks. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "adt-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "adt-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
