-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter run error AndoridManifest #97
Comments
@addreeh its happening because of the "label" attribute is also defined in our SDK.Try to 'tools:replace="android:label". attribute to the application element in your AndroidManifest.xml file. |
I already did it, I put it in the issue, this is the error trace: FAILURE: Build failed with an exception.
BUILD FAILED in 33s |
@addreeh can you share your AndroidManifest code |
|
which gradle version you are using? |
@addreeh try to add this line (xmlns:tools="http:https://schemas.android.com/tools") under manifest element |
Like this |
Ok, its working thanks. Another doubt, is possibly to open the chatbot at elevated button press? |
You can call buildConversation method of kommunicate in the onPressed() |
I tried and it gives me this error and the app crash: Flutter code: Also tried with:
|
I fix that using that https://docs.kommunicate.io/docs/android-customization |
@addreeh that above crash temporary. Fix is to add that applozic-settings.json file, in the upcoming release it will be fixed and you will not be required to add that customisation file |
And there is any way to customize the colors? I am trying to change it in taht file applozic-settings.json, but it dont change. |
@addreeh which colour customisation are you trying to do,And are you creating new user everytime when build conversation method is called? |
I tried to launch my application with the latest plugin version and I get this error:
`C:\Users\Administrator\Desktop\flutter\tgpersonalcloud\android\app\src\debug\AndroidManifest.xml Error:
Attribute application@label value=(TGPersonalCloud) from (unknown)
is also present at [io.kommunicate.sdk:kommunicateui:2.8.0] AndroidManifest.xml:21:9-41 value=(@string/app_name).
Suggestion: add 'tools:replace="android:label"' to element at AndroidManifest.xml:9:5-41:19 to override.
FAILURE: Build failed with an exception.
Execution failed for task ':app:processDebugMainManifest'.
BUILD FAILED in 2s
Running Gradle task 'assembleDebug'... 3,2s
Exception: Gradle task assembleDebug failed with exit code 1`
I also tried to add the tools:replace line and i get this other error:
`
FAILURE: Build failed with an exception.
Execution failed for task ':app:processDebugMainManifest'.
BUILD FAILED in 2s
Running Gradle task 'assembleDebug'... 3,1s
Exception: Gradle task assembleDebug failed with exit code 1`
The text was updated successfully, but these errors were encountered: