Bug 1954 - Error occurred when user build the ApiDemo application in Emulator for target framework 2.2, 2.3, 1.6.
Summary: Error occurred when user build the ApiDemo application in Emulator for target...
Status: CLOSED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Mono runtime / AOT Compiler ()
Version: 1.9.2
Hardware: Macintosh Mac OS
: High normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2011-11-09 04:18 UTC by Atin
Modified: 2011-12-22 06:55 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Image for the bug (274.03 KB, image/jpeg)
2011-11-09 04:18 UTC, Atin
Details
Image for the bug (297.71 KB, image/jpeg)
2011-11-09 04:19 UTC, Atin
Details
Image for the issue (191.88 KB, image/jpeg)
2011-11-11 04:24 UTC, narayanp
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
CLOSED FIXED

Description Atin 2011-11-09 04:18:10 UTC
Created attachment 852 [details]
Image for the bug

Steps to Reproduce:
1. Download the application from "https://github.com/xamarin/monodroid-samples" link.
2. Launch MonoDevelop.
3. Click on "Start Solution or File" icon.
4. Browse ApiDemo application.
5. Click on Open button.
6. Right click on project name.
7. Select "Options".
8. Click on General at left panel.
9. Select Target Framework "Mono For Android 1.6".
10. Build the application
11. See Type or namespace name error appears.
 Error Details;
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/Text/LogTextBox.cs(67,67): Error CS0234: The type or namespace name `JniHandleOwnership' does not exist in the namespace `Android.Runtime'. Are you missing an assembly reference? (CS0234) (ApiDemo)


12. Now select Target Framework "Mono For Android 2.2,2.3"
13. Build the application.
14. see the errors

Error Details: 
/Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.Common.targets: Error: Tool exited with code: 1. Output: /Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/actionbardisplayoptions.axml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/actionbardisplayoptions.axml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/actionbartabs.axml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/actionbartabs.axml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/actionbartabs.axml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/actionbartabs.axml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/activityrecreate.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/activityrecreate.axml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/activityrecreate.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alarm_controller.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alarm_controller.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alarm_controller.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alert_dialog_text_entry.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alert_dialog_text_entry.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alert_dialog_text_entry.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/alertdialog.axml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/animations_main_screen.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/animations_main_screen.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/animations_main_screen.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/animations_main_screen.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/animations_main_screen.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/animations_main_screen.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/bouncingballs.axml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/bouncingballs.axml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/link.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/local_service_binding.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/local_service_binding.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/local_service_binding.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/local_service_controller.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/local_service_controller.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/local_service_controller.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/log_text_box_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/log_text_box_1.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/log_text_box_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/marquee.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/marquee.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/morse_code.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/morse_code.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/morse_code.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/notify_with_text.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/notify_with_text.xml:14: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/read_asset.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/read_asset.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/read_asset.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/resources.xml:19: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/resources.xml:19: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/resources.xml:19: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/resources.xml:19: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/resources.xml:19: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/shape_drawable_1.xml:14: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/styled_text.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/translucent_background.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/translucent_background.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/voice_recognition.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/voice_recognition.xml:15: error: Error: String types not allowed (at 'layout_height' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/voice_recognition.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/voice_recognition.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
/Users/mac/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/obj/Debug/res/layout/voice_recognition.xml:15: error: Error: String types not allowed (at 'layout_width' with value 'match_parent').
 (ApiDemo)


Actual result:
Error occurs when user build the ApiDemo application. Please refer the attached screenshots.


Expected Result:
Application should build without an error.

Environment:
MAC SnowLeopard 10.6.7
MD 2.8.2
M4A: 1.9.2
Mono Framework 2.10.6
Comment 1 Atin 2011-11-09 04:19:24 UTC
Created attachment 853 [details]
Image for the bug
Comment 2 narayanp 2011-11-11 04:22:19 UTC
We are getting below error while running this application on MfA 1.9.3

/Users/nichal/Desktop/xamarin-monodroid-samples-930d594/ApiDemo/Tutorials/FormWidgetsTutorial.cs(34,34): Error CS0070: The event `Android.Views.View.KeyPress' can only appear on the left hand side of += or -= when used outside of the type `Android.Views.View' (CS0070) (ApiDemo)

Please refer the attached screenshot "ApiDemo.jpg"
Environments:
MD 3.0 Beta1(2.9.0)
M4A; 1.9.3
Comment 3 narayanp 2011-11-11 04:24:20 UTC
Created attachment 868 [details]
Image for the issue
Comment 4 narayanp 2011-12-22 06:54:25 UTC
Now API demo application is working fine on API 10 and 14, however error occurs in launch the application on API7 and we have already logged a new issue for that.

Bug 2209 - Many samples layouts are not compatible with API Level 7

Hence we are closing this issue