Gradle is issuing an error “Could not create plugin of type 'AppPlugin'”

后端 未结 10 745
北荒
北荒 2020-11-29 04:46

I\'m trying to create a simple android project with gradle. I work in a computer with Debian GNU/Linux 7 \'wheezy\'.

I followed the recomendations in Gradle Plugin U

10条回答
  •  被撕碎了的回忆
    2020-11-29 05:20

    If you are attempting to update your Gradle 1.9 project to Gradle 1.10 using

    task wrapper(type: Wrapper) {
        gradleVersion = '1.10'
    }
    

    and command ./gradlew wrapper you will get the same error as above.

    Solution is to install Gradle 1.10 onto your machine and upgrade your project not using the wrapper

    gradle wrapper

提交回复
热议问题