Error :- Execution failed for task ':app:dexDebug' in android studio

后端 未结 4 1800
灰色年华
灰色年华 2020-12-17 18:24

I newly Android project started a new default project. Everytime I try to start the app this error occurs:

build.gradle(Module:app)

apply plugin: \'c         


        
4条回答
  •  难免孤独
    2020-12-17 18:34

    Probably you dont add suport-v4 library correctly in your project.
    Check this :

    1. you have add this library to all modules that need it (If you have more than module in your project like main module and library module).
    2. Check that you dont add this library twice.

    Finally if this didn't resolve your problem try to remove this library from your imported libraries list and your project modules dependency list and import and add it again from one source to your project , then try rebuild the project or restart the IDE.
    I hope this way can help you :)

提交回复
热议问题