Error:Cause: buildToolsVersion is not specified

前端 未结 12 2274
慢半拍i
慢半拍i 2020-12-24 00:50

I create a simple project and then I right-click on the project and then I use the make mudole app option. Now I have two build.gradle folders: 1-

12条回答
  •  失恋的感觉
    2020-12-24 01:15

    in file... build.gradle(Project: XXX):

    repositories{
         //put pluging repository here
         //e.g.:
         mavenCentral()
    }
    dependencies{
         //classpath to plugin here
         classpath 'com.XXXX.xXXxxXX.XXXX' 
    }
    

    in file.... build.gradle(Module: app)

    //add on top:
    apply plugin: 'com.YOUR.PLUGIN.XXX'
    

提交回复
热议问题