forked from qt-creator/qt-creator
Fix Android plugin.
Change-Id: I56533be94fc868d04bd1d289ff9d3c381391d41b Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
committed by
Tobias Hunger
parent
a1d4afad67
commit
bb0573a8aa
@@ -432,10 +432,15 @@ bool AndroidManager::createAndroidTemplatesIfNecessary(ProjectExplorer::Target *
|
||||
}
|
||||
}
|
||||
|
||||
Utils::FileName src = androidPath;
|
||||
src.appendPath("src");
|
||||
Utils::FileName res = androidPath;
|
||||
res.appendPath("res");
|
||||
|
||||
if (!forceUpdate && androidPath.toFileInfo().exists()
|
||||
&& manifestPath(target).toFileInfo().exists()
|
||||
&& androidPath.append(QLatin1String("/src")).toFileInfo().exists()
|
||||
&& androidPath.append(QLatin1String("/res")).toFileInfo().exists())
|
||||
&& src.toFileInfo().exists()
|
||||
&& res.toFileInfo().exists())
|
||||
return true;
|
||||
|
||||
forceUpdate &= androidPath.toFileInfo().exists();
|
||||
|
||||
Reference in New Issue
Block a user