René's URL Explorer Experiment


Title: Unable to run existing android app after upgrading to 1.6.0 · Issue #1577 · NativeScript/NativeScript · GitHub

Open Graph Title: Unable to run existing android app after upgrading to 1.6.0 · Issue #1577 · NativeScript/NativeScript

X Title: Unable to run existing android app after upgrading to 1.6.0 · Issue #1577 · NativeScript/NativeScript

Description: From @Daxito on February 17, 2016 16:30 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...

Open Graph Description: From @Daxito on February 17, 2016 16:30 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 o...

X Description: From @Daxito on February 17, 2016 16:30 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 o...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/1577

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":"_From @Daxito on February 17, 2016 16:30_\n\nI 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\n_Copied from original issue: NativeScript/nativescript-cli#1497_\n","author":{"url":"https://github.com/enchev","@type":"Person","name":"enchev"},"datePublished":"2016-02-18T12:22:32Z","url":"https://github.com/NativeScript/NativeScript/issues/1577"}

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:dfdacff3-e719-4c31-808a-2279a1c8d9ce
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idADDC:785A9:1A898C1:21A27CE:6B014C67
html-safe-nonce10dfb4d6732c82965702732cc066fe066ee1168a56533d59bcaed0398c987d28
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRERDOjc4NUE5OjFBODk4QzE6MjFBMjdDRTo2QjAxNEM2NyIsInZpc2l0b3JfaWQiOiI3MjE2ODM5MDY4Mjk3MDIyNTY3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdff09db4139118766dd3038c14e0f2eea8a13c21e4b264db8d9d6d5c5aea76df
hovercard-subject-tagissue:134566915
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/1577/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8bb7b66737341bd48d86c80060249c77e9d3cc01294c667a8711a7540afcedce/NativeScript/NativeScript/issues/1577
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8bb7b66737341bd48d86c80060249c77e9d3cc01294c667a8711a7540afcedce/NativeScript/NativeScript/issues/1577
og:image:altFrom @Daxito on February 17, 2016 16:30 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 o...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameenchev
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/issues/1577#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F1577
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%2Fissues%2F1577
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
Reloadhttps://github.com/NativeScript/NativeScript/issues/1577
Reloadhttps://github.com/NativeScript/NativeScript/issues/1577
Reloadhttps://github.com/NativeScript/NativeScript/issues/1577
NativeScripthttps://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Codehttps://github.com/NativeScript/NativeScript
Issues231 (231)https://github.com/NativeScript/NativeScript/issues
Pull requests107 (107)https://github.com/NativeScript/NativeScript/pulls
Discussionshttps://github.com/NativeScript/NativeScript/discussions
Actionshttps://github.com/NativeScript/NativeScript/actions
Projectshttps://github.com/NativeScript/NativeScript/projects
Wikihttps://github.com/NativeScript/NativeScript/wiki
Security and qualityhttps://github.com/NativeScript/NativeScript/security
Insightshttps://github.com/NativeScript/NativeScript/insights
https://github.com/NativeScript/NativeScript
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/1577
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/1577
Unable to run existing android app after upgrading to 1.6.0https://github.com/NativeScript/NativeScript/issues/1577#top
https://github.com/enchev
bughttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug%22
donehttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22done%22
severity: highhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
1.6.2https://github.com/NativeScript/NativeScript/milestone/13
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issue-134566915
@Daxitohttps://github.com/Daxito
NativeScript/nativescript-cli#1497https://github.com/NativeScript/nativescript-cli/issues/1497
Nexthttps://github.com/NativeScript/NativeScript/issues/1577?timeline_page=1
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694704
@NathanaelAhttps://github.com/NathanaelA
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694709
@Daxitohttps://github.com/Daxito
https://docs.nativescript.org/releases/upgrade-instructionshttps://docs.nativescript.org/releases/upgrade-instructions
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694713
@NathanaelAhttps://github.com/NathanaelA
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694714
@NathanaelAhttps://github.com/NathanaelA
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694718
@Daxitohttps://github.com/Daxito
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694719
@NathanaelAhttps://github.com/NathanaelA
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694723
@Daxitohttps://github.com/Daxito
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694724
@Daxitohttps://github.com/Daxito
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694729
@NathanaelAhttps://github.com/NathanaelA
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694732
@Daxitohttps://github.com/Daxito
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694736
@Daxitohttps://github.com/Daxito
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694741
@Daxitohttps://github.com/Daxito
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694746
@NathanaelAhttps://github.com/NathanaelA
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694753
@rosen-vladimirovhttps://github.com/rosen-vladimirov
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185694757
@Daxitohttps://github.com/Daxito
enchevhttps://github.com/enchev
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-555079470
enchevhttps://github.com/enchev
completedhttps://github.com/NativeScript/NativeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-555112596
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 18, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-185801805
https://github.com/enchev
enchevhttps://github.com/enchev
on Feb 19, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-186134997
@slavchevhttps://github.com/slavchev
@atanasovghttps://github.com/atanasovg
enchevhttps://github.com/enchev
on Feb 19, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-556303946
https://github.com/atanasovg
atanasovghttps://github.com/atanasovg
on Feb 19, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-186136946
@NathanaelAhttps://github.com/NathanaelA
snapshot refactoring pullhttps://github.com/NativeScript/NativeScript/pull/1407
https://github.com/NativeScript/NativeScript/blob/master/application/application.android.ts#L300-L311https://github.com/NativeScript/NativeScript/blob/master/application/application.android.ts#L300-L311
NativeScript/android#283https://github.com/NativeScript/android/issues/283
https://github.com/NathanaelA
NathanaelAhttps://github.com/NathanaelA
on Feb 19, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-186226886
atanasovghttps://github.com/atanasovg
severity: highhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
bughttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug%22
on Feb 22, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-559444829
https://github.com/atanasovg
atanasovghttps://github.com/atanasovg
on Feb 22, 2016https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-187131433
NativeScript/android@a89aa46https://github.com/NativeScript/android/commit/a89aa468ec27b8f0660531520fe97c635b02ea18
vchimevhttps://github.com/vchimev
1.6.2https://github.com/NativeScript/NativeScript/milestone/13
on Feb 24, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-563230326
vchimevhttps://github.com/vchimev
completedhttps://github.com/NativeScript/NativeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 24, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-563230447
vchimevhttps://github.com/vchimev
donehttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22done%22
on Feb 24, 2016https://github.com/NativeScript/NativeScript/issues/1577#event-563254083
https://github.com/apps/lock
lockhttps://github.com/apps/lock
on Aug 30, 2019https://github.com/NativeScript/NativeScript/issues/1577#issuecomment-526540755
lockhttps://github.com/apps/lock
on Aug 30, 2019https://github.com/NativeScript/NativeScript/issues/1577#event-2596652944
Sign up for freehttps://github.com/signup?return_to=https://github.com/NativeScript/NativeScript/issues/1577
Sign in to commenthttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/1577
enchevhttps://github.com/enchev
bughttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22bug%22
donehttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22done%22
severity: highhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22severity%3A%20high%22
1.6.2https://github.com/NativeScript/NativeScript/milestone/13
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.