Ele*_*gyD 2 android android-studio
我已更新com.google.gms:oss-licenses到0.9.2版本,现在Android Studio在构建项目时出现以下错误:
[raw/third_party_license_metadata] /Users/<name>/AndroidStudioProjects/<project>/app/build/generated/third_party_licenses/res/raw/third_party_license_metadata [raw/third_party_license_metadata] /Users/<name>/AndroidStudioProjects/<project>/app/src/main/res/raw/third_party_license_metadata: Error: Duplicate resources
[raw/third_party_licenses] /Users/<name>/AndroidStudioProjects/<project>/app/build/generated/third_party_licenses/res/raw/third_party_licenses [raw/third_party_licenses] /Users/<name>/AndroidStudioProjects/<project>/app/src/main/res/raw/third_party_licenses: Error: Duplicate resources
Run Code Online (Sandbox Code Playgroud)
Ele*_*gyD 19
Google Open Source Licenses Notices插件更改了保存这两个文件的路径.
(third_party_license_metadata和third_party_license)
旧:
<project-root>/app/src/main/res/raw/
新:
<project-root>/app/build/generated/third_party_licenses/res/raw/
您可以安全地删除旧文件夹中的这两个文件.
| 归档时间: |
|
| 查看次数: |
593 次 |
| 最近记录: |