Skip to content

Commit 9075b88

Browse files
committed
fix: fix the way android appResources are processed
Currently we copy all App_Resources from ./app/App_Resources/Android/* to ./platforms/../app/src. As there is src folder in ./app/App_Resources/Android/*, we receive as a result inside platforms ./platforms/app/../src/src.
1 parent ac38f16 commit 9075b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/android-project-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,8 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
289289

290290
this.$fs.ensureDirectoryExists(platformsAppResourcesPath);
291291

292-
this.$fs.copyFile(path.join(projectAppResourcesPath, platformData.normalizedPlatformName, "*"), platformsAppResourcesPath);
293-
const appResourcesDirStructureHasMigrated = this.$androidResourcesMigrationService.hasMigrated(projectAppResourcesPath);
292+
this.$fs.copyFile(path.join(projectAppResourcesPath, platformData.normalizedPlatformName, "*"), path.dirname(platformsAppResourcesPath));
293+
const appResourcesDirStructureHasMigrated = this.$androidResourcesMigrationService.hasMigrated(projectAppResourcesPath);
294294
if (appResourcesDirStructureHasMigrated) {
295295
this.$fs.copyFile(path.join(projectAppResourcesPath, platformData.normalizedPlatformName, "src", "*"), platformsAppResourcesPath);
296296
} else {

0 commit comments

Comments
 (0)