-
-
Notifications
You must be signed in to change notification settings - Fork 40
Absolute path is not resolved in v0.14.2 when extending activity #592
Comments
@RoyiNamir the error indicates a different error that is not related to the paths in Windows. In your case, the static binding generation has failed for some reason. I would suggest reseting your project with the following steps.
Please let me know if you have a specific scenario or code invloved to reproduce your error. |
@NickIliev Hi Nick. Code involved - ( here it is ) Here are the steps - Exactly(!) as you said ^ Before delete : After delete : Npm install : Adding the activity :
tns platform add android : tns build android --bundle
FAILURE: Build failed with an exception.
HOWEVER - Changing it to :
running - tns build android --bundle ( after tns platform remove/add) Does work : |
@RoyiNamir the issue seems to be caused by an Workaround 1 (wont work on iOS as it will require to import a platform-specific file)
to
in app.component.ts Workaround 2 As @RoyiNamir has pointed out the solution is to use a relative path (in
The above will work on both Android and IOS but will disable build on MAC with snapshot ( |
Even after using the latest merged version :
Using this command
tns build android --bundle
Works Good:
But there's an error with this :
(After
tns platform remove android && tns platform add android
- many times).Here is a Sample empty project which shows the problem
Related info :
package.json
The text was updated successfully, but these errors were encountered: