Hi,
I am integrating an SDK for advertising. The doc tells me to add lines to my Manifest. I get the following error message...
"No resource found that matches the given name (at 'label' with value '@string/app_name')
My Manifest editor lines are below. I only get the error when including the lines in bold.
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: Manifest Editor
AddManifestText(
<uses-sdk android:minSdkVersion="4" />
<receiver
android:exported="true"
android:name="com.sponsorpay.sdk.android.advertiser.InstallReferrerReceiver" >
<intent-filter >
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name="com.sponsorpay.sdk.android.publisher.OfferWallActivity" android:configChanges="orientation" />
<meta-data android:value="0000" android:name="SPONSORPAY_APP_ID"/>
</application>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
'InAppBilling declarations - Start
AddReceiverText(InAppBillingService, <intent-filter>
<action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
<action android:name="com.android.vending.billing.RESPONSE_CODE" />
<action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
</intent-filter>)
'InAppBilling declarations - End
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
I am integrating an SDK for advertising. The doc tells me to add lines to my Manifest. I get the following error message...
"No resource found that matches the given name (at 'label' with value '@string/app_name')
My Manifest editor lines are below. I only get the error when including the lines in bold.
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: Manifest Editor
AddManifestText(
<uses-sdk android:minSdkVersion="4" />
<receiver
android:exported="true"
android:name="com.sponsorpay.sdk.android.advertiser.InstallReferrerReceiver" >
<intent-filter >
<action android:name="com.android.vending.INSTALL_REFERRER" />
</intent-filter>
</receiver>
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name="com.sponsorpay.sdk.android.publisher.OfferWallActivity" android:configChanges="orientation" />
<meta-data android:value="0000" android:name="SPONSORPAY_APP_ID"/>
</application>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)
'InAppBilling declarations - Start
AddReceiverText(InAppBillingService, <intent-filter>
<action android:name="com.android.vending.billing.IN_APP_NOTIFY" />
<action android:name="com.android.vending.billing.RESPONSE_CODE" />
<action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" />
</intent-filter>)
'InAppBilling declarations - End
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.