doneservices / flutter_callkeep

iOS CallKit and Android ConnectionService bindings for Flutter
57 stars 39 forks source link

unable to run example project #44

Closed imSaharukh closed 1 year ago

imSaharukh commented 1 year ago

unable to run the app getting the following error.

using flutter_callkeep: ^0.3.0

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > Android resource linking failed
     ERROR:/Users/imsaharukh/Dev/munchies/munchies_rider/build/flutter_callkeep/intermediates/packaged_res/debug/layout/activity_call_incoming.xml:7: AAPT: error: resource color/done_purple (aka com.now.munchies_rider:color/done_purple) not found.

     ERROR:/Users/imsaharukh/Dev/munchies/munchies_rider/build/flutter_callkeep/intermediates/packaged_res/debug/layout/activity_call_incoming.xml:24: AAPT: error: resource string/callHeader (aka com.now.munchies_rider:string/callHeader) not found.

     ERROR:/Users/imsaharukh/Dev/munchies/munchies_rider/build/flutter_callkeep/intermediates/packaged_res/debug/layout/activity_call_incoming.xml:45: AAPT: error: resource string/answer (aka com.now.munchies_rider:string/answer) not found.

     ERROR:/Users/imsaharukh/Dev/munchies/munchies_rider/build/flutter_callkeep/intermediates/packaged_res/debug/layout/activity_call_incoming.xml:60: AAPT: error: resource string/decline (aka com.now.munchies_rider:string/decline) not found.
imSaharukh commented 1 year ago

same goes for latest example app

Ayman-Barghout commented 1 year ago

Thanks for opening an issue @imSaharukh. These are missing resource values, you can add them currently in your app's Android res/values directory, mainly the strings.xml and colors.xml files until I update the package and documentation.