Skip to content

Commit c729a2a

Browse files
Fatme HavaluovaFatme Havaluova
authored andcommitted
Fix path to res folder when old ant template is built for first time
1 parent 9be124a commit c729a2a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/services/android-project-service.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,11 @@ class AndroidProjectService extends projectServiceBaseLib.PlatformProjectService
6363

6464
public getAppResourcesDestinationDirectoryPath(): IFuture<string> {
6565
return (() => {
66-
return path.join(this.platformData.projectRoot, "src", "main", "res");
66+
if(this.canUseGradle().wait()) {
67+
return path.join(this.platformData.projectRoot, "src", "main", "res");
68+
}
69+
70+
return path.join(this.platformData.projectRoot, "res");
6771
}).future<string>()();
6872
}
6973

0 commit comments

Comments
 (0)