Comments (9)
You can use https://pub.dev/packages/barcode_scan2
from qrcode_scanner.
Hi, I get the same error!
from qrcode_scanner.
Is this plugin abandoned? There is no update to plugin. Did you guys find any other solutions?
from qrcode_scanner.
I'm getting the same issue, any solution on this, please!
from qrcode_scanner.
i need solution!
π±π±π±
from qrcode_scanner.
place
tools:replace="android:icon"
in the AndroidManifest.xml tag
from qrcode_scanner.
from qrcode_scanner.
The android studio IDE suggested me to do that.
When I use drawable/ic_launcher.png
Instead of mipmap/ic_launcher.png
The IDE throws an error.
Launching lib\main.dart on SM A305F in debug mode...
Running Gradle task 'assembleDebug'...
D:\FlutterProjects\qr_code_scanner\android\app\src\debug\AndroidManifest.xml:14:9-45 Error:
Attribute application@icon value=(@drawable/ic_launcher) from AndroidManifest.xml:14:9-45
is also present at [:qrscan] AndroidManifest.xml:22:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:12:4-57:19 to override.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : Attribute application@icon value=(@drawable/ic_launcher) from AndroidManifest.xml:14:9-45
is also present at [:qrscan] AndroidManifest.xml:22:9-43 value=(@mipmap/ic_launcher).
Suggestion: add 'tools:replace="android:icon"' to <application> element at AndroidManifest.xml:12:4-57:19 to override.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
Exception: Gradle task assembleDebug failed with exit code 1
Here is my AndroidMenifest.xml file
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.newagedevs.qr_code_scanner.qr_code_scanner">
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
tools:ignore="ScopedStorage" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<application
android:label="@string/app_name"
android:icon="@drawable/ic_launcher"
android:roundIcon="@drawable/ic_launcher_round"
android:allowBackup="true"
tools:replace="android:icon"
android:fullBackupContent="true">
<!--Activities-->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
Adding
tools:replace="android:icon"
this line inside tag fix this issue. Thank you!
from qrcode_scanner.
This will help https://www.youtube.com/watch?v=w-n0jUrUtPI&list=PLQhQEGkwKZUqZC2QAp_u4ZAzqpsCCRvmM&index=10 https://www.youtube.com/watch?v=QpnVENc9dIA&list=PLQhQEGkwKZUqZC2QAp_u4ZAzqpsCCRvmM&index=11
from qrcode_scanner.
Related Issues (20)
- Null when user cancelled the scan using Back Button HOT 9
- icon replaced HOT 1
- [LANDSCAPEORIENTATION], [ISSUE]
- εΈζζ₯ΌδΈ»θ½εζΆζ΄θΏ
- Can i get a photo after scan ? HOT 1
- δ»ηΈειζ©η §ηθΏθ‘ζ«η οΌε¦ζη §ηεη΄ θΏι«δΌζ«η ε€±θ΄₯
- Please upgrade plugin HOT 2
- Remove ic_launcher icon from AndroidManifest
- The plugins `qrscan` use a deprecated version of the Android embedding. HOT 13
- Build not compatible with flutter_facebook_auth HOT 1
- Use qrscan with front camera HOT 1
- The plugin `qrscan` uses a deprecated version of the Android embedding. HOT 3
- ζ―ζiosε HOT 1
- Unable to build application 'Could not resolve com.github.leyan95:android-zxingLibrary:0.1.2-PRE' HOT 6
- qrscan: ^0.3.3 unable get HOT 1
- There is no MainActivity.java in the android folder. HOT 2
- A lot of bugs I found HOT 1
- Not support code128 HOT 1
- Why does this plugin work fine on Xiamoi and Huawei better than "barcode_scanner_kit" plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrcode_scanner.