René's URL Explorer Experiment


Title: Android build fails when App_Resources folder is renamed · Issue #3400 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Android build fails when App_Resources folder is renamed · Issue #3400 · NativeScript/nativescript-cli

X Title: Android build fails when App_Resources folder is renamed · Issue #3400 · NativeScript/nativescript-cli

Description: Please, provide the details below: Tell us about the problem If you rename App_Resources folder and set the new path in nsconfig.json - build fails. Which platform(s) does your issue occur on? Android Please provide the following version...

Open Graph Description: Please, provide the details below: Tell us about the problem If you rename App_Resources folder and set the new path in nsconfig.json - build fails. Which platform(s) does your issue occur on? Andr...

X Description: Please, provide the details below: Tell us about the problem If you rename App_Resources folder and set the new path in nsconfig.json - build fails. Which platform(s) does your issue occur on? Andr...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/3400

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Android build fails when App_Resources folder is renamed","articleBody":"## Please, provide the details below:\r\n\r\n### Tell us about the problem\r\nIf you rename `App_Resources` folder and set the new path  in `nsconfig.json` - build fails.\r\n\r\n### Which platform(s) does your issue occur on?\r\nAndroid\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\n- CLI: [PR 3356 Kddimitrov/nsconfig app folder](https://github.com/NativeScript/nativescript-cli/pull/3356)\r\n- Cross-platform modules: `3.4.1`\r\n- Runtime(s): \r\n\"tns-android\" `3.4.1-2018-02-27-03`\r\n\"tns-ios\" `3.4.1`\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\n1. `tns create SomeApp`\r\n2. Rename `App_Resources` folder\r\n3. In project root folder create `nsconfig.json` with the new path to `App_Resources` folder like this:\r\n4. tns run android\r\n\r\n```\r\n{\r\n    \"appResourcesPath\": \"app/My_App_Resources\"\r\n}\r\n```\r\n\r\n### Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.\r\nHere is the log\r\n```\r\nSearching for devices...\r\nPreparing project...\r\nSuccessfully prepared plugin nativescript-theme-core for android.\r\nSuccessfully prepared plugin tns-core-modules for android.\r\nSuccessfully prepared plugin tns-core-modules-widgets for android.\r\nProject successfully prepared (Android)\r\nBuilding project...\r\nGradle build...\r\n         + applying user-defined configuration from .../AppNSConfig3/app/My_App_Resources/Android/app.gradle\r\n         + adding nativescript runtime package dependency: nativescript-optimized\r\n         + adding aar plugin dependency: .../AppNSConfig3/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar\r\nfalse\r\n.../AppNSConfig3/platforms/android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:28:23-37: AAPT: No resource found that matches the given name (at 'icon' with value '@drawable/icon').\r\n    \r\n.../AppNSConfig3/platforms/android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:35:28-52: AAPT: No resource found that matches the given name (at 'theme' with value '@style/LaunchScreenTheme').\r\n    \r\n.../AppNSConfig3/platforms/android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:25: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon').\r\n\r\n.../AppNSConfig3/platforms/android/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:31: error: Error: No resource found that matches the given name (at 'theme' with value '@style/LaunchScreenTheme').\r\n\r\n\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:processDebugResources'.\r\n> com.android.ide.common.process.ProcessException: Failed to execute aapt\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 15s\r\nUnable to apply changes on device: emulator-5554. Error is: Command ./gradlew failed with exit code 1.\r\n```\r\n","author":{"url":"https://github.com/Natalia-Hristova","@type":"Person","name":"Natalia-Hristova"},"datePublished":"2018-02-27T17:32:21Z","url":"https://github.com/NativeScript/nativescript-cli/issues/3400"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:89a36d1f-6da8-1caf-81ba-a75438099784
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E16:1D86C4:15FA08D:1BF0AE9:6B013356
html-safe-nonced7083ff9a96ad9f483f72da78d0911e4c98123f34b030c207b05a1414810a1f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTE2OjFEODZDNDoxNUZBMDhEOjFCRjBBRTk6NkIwMTMzNTYiLCJ2aXNpdG9yX2lkIjoiNjE5NzM3NjEyNjE1NTgzMDEwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7d76b378a13bba8b9ecf5e49065f6eb32e44e29a764b62355a9cc00a0980d858
hovercard-subject-tagissue:300724609
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/nativescript-cli/3400/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4a7453ea3f16cb9b67a2a9ed6499215cc7ac0d5765d3ee9d808e3c5d63c08216/NativeScript/nativescript-cli/issues/3400
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4a7453ea3f16cb9b67a2a9ed6499215cc7ac0d5765d3ee9d808e3c5d63c08216/NativeScript/nativescript-cli/issues/3400
og:image:altPlease, provide the details below: Tell us about the problem If you rename App_Resources folder and set the new path in nsconfig.json - build fails. Which platform(s) does your issue occur on? Andr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameNatalia-Hristova
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/issues/3400#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F3400
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F3400
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/3400
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/3400
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/3400
NativeScripthttps://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Codehttps://github.com/NativeScript/nativescript-cli
Issues357 (357)https://github.com/NativeScript/nativescript-cli/issues
Pull requests37 (37)https://github.com/NativeScript/nativescript-cli/pulls
Actionshttps://github.com/NativeScript/nativescript-cli/actions
Projectshttps://github.com/NativeScript/nativescript-cli/projects
Security and qualityhttps://github.com/NativeScript/nativescript-cli/security
Insightshttps://github.com/NativeScript/nativescript-cli/insights
https://github.com/NativeScript/nativescript-cli
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/3400
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/3400
Android build fails when App_Resources folder is renamedhttps://github.com/NativeScript/nativescript-cli/issues/3400#top
https://github.com/petekanev
os: androidhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
4.0.0https://github.com/NativeScript/nativescript-cli/milestone/67
https://github.com/Natalia-Hristova
Natalia-Hristovahttps://github.com/Natalia-Hristova
on Feb 27, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#issue-300724609
PR 3356 Kddimitrov/nsconfig app folderhttps://github.com/NativeScript/nativescript-cli/pull/3356
Natalia-Hristovahttps://github.com/Natalia-Hristova
os: androidhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
on Feb 27, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#event-1494939562
Natalia-Hristovahttps://github.com/Natalia-Hristova
4.0.0https://github.com/NativeScript/nativescript-cli/milestone/67
on Feb 27, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#event-1494939563
Natalia-Hristovahttps://github.com/Natalia-Hristova
petekanevhttps://github.com/petekanev
on Feb 27, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#event-1494939565
dtopuzovhttps://github.com/dtopuzov
ready for testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
on Mar 6, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#event-1505950921
https://github.com/Natalia-Hristova
Natalia-Hristovahttps://github.com/Natalia-Hristova
on Mar 6, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#issuecomment-370784278
Natalia-Hristovahttps://github.com/Natalia-Hristova
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 6, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#event-1506513508
Natalia-Hristovahttps://github.com/Natalia-Hristova
ready for testhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22ready%20for%20test%22
on Mar 6, 2018https://github.com/NativeScript/nativescript-cli/issues/3400#event-1506513665
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-cli/issues/3400
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/3400
petekanevhttps://github.com/petekanev
os: androidhttps://github.com/NativeScript/nativescript-cli/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
4.0.0https://github.com/NativeScript/nativescript-cli/milestone/67
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.