Android – error: when using font folder in res, the execution of task ‘: app: processdebugeresources’ failed
•
Android
I have updated the SDK to the Android o developer preview and started a simple demonstration with a single textview
When I include fonts in the res folder, it starts to show me
Error:Execution Failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
This is my build.gradle
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
...
minSdkVersion 15
targetSdkVersion 25
}
}
Note: I use Android studio 2.4 preview 3
If I delete the font folder from res, everything is normal
resolvent:
This setting is useful to me:
compileSdkVersion 'android-O'
buildToolsVersion '26.0.0-rc1'
minSdkVersion 'O'
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码