René's URL Explorer Experiment


Title: How to can i build for android using github actions · NativeScript · Discussion #10693 · GitHub

Open Graph Title: How to can i build for android using github actions · NativeScript · Discussion #10693

X Title: How to can i build for android using github actions · NativeScript · Discussion #10693

Description: How to can i build for android using github actions

Open Graph Description: I have setup a workflow file using menny/android image for container. I usually use that for my android projects. Here is my workflow, so i wanted to see what the template "myCoolApp" for javascrip...

X Description: I have setup a workflow file using menny/android image for container. I usually use that for my android projects. Here is my workflow, so i wanted to see what the template "myCoolApp" for...

Opengraph URL: https://github.com/orgs/NativeScript/discussions/10693

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"How to can i build for android using github actions","text":"

I have setup a workflow file using menny/android image for container. I usually use that for my android projects.
\nHere is my workflow, so i wanted to see what the template \"myCoolApp\" for javascript looked like and tried building it ,

\n
name: nativeScript\n\non:\n  push:\n    branches: Nad\njobs:\n  build:\n    runs-on: ubuntu-latest\n    container: johnel/nativescript\n    steps:\n    - uses: actions/checkout@v4\n    - name: Run g4f\n      run: |\n        ns create myCoolApp --js\n        cd myCoolApp\n        ns build android\n        gh release create \"${{ github.run_number }}.0.0\" myCoolapp.zip\n      env:\n        GITHUB_TOKEN: ${{ secrets.TK }}\n      shell: bash
\n

I have ran into the same error that has be reported multiple time by alot of new users. I was detetmined to get started but something like settingup a simple build environment has taken me sometime.

\n
A compatible Android SDK for compilation is found.\nJavac is installed and is configured properly.\nThe Java Development Kit (JDK) is installed and is configured properly.\nLocal builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.\n✔ Your ANDROID_HOME environment variable is set and points to correct directory.\n✔ Your adb from the Android SDK is correctly installed.\n✔ A compatible Android SDK for compilation is found.\n✔ Javac is installed and is configured properly.\n✔ The Java Development Kit (JDK) is installed and is configured properly.\n✔ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.\n✖ WARNING: The Android SDK is not installed or is not configured properly. \n You will not be able to run your apps in the native emulator. To be able to run apps\nin the native Android emulator, verify that you have installed the latest Android SDK \nand its dependencies as described in \n
\n

Just incase you need it . I created a simple image

\n
FROM menny/android\nMAINTAINER John Delvin <johndelvin51@gmail.com>\n\n# NodeJS\nRUN apt-get update -y\nRUN apt-get install nodejs -y\nRUN apt-get install npm -y\nRUN wget https://github.com/cli/cli/releases/download/v2.50.0/gh_2.50.0_linux_amd64.deb\nRUN apt install -y ./gh_2.50.0_linux_amd64.deb\nRUN npm install -g nativescript
","upvoteCount":2,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Hi, you can enable abi splits https://old.docs.nativescript.org/angular/tooling/publishing/android-abi-split#enable-abi-split to reduce the size of your apk. NativeScript android app pack v8 which is around 15-20MB in size for each architecture. Right now you are building universal apk which packs everything for all archs making the apk around 90MBs. In reality when you release your app to the android playstore as an aab, the final release apk will be much smaller in size.

","upvoteCount":0,"url":"https://github.com/orgs/NativeScript/discussions/10693#discussioncomment-12136166"}}}

route-pattern/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/:org/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:5a67cffd-cda6-d8ee-a96c-08f4306c1749
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idE3EC:2E67B:132F18B:19D1EE6:6964A23B
html-safe-noncee59f9932608424ff4f29f9ea09c3fbd4a9c344a4bd5ab7bbf5cbfcc9dff63c8e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0VDOjJFNjdCOjEzMkYxOEI6MTlEMUVFNjo2OTY0QTIzQiIsInZpc2l0b3JfaWQiOiI1MDIxOTMwNTg0NjYxMDc0NDkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac412ee1faa9f40e13bfe26ea780b25cea9256452235a42e27776388b94a4cf4b0
hovercard-subject-tagdiscussion:7941907
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/orgs/NativeScript/10693/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/19779d1fc4dbd0d0ecf666d9b912868af25dd5467e29d3773f53ffe983d6a0e7/orgs/NativeScript/discussions/10693
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/19779d1fc4dbd0d0ecf666d9b912868af25dd5467e29d3773f53ffe983d6a0e7/orgs/NativeScript/discussions/10693
og:image:altI have setup a workflow file using menny/android image for container. I usually use that for my android projects. Here is my workflow, so i wanted to see what the template "myCoolApp" for javascrip...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonebaa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5
turbo-cache-controlno-preview
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
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
release842eff1d11f899d02b6b3b98fa3ea4860e64b34e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/discussions/10693#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FNativeScript%2Fdiscussions%2F10693
NativeScripthttps://github.com/NativeScript
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FNativeScript%2Fdiscussions%2F10693
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/discussions/10693
Reloadhttps://github.com/NativeScript/NativeScript/discussions/10693
Reloadhttps://github.com/NativeScript/NativeScript/discussions/10693
NativeScript https://github.com/NativeScript
Overview https://github.com/NativeScript
Repositories https://github.com/orgs/NativeScript/repositories
Discussions https://github.com/orgs/NativeScript/discussions
Projects https://github.com/orgs/NativeScript/projects
Packages https://github.com/orgs/NativeScript/packages
People https://github.com/orgs/NativeScript/people
Overviewhttps://github.com/NativeScript
Repositorieshttps://github.com/orgs/NativeScript/repositories
Discussionshttps://github.com/orgs/NativeScript/discussions
Projectshttps://github.com/orgs/NativeScript/projects
Packageshttps://github.com/orgs/NativeScript/packages
Peoplehttps://github.com/orgs/NativeScript/people
Answered https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12136166
ammarahm-edhttps://github.com/ammarahm-ed
John4650-hub https://github.com/John4650-hub
Q&Ahttps://github.com/orgs/NativeScript/discussions/categories/q-a
How to can i build for android using github actions https://github.com/NativeScript/NativeScript/discussions/10693#top
John4650-hub https://github.com/John4650-hub
Answered https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12136166
ammarahm-edhttps://github.com/ammarahm-ed
Return to tophttps://github.com/NativeScript/NativeScript/discussions/10693#top
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
John4650-hub https://github.com/John4650-hub
Feb 10, 2025 https://github.com/NativeScript/NativeScript/discussions/10693#discussion-7941907
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10693
ammarahm-ed https://github.com/ammarahm-ed
Feb 11, 2025 https://github.com/orgs/NativeScript/discussions/10693#discussioncomment-12136166
https://old.docs.nativescript.org/angular/tooling/publishing/android-abi-split#enable-abi-splithttps://old.docs.nativescript.org/angular/tooling/publishing/android-abi-split#enable-abi-split
View full answer https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12136166
Oldest https://github.com/orgs/NativeScript/discussions/10693?sort=old
Newest https://github.com/orgs/NativeScript/discussions/10693?sort=new
Top https://github.com/orgs/NativeScript/discussions/10693?sort=top
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
John4650-hub https://github.com/John4650-hub
Feb 10, 2025 https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12122816
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/John4650-hub
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
John4650-hubhttps://github.com/John4650-hub
Feb 11, 2025 https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12135190
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NathanWalker
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
NathanWalkerhttps://github.com/NathanWalker
Feb 11, 2025 https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12135953
https://x.com/ammarahm_ed/status/1887932213179859176?s=46&t=xO7ZRuPOKvNVkUfT7PjvTQhttps://x.com/ammarahm_ed/status/1887932213179859176?s=46&t=xO7ZRuPOKvNVkUfT7PjvTQ
@ammarahm-edhttps://github.com/ammarahm-ed
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/ammarahm-ed
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
Please reload this pagehttps://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/NativeScript/NativeScript/discussions/10693
ammarahm-edhttps://github.com/ammarahm-ed
Feb 11, 2025 https://github.com/NativeScript/NativeScript/discussions/10693#discussioncomment-12136166
https://old.docs.nativescript.org/angular/tooling/publishing/android-abi-split#enable-abi-splithttps://old.docs.nativescript.org/angular/tooling/publishing/android-abi-split#enable-abi-split
Give feedback.https://github.com/NativeScript/NativeScript/discussions/10693
John4650-hubhttps://github.com/John4650-hub
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Forgs%2FNativeScript%2Fdiscussions%2F10693
🙏 Q&A https://github.com/orgs/NativeScript/discussions/categories/q-a
https://github.com/John4650-hub
https://github.com/NathanWalker
https://github.com/ammarahm-ed
https://github.com/NativeScript/NativeScript/discussions/10693
https://github.com/settings/replies?return_to=1
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.