![](/img/trans.png)
[英]Nativescript Android build error: Could not find com.android.tools.build:gradle:7.3
我創建了一個新的 NativeScript JavaScript 項目,使用現有項目作為模板。 新項目在 iOS 上構建正常,但在 Android 上構建失敗,報錯: 現有項目不會發生此錯誤。 我對不是最新級別的各種插件的版本進行了硬編碼,以確保兩個項目之間的所有插件都相同。 這是 package ...
[英]Nativescript Android build error: Could not find com.android.tools.build:gradle:7.3
我創建了一個新的 NativeScript JavaScript 項目,使用現有項目作為模板。 新項目在 iOS 上構建正常,但在 Android 上構建失敗,報錯: 現有項目不會發生此錯誤。 我對不是最新級別的各種插件的版本進行了硬編碼,以確保兩個項目之間的所有插件都相同。 這是 package ...
[英]Is there a difference between using Svelte with Nativescript and "Svelte native"?
將 Svelte 與 Nativescript 和“Svelte native”一起使用有區別嗎? 如果是,實踐中最顯着的區別是什么? ...
[英]NativeScript call to google API with OAuth2
如何通過 Nativescript 訪問 google 表格? 我需要哪個庫才能訪問 G-API? 檢查 inte.net 但沒有足夠的示例說明如何訪問它。 我使用以下代碼來驗證我的虛擬帳戶並且它有效。 我得到了 session 令牌,但下一步是什么? ? ...
[英]Nativescript IOS build Cacoapods could not find compatible versions for pod
我有 Nativescript 8 個應用程序: 在我嘗試運行ns build ios :錯誤: 安裝吊艙...分析依賴預下載:FirebaseFirestore 來自https://github.com/invertase/firestore-ios-sdk-frameworks.git ,標記 ...
[英]Trying to reset NativeScript Preview
我正在嘗試重置 NativeScript 預覽,但在按住午餐圖標后,android 系統只讓我移動圖標而不是打開菜單。 因此,按照原始說明進行操作:“重置預覽應用程序”來自: https://preview.nativescript.org/#faq 。 有什么提示嗎? ...
[英]NativeScript installation
安裝 NativeScript 后,我在嘗試運行以下命令時遇到此錯誤ns doctor 是不是多個jdk導致了這個問題,請指導我提前致謝:) 我嘗試查看命令行錯誤中標記為紅色的文檔以及谷歌上的文檔,但它無處談論多版本問題 ...
[英]Could not find method compile() for arguments ... nativescript and nativescript-aws
我是 nativescript 的新手,無法理解我做錯了什么,我在嘗試使用tns run android構建應用程序時遇到此錯誤消息。 這是完整的錯誤消息: 在花了幾個小時研究該錯誤的原因后,我發現大多數答案都建議將compile更改為implementation 。 這不是我能做的,因為 bui ...
[英]Nativescript (TS) - readTextSync alter data?
在Nativescript(Ts)下,我看了一個csv的文件,這里摘錄: 我需要一個項目的位置,位置是一行的第 5 個標記,它是用 當我解析行時,位置標記的值被更改跟蹤表明: CSV 文件包含“2 10 C” fileInput[i] 返回“25300-2-0842;PATTE PEINT;2 ...
[英]Back navigation duplicates the previous page
我用Angular升級到最新的NativeScript版本(8.4) 13.tns tns doctor說一切正常。 我有一個插座。 根路由是一個帶有 mapbox map 的頁面。當我從同一出口的根路由向前導航時,一切都按預期進行,我完美地獲得了新頁面。 但是當我向后導航時,我可以看到上一個頁面一 ...
[英]ng add @nativescript/schematics migration attempt failing. Reason: "NOT SUPPORTED: keyword "id", use "$id" for schema ID"
我正在嘗試運行“ng add @nativescript/schematics”以將我的 Angular 應用程序遷移到 Nativescript 以獲得移動支持。 當我運行該命令時,它不僅沒有生成表示轉換成功的 .tns 文件,它還在控制台中打印: 它給 go 關的很少。 我嘗試在 node_m ...
[英]@nativescript/geolocation getCurrentLocation() not working in NS8
getCurrentLocation() returned an error in NativeScript 8: Error: Cannot enable the location service. 類型錯誤:無法讀取未定義的屬性“准確性” 我正在使用最新版本“@nativescript/geo ...
[英]comparison of node and nativescript runtimes
我可以在 nativescript 下運行任何節點應用程序嗎? 從我的角度來看,nativescript 與node.js是不同的運行時。但是 Node.js 也包含 Google Chrome V8 JavaScript 引擎。 唯一的區別似乎是 nativescript 應用程序的一些主要功能依 ...
[英]error happens when i try to run my cross platform app on android
我正在嘗試使用 nativescript 和 angular 構建一個跨平台應用程序。在 web 上它運行完美但是當我在 android 上嘗試它時它沒有運行我有很多錯誤我解決了但我堅持這個。 所以,如果您有任何想法,請幫助我Error Message 。 我嘗試添加新路徑並更新 jdk 但沒有任何 ...
[英]How to change icon color in SearchBar component Nativescript + Vue?
( https://i.stack.imgur.com/f8DyP.jpg ) 該文檔沒有說明任何關於圖標的信息 ...
[英]can not execute ns build android
當我運行 ns build android 時,出現了這個錯誤 並且 runSbg.log 為空我只想獲取 debug.apk。 ...
[英]NativeScript BottomNavigation How to do Round Corners?
我目前正在處理一個 NativeScript 項目,並希望有一個帶圓角的 BottomNavigation Bar。 我正在使用 NativeScript Angular 和 @nativescript-community/ui-material-bottom-navigation Package ...
[英]Nativescript CLI Emulator View not refreshing. ns run
我最近開始從事 NativeScript 項目。 但是當使用 ns run android 運行應用程序時,它不會應用任何更改。 當我進行更改時,它說編譯更改並且沒有顯示任何錯誤,但應用程序不會重新啟動或刷新。 即使我手動重啟應用程序,我也看不到任何變化。 查看更改的唯一方法是使用 ns run a ...
[英]Change Dialogs Buttons Color Nativescript angular android
我正在使用 nativescript 對話框確認 function,它在 IOS 中工作,但在 android 中,我有一個問題,如上圖所示,有時它會在按鈕上顯示黑色文本,但大多數情況下它就像圖像一樣。 ...
[英]how can i add new component on stackblitz
我在 stackblitz 上使用nativescript 。 我想根據此文檔使用tabview ,我只是在 html 上添加了一個選項卡。但我不確定,因為通常在 stackblitz 上我必須在添加新組件時添加依賴項。 為什么我的選項卡視圖不起作用? 如何使用 nativescript 添加對 s ...
[英]Why ng g c Command not working in nativeScript + Angular project
當我運行“ng g c welcome”以生成新組件時出現錯誤:錯誤:在工作區外運行 Angular CLI 時此命令不可用。 我嘗試運行命令: tns 擴展安裝 nativescript-angular-cli npm i -g @angular/cli npm i -g @nativesc ...