qrcode_scanner
qrcode_scanner copied to clipboard
Error in AndroidManifest
/home/sivatharan/Desktop/Ondemand/ondemand_customer/android/app/src/debug/AndroidManifest.xml:19:9-36 Error:
Attribute application@icon value=(@mipmap/logo) from AndroidManifest.xml:19:9-36
is also present at [:qrscan] AndroidManifest.xml:22:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to
hello, to resolve that you have to go, to the path: /home/sivatharan/Desktop/Ondemand/ondemand_customer/android/app/src/debug/AndroidManifest.xm and delete this line. AndroidManifest.xml:22:9-43 value=(@mipmap/ic_launcher).
@jjimenezr23 in android/app/src/debug/AndroidManifest.xml does not exists at line the flag "value=(@mipmap/ic_launcher)". Any suggestion?
hello, to resolve that you have to go, to the path: /home/sivatharan/Desktop/Ondemand/ondemand_customer/android/app/src/debug/AndroidManifest.xm and delete this line. AndroidManifest.xml:22:9-43 value=(@mipmap/ic_launcher).
In app's AndroidManifest.xml add this line tools:replace="android:allowBackup,android:icon,android:theme"
<application android:name=".MyApplication" android:allowBackup="false" android:icon="@mipmap/ic_launcher_business" android:label="@string/app_name" android:largeHeap="true" android:roundIcon="@mipmap/ic_launcher_business_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true" tools:replace="android:allowBackup,android:icon,android:theme" tools:ignore="GoogleAppIndexingWarning">
In app's AndroidManifest.xml add this line tools:replace="android:allowBackup,android:icon,android:theme"
<application android:name=".MyApplication" android:allowBackup="false" android:icon="@mipmap/ic_launcher_business" android:label="@string/app_name" android:largeHeap="true" android:roundIcon="@mipmap/ic_launcher_business_round" android:supportsRtl="true" android:theme="@style/AppTheme" android:usesCleartextTraffic="true" tools:replace="android:allowBackup,android:icon,android:theme" tools:ignore="GoogleAppIndexingWarning">
also check this link so that the "tools" prefix is ​​recognized