air push adview error - android

I am embeding air push ads in my android app. I added adview in layout.xml file. It has errors that are
Multiple annotations found at this line:
- error: No resource identifier found for attribute 'canShowMR' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'banner_type' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'placementType' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'refresh_time' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'animation' in package 'com.GUI.traficsing'
- error: No resource identifier found for attribute 'test_mode' in package 'com.GUI.traficsing'
Thank you

You need to place the mraid_attrs.xml file into your app's res > values folder. This file is included within the SDK download.
It solved me the same problem.
Ref: http://manage.airpush.com/docs/index.php?title=Android_SDK_6.0_Documentation

Related

Error:(14) No resource identifier found for attribute 'fillType' in package

When I use vectorDrawable instead of png/jpeg, I use fillType in path.
I receive the following error:
"Error:(14) No resource identifier found for attribute 'fillType' in package 'android'"
Can anyone help me?

No resource identifier found for attribute 'isSelected' in package 'auto'

So i'm getting this error now :
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/res/drawable/commit_card_background_states_dark.xml:24: error: No resource identifier found for attribute 'isSelected' in package 'auto'
Before my second compile aokp compile the error was something like :
packages/apps/ROMControl/../../../external/jbirdvegas/mGerrit/res/drawable/commit_card_background_states_dark.xml:24: error: No resource identifier found for attribute 'isSelected' in package 'com.jbirdvegas.mgerrit'
I made these changes, as instructed.
Change :
xmlns:app="http://schemas.android.com/apk/res/com.jbirdvegas.mgerrit"
to :
xmlns:app="http://schemas.android.com/apk/res/auto"
But now the first error pops up. Any ideas ?

some problems when i import googlecast demo

I had added
android-support-v4.jar,
android-support-v7-appcompat.jar,
android-support-v7-midearouter.jar,
and I had added the "GooleCastSdkAndroid" as a lib project.
But it still reported an error:
[2013-10-22 10:21:21 - CastSampleActivity] W/ResourceType( 8256): ResXMLTree_node header size 0 is too small.<br/>
[2013-10-22 10:21:21 - CastSampleActivity] cast-android-sample-master\cast-android-sample-master\res\menu\cast_sample.xml:3: error: No resource identifier found for attribute 'actionProviderClass' in package 'com.example.castsample'<br/>
[2013-10-22 10:21:21 - CastSampleActivity]cast-android-sample-master\cast-android-sample-master\res\menu\cast_sample.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'com.example.castsample'.
Can someone help to point me Where Is Wrong?
I solved the problem.
Please change
app:actionProviderClass to android:actionProviderClass
app:showAsAction to android:showAsAction.

cant add the banner Ads of the airpush new SDK

i am trying to add this in my main.xml
<com.jrlnv.qmais91534.AdView
xmlns:ap="http://schemas.android.com/apk/res-auto"
android:id="#+id/myAdView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ap:animation="fade"
ap:banner_type="inappad"
ap:placementType="interstitial"
ap:test_mode="false"
ap:canShowMR="false"
/>
this is the banner ads from the new airpush SDK
but i got this errors
Multiple annotations found at this line:
- error: No resource identifier found for attribute 'canShowMR' in package 'com.MKA'
- error: No resource identifier found for attribute 'placementType' in package 'com.MKA'
- error: No resource identifier found for attribute 'banner_type' in package 'com.MKA'
- error: No resource identifier found for attribute 'animation' in package 'com.MKA'
- error: No resource identifier found for attribute 'test_mode' in package 'com.MKA'
any help
thank you
You also need to place the mraid_attrs.xml file into your app's res > values folder. This file is included within the SDK download.

Running the android in-app billing example aplication

This will probably sound silly but I have no idea how to make the application work.
tutorial for in-app billing
Just like the tutorial says I downloaded the package, I found the files. The problem is there's no project file and I can't get it to work in eclipse.
Anyone used the example app?
I've used it successfully...what seems to be the problem? Once you download the files, bring the project into Eclipse by select "Newn Android Project", "Create project form existing source" and the "Finish." From there, follow the directions regarding changing the package name, etc...
As far as I can determine, the sample Dungeons in-app billing project that I downloaded via Android SDK Manager, does not even compile (this seems to have been fixed, see my comments later in this message..).
As a check, I ran a find command to search for one of the missing resources:
/cygdrive/k/android-sdk-windows/extras/google/play_billing $ find . -name '*.xml' -exec grep edit_payload_title {} \; -print
android:text="#string/edit_payload_title" />
./res/layout/edit_payload.xml
/cygdrive/k/android-sdk-windows/extras/google/play_billing $
As you can see, the resource #string_edit_payload_title is referenced once, but never defined in any of the xml files..
Description Resource Path Location Type
error: Error: No resource found that matches the given name (at 'background' with value '#color/screen_background'). item_row.xml /Dungeons/res/layout line 20 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'background' with value '#color/screen_background'). main.xml /Dungeons/res/layout line 20 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'prompt' with value '#string/select_item'). main.xml /Dungeons/res/layout line 52 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'text' with value '#string/buy'). main.xml /Dungeons/res/layout line 47 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'text' with value '#string/edit_payload_title'). edit_payload.xml /Dungeons/res/layout line 25 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'text' with value '#string/edit_payload'). main.xml /Dungeons/res/layout line 58 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'text' with value '#string/items_for_sale'). main.xml /Dungeons/res/layout line 34 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'text' with value '#string/items_you_own'). main.xml /Dungeons/res/layout line 64 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'text' with value '#string/recent_transactions'). main.xml /Dungeons/res/layout line 80 Android AAPT Problem
error: Error: No resource found that matches the given name (at 'textColor' with value '#color/error_message'). main.xml /Dungeons/res/layout line 28 Android AAPT Problem
** UPDATE ** I just downloaded it again and it seems to be resolved. At least, it builds and deploys now.. And the string definitions seem to be in place now..
/cygdrive/k/android-sdk-windows/extras/google/play_billing $ find . -name '*.xml' -exec grep edit_payload_title {} \; -print
android:text="#string/edit_payload_title" />
./res/layout/edit_payload.xml
<string name="edit_payload_title">Edit the developer payload associated with this purchase</string>
./res/values/strings.xml

Categories

Resources