Code Monkey home page Code Monkey logo

Comments (8)

tstpierre avatar tstpierre commented on June 22, 2024 3

This wasn't a plugin issue after all.

rm -rf node_modules/
tns platform remove ios
tns platform remove android
tns build ios
tns build android

That essentially cleans the workspace and builds from scratch. I also updated JDK to 8u73 and verified I had extras and API 17 and up platform SDK.

from nativescript-plugin-firebase.

vzhen avatar vzhen commented on June 22, 2024 3

ok, i'm trying @tstpierre solution to see if it fix or not.

rm -rf node_modules/
tns platform remove ios
tns platform remove android
tns build ios
tns build android

from nativescript-plugin-firebase.

kpmrafeeq avatar kpmrafeeq commented on June 22, 2024 1

Any update, I am still getting error Log info:

:generateNativescriptfloatingactionbuttonNativescript-telerik-uiDebugAssets UP-TO-DATE
:mergeNativescriptfloatingactionbuttonNativescript-telerik-uiDebugAssets UP-TO-DATE
:generateNativescriptfloatingactionbuttonNativescript-telerik-uiDebugResValues UP-TO-DATE
:generateNativescriptfloatingactionbuttonNativescript-telerik-uiDebugResources UP-TO-DATE
:mergeNativescriptfloatingactionbuttonNativescript-telerik-uiDebugResources UP-TO-DATE
:processNativescriptfloatingactionbuttonNativescript-telerik-uiDebugManifest UP-TO-DATE
:processNativescriptfloatingactionbuttonNativescript-telerik-uiDebugResources FAILED


:processNativescriptfloatingactionbuttonNativescript-telerik-uiDebugResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':processNativescriptfloatingactionbuttonNativescript-telerik-uiDebugResources'.

    com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\Rafeeq\AppData\Local\Android\android-sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1

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

BUILD FAILED

Total time: 12.298 secs
Command C:\Work\Mobile\sample-Groceries\platforms\android\gradlew.bat failed with exit code 1

from nativescript-plugin-firebase.

tstpierre avatar tstpierre commented on June 22, 2024

@EddyVerbruggen
Same issue:

:processNativescript-phoneNativescript-plugin-firebaseNativescript-telerik-uiDebugResources FAILED

Execution failed for task ':processNativescript-phoneNativescript-plugin-firebaseNativescript-telerik-uiDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/Thomas/Developer/android-sdk-macosx/build-tools/23.0.2/aapt'' finished with non-zero exit value 1

from nativescript-plugin-firebase.

tstpierre avatar tstpierre commented on June 22, 2024

Updated to latest 23.x build tools.... this dependency builds fine now.

Got another issue, but not sure its related to this plugin.

platforms/android/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.1.1/jars/classes.jar
    at com.telerik.metadata.ClassRepo.cacheJarFile(ClassRepo.java:21)
    at com.telerik.metadata.Builder.build(Builder.java:38)
    at com.telerik.metadata.Generator.main(Generator.java:44)
:buildMetadata FAILED

from nativescript-plugin-firebase.

tstpierre avatar tstpierre commented on June 22, 2024

May have spoke to soon... doing:

tns platform remove android
tns build android

Produces the same error again:
Execution failed for task ':processNativescript-phoneNativescript-plugin-firebaseNativescript-telerik-uiDebugResources'.

iOS is building fine.

from nativescript-plugin-firebase.

vzhen avatar vzhen commented on June 22, 2024

Any update? this is so annoying as i have to tns platform remove android and readd back everytime this error comes out

from nativescript-plugin-firebase.

EddyVerbruggen avatar EddyVerbruggen commented on June 22, 2024

@vzhen What I'm reading here is folks are not having plugin related issues but rather an issue with lingering build artifacts in NativeScript - it also seems to happen with other plugins.

That being siad: what's the error you're seeing and the exact reproduction path? I won't offer help if you're simply asking for an update or pinging me on Slack.

from nativescript-plugin-firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.