我已經做了一個android應用程序來定位4.1 API,但是當我使用2.3 API時,我得到了很多錯誤!2.3 Api android無法工作
所以我想要解決這些錯誤,以便在Google play上發佈只有2.3 API設備的相同應用程序,該怎麼做?並且可以修復該錯誤?
[2013-08-30 13:24:10 - SAMS] Error in an XML file: aborting build.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] W/ResourceType(18388): ResXMLTree_node header size 0x2 is too small.
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\activity_classtable.xml:254: error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\activity_classtable.xml:261: error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\activity_classtable.xml:269: error: Error: No resource found that matches the given name (at 'style' with value '?android:attr/buttonBarButtonStyle').
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-mdpi\activity_contactus.xml:69: error: No resource identifier found for attribute 'spinnerMode' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\activity_contactus.xml:73: error: Error: No resource found that matches the given name (at 'spinnerStyle' with value '@android:style/Widget.Spinner.DropDown').
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-mdpi\activity_setting.xml:9: error: Error: No resource found that matches the given name (at 'spinnerStyle' with value '@android:style/Widget.Spinner.DropDown').
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\rep2.xml:2: error: No resource identifier found for attribute 'columnCount' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\rep2.xml:9: error: No resource identifier found for attribute 'layout_row' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\layout-xhdpi\special_spinner_dropdown.xml:1: error: No resource identifier found for attribute 'textIsSelectable' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\about.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\aboutus.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\admin_login.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\alarm.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\alarm_receiver.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\classtable.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\contactus.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\dash_board.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
[2013-08-30 13:24:33 - SAMS] C:\Users\pc\workspace\SAMS\res\menu\list.xml:3: error: No resource identifier found for attribute 'showAsAction' in package 'android'
向我們展示錯誤引發的代碼。 – LuigiEdlCarno
所有R中包含內容佈局不起作用,一旦將API更改爲4.1,每件事情都可以正常 –
發佈您的清單 – BRK