Configuration with name 'default' not found

android studio 总是报错,最后才找到是这个原因:

include ‘:frontend-dadicinema’, ‘:frontend-dadibase’, ‘:BaimesDeviceDriver1’, ‘:BaimesSdk1’, ‘:app’, ‘:tpycinemabase1’
project(‘:tpycinemabase1’).projectDir = new File(‘tpycinemabase’)
project(‘:BaimesSdk1’).projectDir = new File(‘BaimesSdk’)
project(‘:BaimesDeviceDriver1’).projectDir = new File(‘BaimesDeviceDriver’)

写成module的配置没有配置上,在set.gradle 里面写上你要配置成module的工程,比如这样:

project(‘:tpycinemabase1’).projectDir = new File(‘tpycinemabase’)

你可能感兴趣的:(Android,应用开发指导)