Hi,

Trying to run an AsInput transform with android gradle plugin 1.4.0-beta6 
as follows:

getOutputFormat() - I return Format.JAR

getScopes() - I ask for all the scopes

In my case, SUB_PROJECTS_LOCAL_DEPS doesn't contain anything. If I look at:

...\build\intermediates\transforms\CLASSES_and_RESOURCES\SUB_PROJECTS_LOCAL_DEPS\extractJars\demo\debug

- it is an empty directory.

Therefore, when the transform() runs, my transform is never called for the 
scope SUB_PROJECTS_LOCAL_DEPS, which makes sense.

However, when the Dex transform runs, it generates the following error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test2:transformClassesWithDexForDemoDebug'.
> java.io.FileNotFoundException: 
D:\AndroidStudioProjects\test2\build\intermediates\transforms\CLASSES\SUB_PROJECTS_LOCAL_DEPS\safedkWrap\demo\debug\classes.jar
 
(The system cannot find the file specified)

That doesn't make sense, as my transform was not called to produce any 
output for SUB_PROJECTS_LOCAL_DEPS...

Can you please take a look at that?

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.

Reply via email to