robinhood / spark

A simple Android sparkline chart view.
Apache License 2.0
1.28k stars 157 forks source link

Remove redundant casts in sample app. #41

Closed naturalwarren closed 6 years ago

naturalwarren commented 6 years ago

Starting with API 26, findViewById() uses inference for its return type so we no longer have to cast.

naturalwarren commented 6 years ago

Exit code 139 typically means segfault. Bumping build tools in #40 fixes this.

:spark:processDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spark:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/usr/local/android-sdk/build-tools/23.0.3/aapt'' finished with non-zero exit value 139

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

BUILD FAILED
danh32 commented 6 years ago

Thanks!