首页 > 解决方案 > android studio - 构建失败输入长度= 1

问题描述

几天前,我的 Android Studio 运行良好。
但是现在每当我在 android studio 中创建一个新项目时,它都会Build: build failed显示Input length = 1.
在运行任务下,出现错误:app:processDebugRecources

标签: androidandroid-studio

解决方案


build.properties刚刚添加这一行:

org.gradle.jvmargs='-Dfile.encoding=UTF-8'

推荐阅读