Zip*_*Zip 2 android android-xml
这是我得到的错误:
Execution failed for task ':MyPackage:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/abc/android-sdk-macosx/build-tools/22.0.1/aapt'' finished with non-zero exit value 1
No resource found that matches the given name (at 'text' with value '@string/secondary_text').
Run Code Online (Sandbox Code Playgroud)
我的@string/secondary_text是这样的:
<string name="secondary_text">They're all free to download.</string>
Run Code Online (Sandbox Code Playgroud)
我在这里转义了单引号,我'也尝试过,但仍然不起作用。唯一有效的是我They're改为They are.
有谁知道如何在 Android 上转义单引号?
| 归档时间: |
|
| 查看次数: |
1317 次 |
| 最近记录: |