简体   繁体   中英

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM