0
我最近更新了我所有的TNS DEPS:Nativescript不livesyncing
[email protected] ~/Projects/my-instagram/test $ tns info
All NativeScript components versions information
┌──────────────────┬─────────────────┬────────────────┬─────────────┐
│ Component │ Current version │ Latest version │ Information │
│ nativescript │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-core-modules │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-android │ 2.3.0 │ 2.3.0 │ Up to date │
│ tns-ios │ 2.3.0 │ 2.3.0 │ Up to date │
當我改變代碼的東西和保存,這表明了在控制檯。但是沒有在應用程序的變化(關閉和打開應用程序沒有幫助過):
4:42:18 PM - File change detected. Starting incremental compilation...
4:42:22 PM - Compilation complete. Watching for file changes.
Executing before-prepare hook from /home/karlis/Projects/my-instagram/test/hooks/before-prepare/nativescript-dev-typescript.js
Project successfully prepared (android)
Transferring project files...
Successfully transferred all files.
Applying changes...
Successfully synced application org.nativescript.test on device 3d828389.
我每次運行命令tns livesync android --watch --device=3d828389
我得到充分的應用程序重新安裝和消息顯示:The application with id "org.nativescript.test" is not installed on device with identifier 3d828389.
然而,應用程序安裝在電話。
討論。
建議您卸載設備上的應用程序,然後執行tns運行,然後執行tns livesync。 – dashman
沒有任何變化。 – IvRRimUm