:app:processArmMoDebugManifest
/Users/mateuszgrzechocinski/dev/myProject/app/src/debug/AndroidManifest.xml:3:11 Error:
Attribute manifest@package value=(com.myproject) from AndroidManifest.xml:3:11
is also present at com.android.support:appcompat-v7:19.1.0:17:11 value=(android.support.v7.appcompat)
Suggestion: add 'tools:replace="package"' to <manifest> element at AndroidManifest.xml:2:1 to override
diff --git a/app/src/debug/AndroidManifest.xml b/app/src/debug/AndroidManifest.xml
index 71d937a..6df3584 100644
--- a/app/src/debug/AndroidManifest.xml
+++ b/app/src/debug/AndroidManifest.xml
@@ -1,8 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.myproject">
+ xmlns:tools="http://schemas.android.com/tools"
+ package="com.myproject"
+ tools:replace="package">
- <application>
+
+<application>
:app:processArmMoDebugManifest
/Users/mateuszgrzechocinski/dev/myProject/app/src/debug/AndroidManifest.xml:2:1 Error:
tools:replace specified at line:2 for attribute tools:package, but no new value specified
/Users/mateuszgrzechocinski/dev/myProject/app/src/debug/AndroidManifest.xml:0:0 Error:
--
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 adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
some more information, another way you can customize your debug application Id is by following these steps :1. in your build.gradledebug {applicationIdSuffix 'debug'}2. in your main manifest file, leave your package declaration but remove it from all the build-type/flavor specific AndroidManifest files.this is not generating the issue you mentioned above.
On Thu, Jun 26, 2014 at 5:25 PM, Jerome Dochez <je...@google.com> wrote:
first, if you are stuck you can always revert to the old manifest mergerandroid {
useOldManifestMerger true
}now, we should not be merging the manifest attributes coming from libraries. This is obviously a bug we need to fix on our end.
--
OK I got the same setting. Only the fix will do at this point unfortunately.
Jerome
To unsubscribe from this group and stop receiving emails from it, send an email to adt-dev+unsubscribe@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "adt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adt-dev/2g7s42cp39c/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adt-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
