So, here's the thing, I have a .aar file, and when i add it as a dependency as follows:
compile('com.foo:bar:1.0.0@aar')
It generates the following file:
build > intermediates > exploded-aar > com.foo > bar > bar-1.0.0
which contains the classes.jar, sources, etc.
However, it SHOULD be doing the following:
build > intermediates > exploded-aar > com.foo > bar > 1.0.0
Does anyone have any clue as to why my aar isn't being imported correctly?
This is a problem, as the following error occurs when building the gradle:
com.android.manifmerger.ManifestMerger2$MergeFailureException: java.io.FileNotFoundException: /build/intermediates/exploded-aar/com.foo/bar/1.0.0/AndroidManifest.xml (No such file or directory)
However, it is clearly visible in the bar-1.0.0 directory.
Edit: more info
- Tested on 5 machines. All running AS 0.8.9, fresh install, fresh clone.
- Jdk 1.6 and 1.7 tested
- --refresh-dependencies called to make sure any changes have been collected
Nothing works.