Closed NathanWalker closed 7 years ago
Best bet, cleanse the soul. Think it's tns run chicken soup for soul
.
I've seen it. I think the platform clean does the trick, I always forgot
what exactly fixes it cause I do several things at once so I just get
past the error
On Tue, Aug 2, 2016, 11:31 PM Nathan Walker notifications@github.com wrote:
Even without the spotify plugin android compatible, I wanted to see if Android would build and at least launch the app, but I see this when doing tns run android and/or tns debug android with GenyMotion open to a Virtual Google Nexus 5 - 5.1.0:
:cleanLocalAarFiles :ensureMetadataOutDir :collectAllJars :setProperties :asbg:generateInterfaceNamesList :asbg:runAstParser UP-TO-DATE :asbg:generateBindings UP-TO-DATE :generateF0F1F2F3F4F5DebugAssets UP-TO-DATE :mergeF0F1F2F3F4F5DebugAssets :generateF0F1F2F3F4F5DebugResValues UP-TO-DATE :generateF0F1F2F3F4F5DebugResources :mergeF0F1F2F3F4F5DebugResources :processF0F1F2F3F4F5DebugManifest :processF0F1F2F3F4F5DebugResources FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':processF0F1F2F3F4F5DebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/Cellar/android-sdk/24.4.1_1/build-tools/23.0.2/aapt'' finished with non-zero exit value 1
I'm not sure if anyone else has seen that when running Android with their projects or may know how I could either get more of a stacktrace or whats going on.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NathanWalker/ShoutOutPlay/issues/41, or mute the thread https://github.com/notifications/unsubscribe-auth/AFulhMFpWZHem-syHgEk3UHdgUItu4xEks5qcBmrgaJpZM4JbStW .
Thanks @bradmartin I'll try that 👍
Ok, here is the fixes you need to do to get this building on Android:
dependencies {
classpath "com.android.tools.build:gradle:1.5.0"
}
Add classpath 'com.google.gms:google-services:3.0.0'
You need to verify this exists; NS when generating/cleaning the platform will replace this with a stock version that won't have that... So the copy in the repo will be overwritten when you do several things in the platforms folder...
Even without the spotify plugin android compatible, I wanted to see if Android would build and at least launch the app, but I see this when doing
tns run android
and/ortns debug android
with GenyMotion open to a Virtual Google Nexus 5 - 5.1.0:I'm not sure if anyone else has seen that when running Android with their projects or may know how I could either get more of a stacktrace or whats going on.