Skip to content

1.3 - Can not build new project due to missing App_Resources #763

@emiloberg

Description

@emiloberg

Feel free to move this to the correct repo if needed.

As of 1.3, when creating a new project, it is unbuildable on Android due to missing App_Resources-folder.

When creating a new project:

tns create clean
cd clean
tns platform add ios
tns platform add android

tns deploy android --device 1

This fails with:

/Users/emiloberg/code/slask/clean-nativescript-project/clean/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:24:23-37 : No resource found that matches the given name (at 'icon' with value '@drawable/icon').

:processDebugResources FAILED

FAILURE: Build failed with an exception.

Reason for this is because there is no App_Resources folder (and it's content) in the app folder. When copying an App_Resources folder from another project, the build works.

I'd say this is quite major as new users can not create their first project.

(The project is buildable on iOS as iOS do not need an app icon).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions