不知道是否有其他人发布了此问题,没有找到任何人,尽管也有类似的问题。从应用程序标签中挑选的Android应用图标名称
这是我的清单XML:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.listCalc.tutorial.simpleinappbillingv3.ui.StartUpActivity"
android:label="@string/activity_startup_label"
android:screenOrientation="portrait" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.listCalc.tutorial.simpleinappbillingv3.ui.MainActivity"
android:label="@string/activity_main_label"
android:screenOrientation="portrait" />
<activity
android:name="com.listCalc.tutorial.simpleinappbillingv3.ui.PurchasePassportActivity"
android:label="@string/activity_purchase_label"
android:screenOrientation="portrait" />
</application>
String.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">List Calc in-app billing V3</string>
<string name="hello_world">Hello world!</string>
<string name="menu_settings">Settings</string>
<string name="main_button_purchase_passport_text">Purchase Passport</string>
<string name="main_cont_desc_image_passport">purchased passport</string>
<string name="activity_startup_label">Loading</string>
<string name="activity_main_label">Main Menu</string>
<string name="activity_purchase_label">Making Purchase</string>
</resources>
应用程序的名称,即启动器图标名被挑选为 “activity_startup_label”,而不是 “APP_NAME”
我在做什么错了?
请在这里发表您string.xml数据也为更好地理解 – Noundla