question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] - Manifest merge error

See original GitHub issue

It was working 5 days ago

  • 4.2.0 also tried the latest no luck

Describe the bug Cant build my app it works the last time i build it

4.2.0 Error

> Task :app:processDebugMainManifest FAILED
C:\Users\ASTI\Desktop\sprint_ten\secondary\kooha_android\app\src\main\AndroidManifest.xml:49:13-49 Error:
	Attribute activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity@theme value=(@android:style/Theme) from [com.github.CanHub:Android-Image-Cropper:4.2.0] AndroidManifest.xml:49:13-49
	is also present at [androidx.test:core:1.0.0] AndroidManifest.xml:29:13-84 value=(@style/InstrumentationActivityInvokerEmptyActivityTheme).
	Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:46:9-53:20 to override.
C:\Users\ASTI\Desktop\sprint_ten\secondary\kooha_android\app\src\main\AndroidManifest.xml:57:13-56 Error:
	Attribute activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity@theme value=(@android:style/Theme.Dialog) from [com.github.CanHub:Android-Image-Cropper:4.2.0] AndroidManifest.xml:57:13-56
	is also present at [androidx.test:core:1.0.0] AndroidManifest.xml:36:13-87 value=(@style/InstrumentationActivityInvokerFloatingActivityTheme).
	Suggestion: add 'tools:replace="android:theme"' to <activity> element at AndroidManifest.xml:54:9-61:20 to override.

4.3.2 Error

> Task :app:processDebugMainManifest FAILED
C:\Users\ASTI\Desktop\sprint_ten\secondary\kooha_android\app\src\main\AndroidManifest.xml:27:9-33:20 Error:
	android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.
C:\Users\ASTI\Desktop\sprint_ten\secondary\kooha_android\app\src\main\AndroidManifest.xml:34:9-40:20 Error:
	android:exported needs to be explicitly specified for element <activity#androidx.test.core.app.InstrumentationActivityInvoker$EmptyFloatingActivity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
ahmednawaz22commented, Sep 28, 2022

@thekingrenz23 thanks buddy 😃 issue was in manifest file of jetifier-core-1.0.0

1reaction
thekingrenz23commented, Sep 28, 2022

@ahmednawaz22 add me on discord ill show you here is my id code.wizard#1787

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manifest merger failed targeting Android 12 - Stack Overflow
Using Android Studio 4.2.1, after changing sdk target to Android 12 in my build.gradle file, I am getting a Manifest merger failed with...
Read more >
[BUG] Manifest Merge Error · Issue #4099 · stripe/stripe-android
Hi, I have upgrage the stripe version to 9.6.0 and i got following error while gradle building: [com.stripe:stripe-android:16.9.0] ...
Read more >
Manage manifest files - Android Developers
Tip: Use the Merged Manifest view to preview the results of your merged manifest and find conflict errors. Merge priorities. The merger tool ......
Read more >
manifest merger failed | The search engine you control.
Manifest merger failed with multiple errors, see logs. It is the best solution is to check :- [i] Android manifest file. duplicate or...
Read more >
Manifest merger failed with multiple errors, see logs - Reddit
My AndroidManifest.xml file: https://pastebin.com/2cgxjPzi Merged manifest error: https://gyazo.com/f937e8080478f2bf092d09a00d8790e7 How do ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found