-
-
Notifications
You must be signed in to change notification settings - Fork 197
Tns build android generates apk with old code Angular2 nativescript #2730
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @anuragd7 ,
And deploy the built .apk again. Can you try these and inform us if this workaround works on your side? |
Closing due to inactivity. |
This is a workaround right?. How about straight forward fix. is anyone working on it? |
Hi @rajasekarsp What is the issue you encounter, can you provide
|
Description When I plug my phone in my system and do debugging, and then later when i install a different version of my app through apk stored in my memory card, it overwrites and gets installed. But after installation if i open the application, the application still retains the version which i have installed during debugging in computer. Steps to reproduce:
Node version v6.10.2 |
I've just experienced the same issue as @rajasekarsp where running |
in a debug app , i know that you have to remove the platform and build it for the apk to be updated |
@devyaz that is unnecessary, |
Closing as the issue seems not to be reproducible with the next and latest CLI. |
Please, provide the details below:
Did you verify this is a real problem by searching [Stack Overflow]
Yes. This was reported once here , but was supposed to be fixed.
Which platform(s) does your issue occur on?
Have checked this for android and it happens regularly.
Please provide the following version numbers that your issue occurs with:
"version": "2.5.0"
},
"tns-ios": {
"version": "2.5.0"
}
"dependencies": {
"@angular/common": "2.3.1",
"@angular/compiler": "2.3.1",
"@angular/core": "2.3.1",
"@angular/forms": "2.3.1",
"@angular/http": "2.3.1",
"@angular/platform-browser": "2.3.1",
"@angular/platform-browser-dynamic": "2.3.1",
"@angular/router": "3.3.1",
"nativescript-angular": "1.3.0",
"nativescript-dom": "^1.0.9",
"nativescript-iqkeyboardmanager": "^1.0.1",
"nativescript-loading-indicator": "^2.2.2",
"nativescript-platform-css": "^1.4.0",
"nativescript-plugin-firebase": "3.11.2",
"nativescript-telerik-ui": "^1.6.1",
"nativescript-theme-core": "^0.2.1",
"reflect-metadata": "~0.1.8",
"rxjs": "5.0.0-rc.4",
"tns-core-modules": "2.4.4"
},
"devDependencies": {
"babel-traverse": "6.22.1",
"babel-types": "6.22.0",
"babylon": "6.15.0",
"lazy": "1.0.11",
"nativescript-dev-android-snapshot": "^0..",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "~2.0.10",
"zone.js": "~0.7.2"
}
Please tell us how to recreate the issue in as much detail as possible.
As mentioned after building the project once subsequent changes to the code are not reflected in future builds. As a workaround I clone into a new directory, install node modules and add platform again and the project builds fine from this directory.
The text was updated successfully, but these errors were encountered: