BUILD FAILED no proper answer

nativescriptrocks
nativescriptcore

#1

to reproduce this .

just go to nativescript website.
then create new javascript project.
download as it is.
run in visual studio tns run android
use visual studio emulator

C:\Users\admin.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\a35f4396e4e46c0a706de1c2f32e406f\res\values-v26\values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.

C:\Users\admin.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\a35f4396e4e46c0a706de1c2f32e406f\res\values-v26\values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.

C:\Users\admin.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\a35f4396e4e46c0a706de1c2f32e406f\res\values-v26\values-v26.xml:17:5-93: AAPT: error: style attribute ‘android:attr/keyboardNavigationCluster’ not found.

C:\Users\admin.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\a35f4396e4e46c0a706de1c2f32e406f\res\values\values.xml:252:5-69: AAPT: error: resource android:attr/fontStyle not found.

C:\Users\admin.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\a35f4396e4e46c0a706de1c2f32e406f\res\values\values.xml:252:5-69: AAPT: error: resource android:attr/font not found.

C:\Users\admin.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.0.2.aar\a35f4396e4e46c0a706de1c2f32e406f\res\values\values.xml:252:5-69: AAPT: error: resource android:attr/fontWeight not found.

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

Failed to process resources, see aapt output above for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 23s
Unable to apply changes on device: 169.254.138.177:5555. Error is: Command gradlew.bat failed with exit code 1.


#2

i observed that i need to create one more project offline. and then when i replace the main page downloaded from online by removing home all 3 home pages. and also deleting platform folder. if i run the project then all ok.

but each time i add new package i need to delete platform otherwise i ll get…

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:mergeDebugAssets’.

java.io.IOException: Could not delete path ‘C:\Users\admin\Desktop\Project\Aads\platforms\android\app\build\intermediates\assets\debug\app\tns_modules\rxjs\src\add’.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 55s
Unable to apply changes on device: 169.254.138.177:5555. Error is: Command gradlew.bat failed with exit code 1.