diff --git a/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy b/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy index aec61593..47d93baf 100644 --- a/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy +++ b/source/src/main/groovy/com/kezong/fataar/VariantProcessor.groovy @@ -558,10 +558,10 @@ class VariantProcessor { } FatUtils.mergeFiles(files, of) } catch (Exception e) { - e.printStackTrace() FatUtils.logAnytime(("If you see this error message, please submit issue to " + "https://github.com/kezong/fat-aar-android/issues with version of AGP and Gradle. Thank you.") ) + e.printStackTrace() } } } diff --git a/source/src/main/java/com/kezong/fataar/LibraryManifestMerger.java b/source/src/main/java/com/kezong/fataar/LibraryManifestMerger.java index 628ae1b7..552f78a0 100644 --- a/source/src/main/java/com/kezong/fataar/LibraryManifestMerger.java +++ b/source/src/main/java/com/kezong/fataar/LibraryManifestMerger.java @@ -40,11 +40,11 @@ protected void doTaskAction() { try { doFullTaskAction(); } catch (Exception e) { - e.printStackTrace(); System.out.println("Gradle Plugin Version:" + mGradlePluginVersion); System.out.println("Gradle Version:" + mGradleVersion); System.out.println("If you see this error message, please submit issue to " + "https://github.com/kezong/fat-aar-android/issues with Gradle version. Thank you."); + e.printStackTrace(); } }