Android Studio - 构建APK时出现多个错误

时间:2015-09-13 10:49:26

标签: android android-studio android-manifest apk

当我尝试在Android Studio中构建已签名的Android软件包(" .apk")时,它说:

Error:(14, 25) No resource found that matches the given name (at 'label' with value '@string/Midgar-Flower-Girl').

我也收到此错误消息:

Error:Execution failed for task ':app:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/gregoryopera/Android/Sdk/build-tools/23.0.1/aapt'' finished with non-zero exit value 1

这是我的清单(release / AndroidManifest.xml),如Android Studio中所示:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="gregoryopera.wmwatch.midgarflowergirl"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk
        android:minSdkVersion="9"
        android:targetSdkVersion="15" />

    <application
        android:icon="@drawable/ic_launcher"
        android:label="@string/Midgar-Flower-Girl" >
        <meta-data
            android:name="watchmaker.watch"
            android:value="1" />
    </application>

</manifest>

问题是什么?如何更正此问题?

任何帮助将不胜感激......

0 个答案:

没有答案