René's URL Explorer Experiment


Title: Unable to run existing android app after upgrading to 1.6.0 · Issue #1497 · NativeScript/nativescript-cli · GitHub

Open Graph Title: Unable to run existing android app after upgrading to 1.6.0 · Issue #1497 · NativeScript/nativescript-cli

X Title: Unable to run existing android app after upgrading to 1.6.0 · Issue #1497 · NativeScript/nativescript-cli

Description: I just upgraded to 1.6.0 from 1.5.2 and now I get this error when trying to run the app on android, ios is ok: Any clue? If I create a new project it works ok, seems like a problem with my existing app only, this is my exception log: jav...

Open Graph Description: I just upgraded to 1.6.0 from 1.5.2 and now I get this error when trying to run the app on android, ios is ok: Any clue? If I create a new project it works ok, seems like a problem with my existing...

X Description: I just upgraded to 1.6.0 from 1.5.2 and now I get this error when trying to run the app on android, ios is ok: Any clue? If I create a new project it works ok, seems like a problem with my existing...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to run existing android app after upgrading to 1.6.0","articleBody":"I just upgraded to 1.6.0 from 1.5.2 and now I get this error when trying to run the app on android, ios is ok:\nAny clue? If I create a new project it works ok, seems like a problem with my existing app only, this is my exception log:\n\njava.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: \nCalling js method onCreate failed\n\nError: java.lang.RuntimeException: NativeScriptApplication already initialized\n    com.tns.Platform.init(Platform.java:105)\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:1033)\n    com.tns.Platform.callJSMethodNative(Native Method)\n    com.tns.Platform.dispatchCallJSMethodNative(Platform.java:812)\n    com.tns.Platform.callJSMethod(Platform.java:711)\n    com.tns.Platform.callJSMethod(Platform.java:690)\n    com.tns.Platform.callJSMethod(Platform.java:680)\n    com.tns.NativeScriptApplication.onCreateInternal(NativeScriptApplication.java:924)\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:1037)\n    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1020)\n    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5010)\n    android.app.ActivityThread.access$1600(ActivityThread.java:172)\n    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)\n    android.os.Handler.dispatchMessage(Handler.java:102)\n    android.os.Looper.loop(Looper.java:145)\n    android.app.ActivityThread.main(ActivityThread.java:5835)\n    java.lang.reflect.Method.invoke(Native Method)\n    java.lang.reflect.Method.invoke(Method.java:372)\n    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)\n    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)\nFile: \"\u003cunknown>, line: 0, column: -1\n\nStackTrace: \n\nat android.app.ActivityThread.handleBindApplication(ActivityThread.java:5013)\nat android.app.ActivityThread.access$1600(ActivityThread.java:172)\nat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)\nat android.os.Handler.dispatchMessage(Handler.java:102)\nat android.os.Looper.loop(Looper.java:145)\nat android.app.ActivityThread.main(ActivityThread.java:5835)\nat java.lang.reflect.Method.invoke(Native Method)\nat java.lang.reflect.Method.invoke(Method.java:372)\nat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)\nat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)\nCaused by: com.tns.NativeScriptException: \nCalling js method onCreate failed\n\nError: java.lang.RuntimeException: NativeScriptApplication already initialized\n    com.tns.Platform.init(Platform.java:105)\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:1033)\n    com.tns.Platform.callJSMethodNative(Native Method)\n    com.tns.Platform.dispatchCallJSMethodNative(Platform.java:812)\n    com.tns.Platform.callJSMethod(Platform.java:711)\n    com.tns.Platform.callJSMethod(Platform.java:690)\n    com.tns.Platform.callJSMethod(Platform.java:680)\n    com.tns.NativeScriptApplication.onCreateInternal(NativeScriptApplication.java:924)\n    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:1037)\n    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1020)\n    android.app.ActivityThread.handleBindApplication(ActivityThread.java:5010)\n    android.app.ActivityThread.access$1600(ActivityThread.java:172)\n    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)\n    android.os.Handler.dispatchMessage(Handler.java:102)\n    android.os.Looper.loop(Looper.java:145)\n    android.app.ActivityThread.main(ActivityThread.java:5835)\n    java.lang.reflect.Method.invoke(Native Method)\n    java.lang.reflect.Method.invoke(Method.java:372)\n    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)\n    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)\nFile: \"\u003cunknown>, line: 0, column: -1\n\nStackTrace: \n\nat com.tns.Platform.callJSMethodNative(Native Method)\nat com.tns.Platform.dispatchCallJSMethodNative(Platform.java:812)\nat com.tns.Platform.callJSMethod(Platform.java:711)\nat com.tns.Platform.callJSMethod(Platform.java:690)\nat com.tns.Platform.callJSMethod(Platform.java:680)\nat com.tns.NativeScriptApplication.onCreateInternal(NativeScriptApplication.java:924)\nat com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:1037)\nat android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1020)\nat android.app.ActivityThread.handleBindApplication(ActivityThread.java:5010)\n... 9 more\nCaused by: java.lang.RuntimeException: NativeScriptApplication already initialized\nat com.tns.Platform.init(Platform.java:105)\nat com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:1033)\n... 18 more\n","author":{"url":"https://github.com/Daxito","@type":"Person","name":"Daxito"},"datePublished":"2016-02-17T16:30:09Z","url":"https://github.com/NativeScript/nativescript-cli/issues/1497"}

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:ec673ae8-3989-1e56-8921-834522eb120b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC552:27E5CD:1D5869A:2593DAB:6B015004
html-safe-nonce9f7e4280174b1d5696f640129c8101ffea32f68a22412af02e0c4d77019fe8e8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTUyOjI3RTVDRDoxRDU4NjlBOjI1OTNEQUI6NkIwMTUwMDQiLCJ2aXNpdG9yX2lkIjoiNzUzMDQwODQ5NzM2NDY4NDgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdcf69d3d181808e64a26ab5849e7e8371d76da28dce5a420bc2995d1484f31c2
hovercard-subject-tagissue:134329819
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/1497/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a501a3004604bd39bc2b72aa04b86fa6f73caced3a0e786fbff32cd54ca71b08/NativeScript/nativescript-cli/issues/1497
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a501a3004604bd39bc2b72aa04b86fa6f73caced3a0e786fbff32cd54ca71b08/NativeScript/nativescript-cli/issues/1497
og:image:altI just upgraded to 1.6.0 from 1.5.2 and now I get this error when trying to run the app on android, ios is ok: Any clue? If I create a new project it works ok, seems like a problem with my existing...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDaxito
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/1497#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fissues%2F1497
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%2F1497
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/1497
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/1497
Reloadhttps://github.com/NativeScript/nativescript-cli/issues/1497
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/1497
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/1497
Unable to run existing android app after upgrading to 1.6.0https://github.com/NativeScript/nativescript-cli/issues/1497#top
https://github.com/enchev
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issue-134329819
Nexthttps://github.com/NativeScript/nativescript-cli/issues/1497?timeline_page=1
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185298277
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185300553
https://docs.nativescript.org/releases/upgrade-instructionshttps://docs.nativescript.org/releases/upgrade-instructions
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185301208
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185306376
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185311318
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185334076
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185344259
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185345152
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185346238
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185347419
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185348163
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185348733
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185353253
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185354978
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185355944
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185365226
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185366902
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185367479
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185367781
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185368287
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185369283
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185370928
@NathanaelAhttps://github.com/NathanaelA
https://github.com/rosen-vladimirov
rosen-vladimirovhttps://github.com/rosen-vladimirov
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185371187
@slavchevhttps://github.com/slavchev
@hshristovhttps://github.com/hshristov
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185373151
@rosen-vladimirovhttps://github.com/rosen-vladimirov
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185373718
https://github.com/Daxito
Daxitohttps://github.com/Daxito
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185375086
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 17, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185398236
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#issuecomment-185694811
NativeScript/NativeScript#1577https://github.com/NativeScript/NativeScript/issues/1577
enchevhttps://github.com/enchev
completedhttps://github.com/NativeScript/nativescript-cli/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 18, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#event-555009757
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/nativescript-cli/issues/1497#event-555050783
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/nativescript-cli/issues/1497
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/nativescript-cli/issues/1497
enchevhttps://github.com/enchev
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.