LayoutCast
LayoutCast copied to clipboard
no valid android project found
this problem in cast.py
if not projlist:
print('no valid android project found in '+os.path.abspath(dir))
exit(3)
and projlist is to find project list and launch project
projlist = [i for i in list_projects(dir) if is_launchable_project(i)]
so,i think should setting.gradle cause this problem because my setting.gradle like this
//List all projects here
String[] projects = [
"MainProject",
"lib_1",
"lib_2",
];
//include and config projects
for (String p : projects) {
include p;
project(":" + p).projectDir = new File(p)
}
then i change
include ':MainProject', ':lib_1', ":lib_2",
need include 'app'
the app contain build.gradle file the file contain apply plugin: 'com.android.application'