Gradle error when building the android-support-test project -


i'm trying build android support testing project. i'm following these instructions. i've got build env setup , i've synced repo. when try build project error.

$ pwd /volumes/android/android-support-test  $ ls -l -r--r--r--   1 me  staff    87 feb  5 12:56 makefile -rw-r--r--   1 me  staff   749 feb  5 16:14 android-support-test.iml drwxr-xr-x  11 me  staff   374 feb  5 12:56 build lrwxr-xr-x   1 me  staff    31 feb  5 12:57 build.gradle -> frameworks/testing/build.gradle drwxr-xr-x  16 me  staff   544 feb  5 12:57 external drwxr-xr-x   4 me  staff   136 feb  5 12:57 frameworks drwxr-xr-x   3 me  staff   102 feb  5 16:14 gradle -r-xr-xr-x   1 me  staff  5884 feb  5 12:57 gradlew lrwxr-xr-x   1 me  staff    35 feb  5 12:57 local.properties -> frameworks/testing/local.properties drwxr-xr-x   3 me  staff   102 feb  5 16:17 out drwxr-xr-x   7 me  staff   238 feb  5 12:57 prebuilts lrwxr-xr-x   1 me  staff    34 feb  5 12:57 settings.gradle -> frameworks/testing/settings.gradle  $ ./gradlew assembledebug honour jvm settings build new jvm forked. please consider using daemon: http://gradle.org/docs/2.5/userguide/gradle_daemon.html. configuration on demand incubating feature.  failure: build failed exception.  * where: build file '/volumes/android/android-support-test/frameworks/testing/build.gradle' line: 16  * went wrong: problem occurred evaluating root project 'android-support-test'. > not read script '/volumes/android/android-support-test/version.gradle' not exist.  * try: run --stacktrace option stack trace. run --info or --debug option more log output.  build failed  total time: 3.31 secs 

the version.gradle file in /volumes/android/android-support-test/frameworks/testing build.gradle looking in /volumes/android/android-support-test.

i think aliasing of build.gradle -> frameworks/testing/build.gradle not working correctly. missing something?

the frameworks/testing repo project should have contained additional sym link, can create yourself:

ln -s frameworks/testing/version.gradle version.gradle 

h/t john lombardo on android testing support library google group


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -