2016-09-29 4 views
-1

잘못된 정보를안드로이드 스튜디오 2.2 레이아웃 파일 내가 조금 전에 2.2 안드로이드 스튜디오를 업그레이드하고 내 프로젝트의 열 하나에 갔을 때 내 레이아웃 파일을 모두 내 클래스의 일부와 함께 엉망이되어

에 대한 내 레이아웃 파일의 예를 하나 내가 디스크에있는 xml 파일을 보면 레이아웃이 올바른지

...

���� 3� 
��� actionBarDivider I 
ConstantValue E actionBarItemBackground F actionBarPopupTheme ? 
actionBarSize D actionBarSplitStyle A actionBarStyle @ actionBarTabBarStyle ; actionBarTabStyle : actionBarTabTextStyle < actionBarTheme B actionBarWidgetTheme C actionButtonStyle ` actionDropDownStyle \ actionLayout � actionMenuTextAppearance G actionMenuTextColor H actionModeBackground K actionModeCloseButtonStyle J actionModeCloseDrawable M actionModeCopyDrawable O actionModeCutDrawable N actionModeFindDrawable S actionModePasteDrawable P actionModePopupWindowStyle U actionModeSelectAllDrawable Q actionModeShareDrawable R actionModeSplitBackground L actionModeStyle I actionModeWebSearchDrawable T actionOverflowButtonStyle = actionOverflowMenuStyle > actionProviderClass � actionViewClass � activityChooserViewStyle h alertDialogButtonGroupStyle � alertDialogCenterButtons � alertDialogStyle � alertDialogTheme � 
allowStacking � alpha � arrowHeadLength � arrowShaftLength � autoCompleteTextViewStyle � 
background backgroundSplit backgroundStacked 
[email protected] backgroundTintModeA barLength � borderlessButtonStyle e buttonBarButtonStyle b buttonBarNegativeButtonStyle � buttonBarNeutralButtonStyle � buttonBarPositiveButtonStyle � buttonBarStyle a 
buttonGravity5 buttonPanelSideLayout ! buttonStyle � buttonStyleSmall � 
buttonTint � buttonTintMode � 
checkboxStyle � checkedTextViewStyle � closeIcon � closeItemLayout collapseContentDescription7 collapseIcon6 color � colorAccent � colorBackgroundFloating � colorButtonNormal � colorControlActivated � colorControlHighlight � colorControlNormal � colorPrimary � colorPrimaryDark � colorSwitchThumbNormal � 
commitIcon � contentInsetEnd contentInsetEndWithActions contentInsetLeft contentInsetRight contentInsetStart contentInsetStartWithNavigation controlBackground � customNavigationLayout defaultQueryHint � dialogPreferredPadding Z dialogTheme Y displayOptions divider dividerHorizontal g dividerPadding � dividerVertical f drawableSize � drawerArrowStyle dropDownListViewStyle y dropdownListPreferredItemHeight ] editTextBackground n 
editTextColor m 
editTextStyle �  elevation $expandActivityOverflowButtonDrawable gapBetweenBars � goIcon � height hideOnContentScroll homeAsUpIndicator _ 
homeLayout icon  iconifiedByDefault � imageButtonStyle o indeterminateProgressStyle initialActivityCount isLightTheme itemPadding layout � listChoiceBackgroundIndicator � listDividerAlertDialog [ listItemLayout % 
listLayout " listMenuViewStyle � listPopupWindowStyle z listPreferredItemHeight t listPreferredItemHeightLarge v listPreferredItemHeightSmall u listPreferredItemPaddingLeft w listPreferredItemPaddingRight x logo 

일부 레이아웃 파일이 실제로 내 클래스에서 코드가 안드로이드 스튜디오에서 다음과 같습니다 (희소식입니다) 수업과 함께

다른 누구든지이 문제를보고 해결 방법을 알고 있습니까? 그러나

File > Invalidate Cache/Restart > Invalidate and Restart

:이 정상적인 파일의 파일의 내용이 도구에 의해 적절하게 렌더링 할 수없는 문제를 것으로 보인다 때문에 프로젝트가 무엇을

+0

Android Studio 외부의 텍스트 편집기에서 파일을 열면 어떻게 보이나요? –

+0

@BrendanL 고맙게도 정상적으로 보였으므로 어떤 데이터도 잃어 버리지 않았습니다. – tyczj

+1

아직 캐시를 사용하지 않았 으면 다시 시도하십시오. – Shaishav

답변

1

을 didnt는 청소, 나는 다음과 같은 시도하는 것이 좋습니다 , 나는이 문제에 대한 진정한 이유를 이해하지 못한다. 문제를 재현 할 수있는 경우 버그 보고서 here을 제출할 수 있습니다.