NativeScript / android

NativeScript for Android using v8
https://docs.nativescript.org/guide/android-marshalling
Apache License 2.0
519 stars 135 forks source link

NdkVersion "25.0.8775105" Execution failed for task ':app:stripReleaseDebugSymbols'. error=2, No such file or directory #1722

Closed KMalaimegam closed 1 year ago

KMalaimegam commented 1 year ago

android { defaultConfig { minSdkVersion 23 generatedDensities = [] targetSdkVersion 31 } aaptOptions { additionalParameters "--no-version-vectors" } lintOptions { checkReleaseBuilds false } ndkVersion "25.0.8775105" }

Package .JSON

"dependencies": { "@angular/animations": "~10.2.4", "@angular/cli": "^10.2.3", "@angular/common": "~10.2.4", "@angular/compiler": "~10.2.4", "@angular/core": "~10.2.4", "@angular/forms": "~10.2.4", "@angular/http": "8.0.0-beta.10", "@angular/platform-browser": "~10.2.4", "@angular/platform-browser-dynamic": "~10.2.4", "@angular/router": "~10.2.4", "@nativescript/angular": "^10.1.7", "@nativescript/background-http": "^5.0.1", "@nativescript/camera": "^5.0.8", "@nativescript/core": "^7.3.0", "@nativescript/imagepicker": "^1.0.3", "@nota/nativescript-webview-ext": "^8.0.0", "@nstudio/nativescript-checkbox": "^2.0.4", "@triniwiz/nativescript-image-zoom": "^4.0.0", "@types/node": "^12.11.1", "@types/underscore": "^1.9.2", "jwt-decode": "^3.1.2", "lodash": "4.17.20", "nativescript-app-center": "^1.0.3", "nativescript-appversion": "^1.4.1", "nativescript-background-http": "^4.2.0", "nativescript-iqkeyboardmanager": "^1.5.1", "nativescript-pdf-view": "^3.0.0-1", "nativescript-permissions": "^1.3.8", "nativescript-phone": "^3.0.2", "nativescript-screen-orientation": "^2.0.0", "nativescript-secure-storage": "^2.5.0", "nativescript-theme-core": "~1.0.4", "nativescript-ui-listview": "^9.1.0", "nativescript-ui-sidedrawer": "^9.0.3", "nativescript-unit-test-runner": "^0.7.0", "nativescript-urlhandler": "^1.2.3", "nativescript-videoplayer": "^5.0.1", "nativescript-windowed-modal": "^7.0.0", "reflect-metadata": "~0.1.10", "rxjs": "^6.4.0", "tslib": "^2.0.0", "zone.js": "~0.10.2" }, "devDependencies": { "@angular/compiler-cli": "~10.2.4", "@nativescript/android": "7.0.1", "@nativescript/ios": "7.2.0", "@nativescript/schematics": "^0.6.0", "@nativescript/types": "7.0.0", "@nativescript/webpack": "^3.0.0",

Error Execution failed for task ':app:stripReleaseDebugSymbols'. error=2, No such file or directory

Command ./gradlew failed with exit code 1

triniwiz commented 1 year ago

If you want to use the latest ndk version you will also need to use the latest runtime version or at least 8.2

triniwiz commented 1 year ago

Upgrade to the latest runtime or you can add the following to your app.gradle

android {
  ..
  ndkVersion "22.1.7171670"