Hi guys, I found an issue using the Transform API of the Android Gradle Plugin 1.4.0-beta2 when running a second build. The scenario is as follows:
First I run a build with a AsInputTransform requesting all scopes, and the outputs into the given directories: 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\PROJECT_LOCAL_DEPS\safedkWrap\demo\debug' 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\EXTERNAL_LIBRARIES\safedkWrap\demo\debug' 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\SUB_PROJECTS\safedkWrap\demo\debug' 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\SUB_PROJECTS_LOCAL_DEPS\safedkWrap\demo\debug' 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\PROJECT\safedkWrap\demo\debug' The outputs in the above directories are class files (not jars). The app built fine and ran well on the device. Then I made one change in the MainActivity.java file and reran the rebuild. Got the following errors: FAILURE: Build failed with an exception. * What went wrong: Some problems were found with the configuration of task ':test2:transformClassesWithSafedkWrapForDemoDebug'. > Cannot write to file 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\PROJECT_LOCAL_DEPS\safedkWrap\demo\debug' specified for property 'streamOutputFiles' as it is a directory. > Cannot write to file 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\EXTERNAL_LIBRARIES\safedkWrap\demo\debug' specified for property 'streamOutputFiles' as it is a directory. > Cannot write to file 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\SUB_PROJECTS\safedkWrap\demo\debug' specified for property 'streamOutputFiles' as it is a directory. > Cannot write to file 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\SUB_PROJECTS_LOCAL_DEPS\safedkWrap\demo\debug' specified for property 'streamOutputFiles' as it is a directory. > Cannot write to file 'D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\PROJECT\safedkWrap\demo\debug' specified for property 'streamOutputFiles' as it is a directory. Am I doing something wrong? Thanks! Ariel -- 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.
