Closed MonMohon closed 3 years ago
As error gives you solution do this
Suggestion: add 'tools:replace="android:usesCleartextTraffic"' to
i did like this below but again error
Put that in application tag
On Fri, 22 Jan, 2021, 8:07 pm Mon Mohon Singha, notifications@github.com wrote:
i did like this below but again error [image: image] https://user-images.githubusercontent.com/304477/105504091-5d76bf80-5ced-11eb-9578-902af0b4df10.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Suraj-Tiwari/react-native-payumoney/issues/46#issuecomment-765444983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJOPOQGJBZCFW4J3BR3U5LS3GERZANCNFSM4WON4INQ .
The prefix "tools" for attribute "tools:replace" associated with an element type "manifest" is not bound.
please help
Put that in application tag … On Fri, 22 Jan, 2021, 8:07 pm Mon Mohon Singha, @.***> wrote: i did like this below but again error [image: image] https://user-images.githubusercontent.com/304477/105504091-5d76bf80-5ced-11eb-9578-902af0b4df10.png — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#46 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJOPOQGJBZCFW4J3BR3U5LS3GERZANCNFSM4WON4INQ .
ok will try
i put in application tag generate error
The prefix "tools" for attribute "tools:replace" associated with an element type "application" is not bound.
see this file for example
On Fri, 22 Jan, 2021, 8:15 pm Mon Mohon Singha, notifications@github.com wrote:
The prefix "tools" for attribute "tools:replace" associated with an element type "application" is not bound.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Suraj-Tiwari/react-native-payumoney/issues/46#issuecomment-765451552, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJOPOR5KULZVRM4BTSGAVTS3GFRRANCNFSM4WON4INQ .
I follow your step mention above but produce another error i don't know is this thing related to this package or not
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives: The number of method references in a .dex file cannot exceed 64K. Learn how to resolve this issue at https://developer.android.com/tools/building/multidex.html
I removed this issue by adding the following lines
add multiDexEnabled true in android>app>build.gradle inside defaultConfig
add implementation 'com.android.support:multidex:1.0.3' in android>app>build.gradle inside dependencies
FAILURE: Build failed with an exception.