adwiv / android-fat-aar

Gradle script that allows you to merge and embed dependencies in generted aar file
The Unlicense
1.46k stars 435 forks source link

Execution failed for task ':{module}:embedManifests'. #62

Open roremeol opened 7 years ago

roremeol commented 7 years ago

Error:Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. FAILURE: Build failed with an exception.

Where: Script 'https://raw.githubusercontent.com/roremeol/android-fat-aar/master/fat-aar.gradle' line: 356

What went wrong: Execution failed for task ':{module}:embedManifests'.

java.io.FileNotFoundException: /..../AndroidManifest.orig.xml (No such file or directory) Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Fix The Android Studio 2.3 with Gradle 3.3 has changed the $bundle_release_dir: $build_dir/intermediates/bundles/release -> $build_dir/intermediates/bundles/default

The fix is to replace $bundle_release_dir path to "$build_dir/intermediates/bundles/default" (fat-aar.gradle, line #81)