Execution failed for task ':app:checkDebugDuplicateClasses'. Ionic4 Android

前端 未结 4 1328
你的背包
你的背包 2021-01-07 22:07

I\'m currently working on an ionic4 application, but recently it stopped working while building the application on an android reall device after adding https://ionicframewor

4条回答
  •  臣服心动
    2021-01-07 22:23

    I had this issue when I migrated to Androidx using the Android Studio feature but at the first time the migration was not successful so each time I tried to compile I ran into this issue.

    To resolve this issue, I did the following:

    [1] Comment all androidx dependencies in the app bundle.gradle file
    [2] Try the Migrate to Androidx. You can see this link in Refactor -> Migrate to Androidx. If the migration was successful, then
    [3] Uncomment all androidx dependencies in the app bundle.gradle file
    

    You may clean and build your project again, hopefully this error should disappear.

提交回复
热议问题