When i build project in android studio it’s throw an error: package com.payumoney.sdkui.ui.utils does not exist.
Error at import com.payumoney.sdkui.ui.utils.PayUmoneyFlowManager;
tried to add dependency implementation ‘com.payumoney.sdkui:plug-n-play:1.6.1’ in build.gradle.
After adding dependency tried to build project:
Error Caused by: java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs.
Logs at AndroidManifest.xml
Merging Errors: Warning Namespace ‘com.payu.custombrowser’ used in: AndroidManifest.xml, AndroidManifest.xml. payu-custom-browser:7.9.0 manifest Error: android:exported needs to be explicitly specified for element <activity#com.payu.custombrowser.PreLollipopPaymentsActivity>. 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. main manifest (this file), line 24
2
Answers
You need to specify an explicit value for
android:exported
forPreLollipopPaymentsActivity
in your module’s AndroidManifest.xml file.If you are looking to implement the Payu-money then it will help you,
I’ve implemented it successfully
checkout this link with reference code example