I have updated SDK to Android O developer preview and started a simple demo with single TextView.
When i included font
inside res
folder it started showing me
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
Here is my build.gradle
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
...
minSdkVersion 15
targetSdkVersion 25
}
}
Note : I am using Android Studio 2.4 Preview 3
If i remove font
folder from res
, everything works fine
This setup worked for me:
compileSdkVersion 'android-O'
buildToolsVersion '26.0.0-rc1'
minSdkVersion 'O'