Original solution sacrifices new api lint check.
Here my solution:
int minSdk = hasProperty('minSdk') ? minSdk.toInteger() : 16
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
Original solution sacrifices new api lint check.
Here my solution:
int minSdk = hasProperty('minSdk') ? minSdk.toInteger() : 16
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
Android has a dedicated XML namespace intended for tools to be able to record information in XML files, and have that information stripped when the application is packaged such that there is no runtime or download size penalty. The namespace URI is http://schemas.android.com/tools and is usually bound to the tools: prefix:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"| #!/bin/bash | |
| # RELEASE NOTE FILE | |
| LOG_FILE=CHANGELOG.md | |
| TMP_LOG_FILE=CHANGELOG.tmp.md | |
| # SEEKING LABELS ON COMMIT SUBJECTS | |
| BUGS=";B" | |
| FEATURES=";F" | |
| MISC=";M" |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| ########## | |
| # Config # | |
| ########## | |
| readonly GIT_BRANCH='android-8.0.0_r4' | |
| readonly API_LEVEL='26' |
| #!/bin/bash | |
| ### | |
| ### my-script — does one thing well | |
| ### | |
| ### Usage: | |
| ### my-script <input> <output> | |
| ### | |
| ### Options: | |
| ### <input> Input file to read. | |
| ### <output> Output file to write. Use '-' for stdout. |
| // This is a quick example of how to use the CoreAudio API and the new Tapping | |
| // API to create a tap on the default audio device. You need macOS 14.2 or | |
| // later. | |
| // Build command: | |
| // clang -framework Foundation -framework CoreAudio main.m -o tapping | |
| // License: You're welcome to do whatever you want with this code. If you do | |
| // something cool please tell me though. I would love to hear about it! |