這符合:沒有資源發現在給定的名字
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="de.androidbuch.rechner"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk android:minSdkVersion="7"></uses-sdk>
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:theme="@android:style/Theme.Light">
<activity android:name=".FormularActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
是我AndroidManifest.xml
和線8 & 11我得到的錯誤:
no resource found that matches the given name(at "label" with value "@string/app_name")
no resource found that matches the given name(at "label" with value "@string/app_name")
這是真的奇怪,我沒有移動值文件夾的任何地方。
哦,我有時候我很愚蠢!非常感謝!該文件甚至不存在於我的程序:) – sam 2011-01-19 14:56:57
此文件在我的項目中也不存在。你能提供更多的細節如何解決這個錯誤?我創建了strings.xml並將其放在上面的代碼行中,可悲的是它本身給我一個錯誤。還有更多要添加到此文件嗎? – ProblemsOfSumit 2013-08-26 10:36:29