Getting an Android build error on old legacy nativescript system
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- android
- 領域
- mobile
研究方向
先檢查 platforms/android/app/build.gradle 第 586 行回報的相依性失敗,以及 tns info 顯示的版本。使用 legacy 應用程式設定重新執行 tns build android,以確認失敗並追蹤缺少的相依性 net.gotev:uploadservice:3.4.2。未變更的 legacy 應用程式完成 Android 建置即表示完成。
由索引模型根據 Issue 內容生成。
描述
I've got a legacy app that needs to be maintained.
Here's the tns info
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 8.5.3 and the latest available version is 8.8.2.
✔ Component tns-core-modules has 6.5.27 version and is up to date.
⚠ Update available for component @nativescript/ios. Your current version is 6.5.6 and the latest available version is 8.8.2.
⚠ Update available for component @nativescript/android. Your current version is 8.5.4 and the latest available version is 8.8.5.
When I do a tns build android, get the following error
Build file '/Users/mini/Projects/ccs-mobile/platforms/android/app/build.gradle' line: 586
A problem occurred configuring project ':app'.
Could not find net.gotev:uploadservice:3.4.2.
Required by:
project :app
Command ./gradlew failed with exit code 1
Here's my build.gradle file with line 586
// Discover all jars and dynamically create tasks for the extraction of each of them
project.ext.allJars = []
allprojects {
afterEvaluate { project ->
def buildType = project.selectedBuildType
def jars = []
def artifactType = Attribute.of('artifactType', String)
android.applicationVariants.all { variant ->
if (variant.buildType.name == buildType) {
variant.getCompileClasspath().each { fileDependency -> <<<<<<<< line 586
processJar(fileDependency, jars)
}
}
}
}
}
This is legacy app and would just like to build it without changes - I didn't make any changes since last successful build which was about 6 months ago. Help appreciated!
- 主要語言
- C++
- 星號
- 563
- 分支
- 144
- 平均合併
- 10 小時 45 分鐘
- 30 天內合併 PR
- 11
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
NativeScript/android 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 76/100
NativeScript/android#2053 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 38/100
NativeScript/android#2039 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 48/100
NativeScript/android#2024 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 20/100
NativeScript/android#2020 ·
維護者通常 1 天內回覆
-
難度 5/5 一週以上 新手友好度 42/100
NativeScript/android#2019 ·
維護者通常 1 天內回覆
查看 NativeScript/android 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 90/100
維護者通常 1 天內回覆
-
type: bug
難度 2/5 1-3 小時 新手友好度 84/100
RobotLocomotion/drake#25023 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 86/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆