ارر appcompat
سلام دوستان
خداقوت
من طبق برنامه آموزشی آقای مهدی کفشگر برای ایجاد منوی متریال اقدام کردم اما موقع ران گرفتن از برنامه این ارر رو میده که متوجه نمیشمک مشکل چیه
دقیقا فایل های اموزش رو کپی کردم در پوشه مربوطه اما فیلم اموزشی از برنامه اش ران میگیره اما من که ران میگیرم ارر میده
ممنون میشم کمکم کنید
۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۱۰ ۱۱ ۱۲ ۱۳ ۱۴ ۱۵ ۱۶ ۱۷ ۱۸ ۱۹ ۲۰ ۲۱ ۲۲ ۲۳ ۲۴ ۲۵ ۲۶ ۲۷ ۲۸ ۲۹ ۳۰ ۳۱ ۳۲ ۳۳ ۳۴ ۳۵ ۳۶ ۳۷ ۳۸ ۳۹ ۴۰ ۴۱ ۴۲ ۴۳ ۴۴ ۴۵ ۴۶ ۴۷ ۴۸ ۴۹ ۵۰ ۵۱ ۵۲ ۵۳ ۵۴ ۵۵ ۵۶ ۵۷ ۵۸ ۵۹ ۶۰ ۶۱ ۶۲ ۶۳ ۶۴ ۶۵ ۶۶ ۶۷ ۶۸ ۶۹ ۷۰ ۷۱ ۷۲ ۷۳ ۷۴ ۷۵ ۷۶ ۷۷ ۷۸ ۷۹ ۸۰ ۸۱ ۸۲ ۸۳ ۸۴ ۸۵ ۸۶ ۸۷ ۸۸ ۸۹ ۹۰ ۹۱ ۹۲ ۹۳ ۹۴ ۹۵ ۹۶ ۹۷ ۹۸ ۹۹ ۱۰۰ ۱۰۱ ۱۰۲ ۱۰۳ ۱۰۴ ۱۰۵ ۱۰۶ ۱۰۷ ۱۰۸ ۱۰۹ ۱۱۰ ۱۱۱ ۱۱۲ ۱۱۳ ۱۱۴ ۱۱۵ ۱۱۶ ۱۱۷ ۱۱۸ ۱۱۹ ۱۲۰ ۱۲۱ ۱۲۲ ۱۲۳ ۱۲۴ ۱۲۵ ۱۲۶ ۱۲۷ ۱۲۸ ۱۲۹ ۱۳۰ ۱۳۱ ۱۳۲ ۱۳۳ ۱۳۴ ۱۳۵ ۱۳۶ ۱۳۷ ۱۳۸ ۱۳۹ ۱۴۰ ۱۴۱ ۱۴۲ ۱۴۳ ۱۴۴ ۱۴۵ ۱۴۶ ۱۴۷ ۱۴۸ ۱۴۹ ۱۵۰ ۱۵۱ ۱۵۲ ۱۵۳ ۱۵۴ ۱۵۵ ۱۵۶ ۱۵۷ ۱۵۸ ۱۵۹ ۱۶۰ ۱۶۱ ۱۶۲ ۱۶۳ ۱۶۴ ۱۶۵ ۱۶۶ ۱۶۷ ۱۶۸ ۱۶۹ ۱۷۰ ۱۷۱ ۱۷۲ ۱۷۳ ۱۷۴ ۱۷۵ ۱۷۶ ۱۷۷ ۱۷۸ ۱۷۹ ۱۸۰ ۱۸۱ ۱۸۲ ۱۸۳ ۱۸۴ ۱۸۵ ۱۸۶ ۱۸۷ ۱۸۸ ۱۸۹ ۱۹۰ ۱۹۱ ۱۹۲ ۱۹۳ ۱۹۴ ۱۹۵ ۱۹۶ ۱۹۷ ۱۹۸ ۱۹۹ ۲۰۰ ۲۰۱ |
B4A Version: ۹.۸۰ Java Version: ۱۰ Parsing code. (۰.۱۲s) Building folders structure. (۲.۸۵s) Compiling code. (۰.۹۵s) Compiling layouts code. (۰.۳۱s) Organizing libraries. (۰.۰۰s) (Android Support Library) Generating R file. Error ..appcompatresvaluesattrs.xml:۲۸: error: Attribute "title" has already been defined ..appcompatresvaluesattrs.xml:۲۹: error: Attribute "height" has already been defined ..appcompatresvaluesattrs.xml:۳۱: error: Attribute "isLightTheme" has already been defined ..appcompatresvaluesattrs.xml:۴۳: error: Attribute "windowActionBar" has already been defined ..appcompatresvaluesattrs.xml:۴۶: error: Attribute "windowNoTitle" has already been defined ..appcompatresvaluesattrs.xml:۵۱: error: Attribute "windowActionBarOverlay" has already been defined ..appcompatresvaluesattrs.xml:۵۵: error: Attribute "windowActionModeOverlay" has already been defined ..appcompatresvaluesattrs.xml:۶۰: error: Attribute "windowFixedWidthMajor" has already been defined ..appcompatresvaluesattrs.xml:۶۴: error: Attribute "windowFixedHeightMinor" has already been defined ..appcompatresvaluesattrs.xml:۶۹: error: Attribute "windowFixedWidthMinor" has already been defined ..appcompatresvaluesattrs.xml:۷۳: error: Attribute "windowFixedHeightMajor" has already been defined ..appcompatresvaluesattrs.xml:۷۹: error: Attribute "windowMinWidthMajor" has already been defined ..appcompatresvaluesattrs.xml:۸۴: error: Attribute "windowMinWidthMinor" has already been defined ..appcompatresvaluesattrs.xml:۹۴: error: Attribute "actionBarTabStyle" has already been defined ..appcompatresvaluesattrs.xml:۹۵: error: Attribute "actionBarTabBarStyle" has already been defined ..appcompatresvaluesattrs.xml:۹۶: error: Attribute "actionBarTabTextStyle" has already been defined ..appcompatresvaluesattrs.xml:۹۷: error: Attribute "actionOverflowButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۹۸: error: Attribute "actionOverflowMenuStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۰۱: error: Attribute "actionBarPopupTheme" has already been defined ..appcompatresvaluesattrs.xml:۱۰۳: error: Attribute "actionBarStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۰۸: error: Attribute "actionBarSplitStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۱۲: error: Attribute "actionBarTheme" has already been defined ..appcompatresvaluesattrs.xml:۱۲۰: error: Attribute "actionBarWidgetTheme" has already been defined ..appcompatresvaluesattrs.xml:۱۲۳: error: Attribute "actionBarSize" has already been defined ..appcompatresvaluesattrs.xml:۱۲۷: error: Attribute "actionBarDivider" has already been defined ..appcompatresvaluesattrs.xml:۱۲۹: error: Attribute "actionBarItemBackground" has already been defined ..appcompatresvaluesattrs.xml:۱۳۲: error: Attribute "actionMenuTextAppearance" has already been defined ..appcompatresvaluesattrs.xml:۱۳۵: error: Attribute "actionMenuTextColor" has already been defined ..appcompatresvaluesattrs.xml:۱۴۲: error: Attribute "actionModeStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۴۳: error: Attribute "actionModeCloseButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۴۵: error: Attribute "actionModeBackground" has already been defined ..appcompatresvaluesattrs.xml:۱۴۷: error: Attribute "actionModeSplitBackground" has already been defined ..appcompatresvaluesattrs.xml:۱۴۹: error: Attribute "actionModeCloseDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۵۱: error: Attribute "actionModeCutDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۵۳: error: Attribute "actionModeCopyDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۵۵: error: Attribute "actionModePasteDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۵۷: error: Attribute "actionModeSelectAllDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۵۹: error: Attribute "actionModeShareDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۶۱: error: Attribute "actionModeFindDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۶۳: error: Attribute "actionModeWebSearchDrawable" has already been defined ..appcompatresvaluesattrs.xml:۱۶۶: error: Attribute "actionModePopupWindowStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۷۴: error: Attribute "textAppearanceLargePopupMenu" has already been defined ..appcompatresvaluesattrs.xml:۱۷۶: error: Attribute "textAppearanceSmallPopupMenu" has already been defined ..appcompatresvaluesattrs.xml:۱۸۵: error: Attribute "dialogTheme" has already been defined ..appcompatresvaluesattrs.xml:۱۸۷: error: Attribute "dialogPreferredPadding" has already been defined ..appcompatresvaluesattrs.xml:۱۸۹: error: Attribute "listDividerAlertDialog" has already been defined ..appcompatresvaluesattrs.xml:۱۹۷: error: Attribute "actionDropDownStyle" has already been defined ..appcompatresvaluesattrs.xml:۱۹۹: error: Attribute "dropdownListPreferredItemHeight" has already been defined ..appcompatresvaluesattrs.xml:۲۰۱: error: Attribute "spinnerDropDownItemStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۰۳: error: Attribute "homeAsUpIndicator" has already been defined ..appcompatresvaluesattrs.xml:۲۰۶: error: Attribute "actionButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۰۹: error: Attribute "buttonBarStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۱۱: error: Attribute "buttonBarButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۱۵: error: Attribute "selectableItemBackground" has already been defined ..appcompatresvaluesattrs.xml:۲۱۷: error: Attribute "selectableItemBackgroundBorderless" has already been defined ..appcompatresvaluesattrs.xml:۲۱۹: error: Attribute "dividerVertical" has already been defined ..appcompatresvaluesattrs.xml:۲۲۱: error: Attribute "dividerHorizontal" has already been defined ..appcompatresvaluesattrs.xml:۲۲۳: error: Attribute "activityChooserViewStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۲۶: error: Attribute "toolbarStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۲۸: error: Attribute "toolbarNavigationButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۳۱: error: Attribute "popupMenuStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۳۳: error: Attribute "popupWindowStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۳۶: error: Attribute "editTextColor" has already been defined ..appcompatresvaluesattrs.xml:۲۳۸: error: Attribute "editTextBackground" has already been defined ..appcompatresvaluesattrs.xml:۲۴۵: error: Attribute "textAppearanceSearchResultTitle" has already been defined ..appcompatresvaluesattrs.xml:۲۴۷: error: Attribute "textAppearanceSearchResultSubtitle" has already been defined ..appcompatresvaluesattrs.xml:۲۴۹: error: Attribute "textColorSearchUrl" has already been defined ..appcompatresvaluesattrs.xml:۲۵۱: error: Attribute "searchViewStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۵۹: error: Attribute "listPreferredItemHeight" has already been defined ..appcompatresvaluesattrs.xml:۲۶۱: error: Attribute "listPreferredItemHeightSmall" has already been defined ..appcompatresvaluesattrs.xml:۲۶۳: error: Attribute "listPreferredItemHeightLarge" has already been defined ..appcompatresvaluesattrs.xml:۲۶۶: error: Attribute "listPreferredItemPaddingLeft" has already been defined ..appcompatresvaluesattrs.xml:۲۶۸: error: Attribute "listPreferredItemPaddingRight" has already been defined ..appcompatresvaluesattrs.xml:۲۷۱: error: Attribute "dropDownListViewStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۷۲: error: Attribute "listPopupWindowStyle" has already been defined ..appcompatresvaluesattrs.xml:۲۷۵: error: Attribute "textAppearanceListItem" has already been defined ..appcompatresvaluesattrs.xml:۲۷۷: error: Attribute "textAppearanceListItemSmall" has already been defined ..appcompatresvaluesattrs.xml:۲۸۶: error: Attribute "panelBackground" has already been defined ..appcompatresvaluesattrs.xml:۲۸۸: error: Attribute "panelMenuListWidth" has already been defined ..appcompatresvaluesattrs.xml:۲۹۰: error: Attribute "panelMenuListTheme" has already been defined ..appcompatresvaluesattrs.xml:۲۹۲: error: Attribute "listChoiceBackgroundIndicator" has already been defined ..appcompatresvaluesattrs.xml:۳۰۱: error: Attribute "colorPrimary" has already been defined ..appcompatresvaluesattrs.xml:۳۰۵: error: Attribute "colorPrimaryDark" has already been defined ..appcompatresvaluesattrs.xml:۳۰۹: error: Attribute "colorAccent" has already been defined ..appcompatresvaluesattrs.xml:۳۱۲: error: Attribute "colorControlNormal" has already been defined ..appcompatresvaluesattrs.xml:۳۱۵: error: Attribute "colorControlActivated" has already been defined ..appcompatresvaluesattrs.xml:۳۱۸: error: Attribute "colorControlHighlight" has already been defined ..appcompatresvaluesattrs.xml:۳۲۱: error: Attribute "colorButtonNormal" has already been defined ..appcompatresvaluesattrs.xml:۳۲۴: error: Attribute "colorSwitchThumbNormal" has already been defined ..appcompatresvaluesattrs.xml:۳۳۰: error: Attribute "alertDialogStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۳۱: error: Attribute "alertDialogButtonGroupStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۳۲: error: Attribute "alertDialogCenterButtons" has already been defined ..appcompatresvaluesattrs.xml:۳۳۴: error: Attribute "alertDialogTheme" has already been defined ..appcompatresvaluesattrs.xml:۳۳۷: error: Attribute "textColorAlertDialogListItem" has already been defined ..appcompatresvaluesattrs.xml:۳۴۰: error: Attribute "buttonBarPositiveButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۴۳: error: Attribute "buttonBarNegativeButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۴۶: error: Attribute "buttonBarNeutralButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۵۴: error: Attribute "autoCompleteTextViewStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۵۶: error: Attribute "buttonStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۵۸: error: Attribute "buttonStyleSmall" has already been defined ..appcompatresvaluesattrs.xml:۳۶۰: error: Attribute "checkboxStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۶۲: error: Attribute "checkedTextViewStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۶۴: error: Attribute "editTextStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۶۶: error: Attribute "radioButtonStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۶۸: error: Attribute "ratingBarStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۷۰: error: Attribute "spinnerStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۷۲: error: Attribute "switchStyle" has already been defined ..appcompatresvaluesattrs.xml:۳۸۸: error: Attribute "navigationMode" has already been defined ..appcompatresvaluesattrs.xml:۳۹۷: error: Attribute "displayOptions" has already been defined ..appcompatresvaluesattrs.xml:۴۰۹: error: Attribute "subtitle" has already been defined ..appcompatresvaluesattrs.xml:۴۱۱: error: Attribute "titleTextStyle" has already been defined ..appcompatresvaluesattrs.xml:۴۱۳: error: Attribute "subtitleTextStyle" has already been defined ..appcompatresvaluesattrs.xml:۴۱۵: error: Attribute "icon" has already been defined ..appcompatresvaluesattrs.xml:۴۱۷: error: Attribute "logo" has already been defined ..appcompatresvaluesattrs.xml:۴۱۹: error: Attribute "divider" has already been defined ..appcompatresvaluesattrs.xml:۴۲۱: error: Attribute "background" has already been defined ..appcompatresvaluesattrs.xml:۴۲۳: error: Attribute "backgroundStacked" has already been defined ..appcompatresvaluesattrs.xml:۴۲۵: error: Attribute "backgroundSplit" has already been defined ..appcompatresvaluesattrs.xml:۴۲۷: error: Attribute "customNavigationLayout" has already been defined ..appcompatresvaluesattrs.xml:۴۳۱: error: Attribute "homeLayout" has already been defined ..appcompatresvaluesattrs.xml:۴۳۳: error: Attribute "progressBarStyle" has already been defined ..appcompatresvaluesattrs.xml:۴۳۵: error: Attribute "indeterminateProgressStyle" has already been defined ..appcompatresvaluesattrs.xml:۴۳۷: error: Attribute "progressBarPadding" has already been defined ..appcompatresvaluesattrs.xml:۴۴۲: error: Attribute "itemPadding" has already been defined ..appcompatresvaluesattrs.xml:۴۴۴: error: Attribute "hideOnContentScroll" has already been defined ..appcompatresvaluesattrs.xml:۴۴۷: error: Attribute "contentInsetStart" has already been defined ..appcompatresvaluesattrs.xml:۴۵۰: error: Attribute "contentInsetEnd" has already been defined ..appcompatresvaluesattrs.xml:۴۵۳: error: Attribute "contentInsetLeft" has already been defined ..appcompatresvaluesattrs.xml:۴۵۶: error: Attribute "contentInsetRight" has already been defined ..appcompatresvaluesattrs.xml:۴۵۸: error: Attribute "elevation" has already been defined ..appcompatresvaluesattrs.xml:۴۶۱: error: Attribute "popupTheme" has already been defined ..appcompatresvaluesattrs.xml:۴۸۵: error: Attribute "closeItemLayout" has already been defined ..appcompatresvaluesattrs.xml:۴۹۰: error: Attribute "paddingStart" has already been defined ..appcompatresvaluesattrs.xml:۴۹۲: error: Attribute "paddingEnd" has already been defined ..appcompatresvaluesattrs.xml:۵۰۳: error: Attribute "theme" has already been defined ..appcompatresvaluesattrs.xml:۵۱۱: error: Attribute "backgroundTint" has already been defined ..appcompatresvaluesattrs.xml:۵۱۴: error: Attribute "backgroundTintMode" has already been defined ..appcompatresvaluesattrs.xml:۵۴۸: error: Attribute "preserveIconSpacing" has already been defined ..appcompatresvaluesattrs.xml:۶۳۰: error: Attribute "showAsAction" has already been defined ..appcompatresvaluesattrs.xml:۶۵۵: error: Attribute "actionLayout" has already been defined ..appcompatresvaluesattrs.xml:۶۶۰: error: Attribute "actionViewClass" has already been defined ..appcompatresvaluesattrs.xml:۶۶۶: error: Attribute "actionProviderClass" has already been defined ..appcompatresvaluesattrs.xml:۷۰۷: error: Attribute "layout" has already been defined ..appcompatresvaluesattrs.xml:۷۱۰: error: Attribute "iconifiedByDefault" has already been defined ..appcompatresvaluesattrs.xml:۷۱۴: error: Attribute "queryHint" has already been defined ..appcompatresvaluesattrs.xml:۷۲۰: error: Attribute "closeIcon" has already been defined ..appcompatresvaluesattrs.xml:۷۲۲: error: Attribute "goIcon" has already been defined ..appcompatresvaluesattrs.xml:۷۲۴: error: Attribute "searchIcon" has already been defined ..appcompatresvaluesattrs.xml:۷۲۶: error: Attribute "searchHintIcon" has already been defined ..appcompatresvaluesattrs.xml:۷۲۸: error: Attribute "voiceIcon" has already been defined ..appcompatresvaluesattrs.xml:۷۳۰: error: Attribute "commitIcon" has already been defined ..appcompatresvaluesattrs.xml:۷۳۲: error: Attribute "suggestionRowLayout" has already been defined ..appcompatresvaluesattrs.xml:۷۳۴: error: Attribute "queryBackground" has already been defined ..appcompatresvaluesattrs.xml:۷۳۶: error: Attribute "submitBackground" has already been defined ..appcompatresvaluesattrs.xml:۷۴۳: error: Attribute "initialActivityCount" has already been defined ..appcompatresvaluesattrs.xml:۷۵۰: error: Attribute "expandActivityOverflowButtonDrawable" has already been defined ..appcompatresvaluesattrs.xml:۷۵۵: error: Attribute "textAllCaps" has already been defined ..appcompatresvaluesattrs.xml:۷۸۲: error: Attribute "measureWithLargestChild" has already been defined ..appcompatresvaluesattrs.xml:۷۸۶: error: Attribute "showDividers" has already been defined ..appcompatresvaluesattrs.xml:۷۹۳: error: Attribute "dividerPadding" has already been defined ..appcompatresvaluesattrs.xml:۸۰۴: error: Attribute "titleTextAppearance" has already been defined ..appcompatresvaluesattrs.xml:۸۰۵: error: Attribute "subtitleTextAppearance" has already been defined ..appcompatresvaluesattrs.xml:۸۰۹: error: Attribute "titleMargins" has already been defined ..appcompatresvaluesattrs.xml:۸۱۰: error: Attribute "titleMarginStart" has already been defined ..appcompatresvaluesattrs.xml:۸۱۱: error: Attribute "titleMarginEnd" has already been defined ..appcompatresvaluesattrs.xml:۸۱۲: error: Attribute "titleMarginTop" has already been defined ..appcompatresvaluesattrs.xml:۸۱۳: error: Attribute "titleMarginBottom" has already been defined ..appcompatresvaluesattrs.xml:۸۱۸: error: Attribute "maxButtonHeight" has already been defined ..appcompatresvaluesattrs.xml:۸۲۰: error: Attribute "collapseIcon" has already been defined ..appcompatresvaluesattrs.xml:۸۲۲: error: Attribute "collapseContentDescription" has already been defined ..appcompatresvaluesattrs.xml:۸۲۸: error: Attribute "navigationIcon" has already been defined ..appcompatresvaluesattrs.xml:۸۳۱: error: Attribute "navigationContentDescription" has already been defined ..appcompatresvaluesattrs.xml:۸۳۹: error: Attribute "state_above_anchor" has already been defined ..appcompatresvaluesattrs.xml:۸۵۱: error: Attribute "overlapAnchor" has already been defined ..appcompatresvaluesattrs.xml:۸۵۷: error: Attribute "color" has already been defined ..appcompatresvaluesattrs.xml:۸۵۹: error: Attribute "spinBars" has already been defined ..appcompatresvaluesattrs.xml:۸۶۱: error: Attribute "drawableSize" has already been defined ..appcompatresvaluesattrs.xml:۸۶۳: error: Attribute "gapBetweenBars" has already been defined ..appcompatresvaluesattrs.xml:۸۷۱: error: Attribute "thickness" has already been defined ..appcompatresvaluesattrs.xml:۸۷۴: error: Attribute "drawerArrowStyle" has already been defined ..appcompatresvaluesattrs.xml:۸۹۰: error: Attribute "track" has already been defined ..appcompatresvaluesattrs.xml:۸۹۶: error: Attribute "thumbTextPadding" has already been defined ..appcompatresvaluesattrs.xml:۸۹۸: error: Attribute "switchTextAppearance" has already been defined ..appcompatresvaluesattrs.xml:۹۰۰: error: Attribute "switchMinWidth" has already been defined ..appcompatresvaluesattrs.xml:۹۰۲: error: Attribute "switchPadding" has already been defined ..appcompatresvaluesattrs.xml:۹۰۴: error: Attribute "splitTrack" has already been defined ..appcompatresvaluesattrs.xml:۹۰۶: error: Attribute "showText" has already been defined ..appcompatresvaluesattrs.xml:۹۲۰: error: Attribute "buttonPanelSideLayout" has already been defined ..appcompatresvaluesattrs.xml:۹۲۱: error: Attribute "listLayout" has already been defined ..appcompatresvaluesattrs.xml:۹۲۲: error: Attribute "multiChoiceItemLayout" has already been defined ..appcompatresvaluesattrs.xml:۹۲۳: error: Attribute "singleChoiceItemLayout" has already been defined ..appcompatresvaluesattrs.xml:۹۲۴: error: Attribute "listItemLayout" has already been defined |
پاسخ ها ( 6 )
سلام
کتابخونه هاتون با هم تداخل دارن.
از چه کتابخونه هایی استفاده میکنید؟
البته یه احتمال هم داره که ریسورس ها رو دستی هم اضافه کرده باشید که این با مشکل بالا روبرو میشه.
چون AppCompat ورژن جدید، با اندروید استودیو نوشته شده، از فایل aar استفاده میکنه و ریسورس ها رو تو خودش داره و دیگه لازم نیست دستی ریسور ها رو اضاف کنید.
سلام.
ببین میگه دستوراتی که توی خط های مشخص شده هستند قبلا اضافه شدند و تکرارین
مثلا
همونطور که میدونید، این مشکل به این دلیل پیش میاد که یا ریسورس ها، دو بار اضافه شده باشن(مثلا یه بار با فایل aar اضافه شده باشن و ما هم بیایم اون رو از طریق AdditionalRes اضاف کنیم) و یا اینکه کتابخونه ها با هم تداخل داشته باشن:
موقع رپ کردن کتابخونه ها، از یه Annotation که مربوط به پکیج AnywereSoftWhere.b4a.BA هست به نام Depends On استفاده میشه که مشخص میکنه این کتابخونه، از چه کتابخونه های دیگه ای باید استفاده کنه، تا موقع کامپایل مشکلی پیش نیاد.
حالا اگر دو تا کتابخونه همزمان با هم داخل DependsOn از اپ کامپت استفاده کنن،
یا
یک کتابخونه در DependsOn از اپ کامپت استفاده کرده باشه و ما هم خودمون بیایم تیک اپ کامپت رو بزنیم این مشکل بوجود میاد.
چون با هر DependsOn، یه بار اون کتابخونه اضافه میشه و اگر ما هم بیایم اضافش کنیم، انگار دوبار اضاف شده و به مشکل میخوره.
حالا این چندتا راه حل داره:
اول اینکه بیایم کتابخونه هایی که با هم تداخل دارن رو شناسایی کنیم و همزمان ازشون استفاده نکنیم.
دوم اینکه میشه اون dependsOn رو از فایل xml کتابخونه پاک کرد تا مشکل_برای این پروژه_ حل شه.
راه سوم هم اینکه اگر با AdditionalRes ریسورس ها رو اضافه کردین، اون رو پاک کنید.
موفق باشید
آقا حامد؛ شما الان دارید از AndroidSupport استفاده میکنید. اینطوری ممکنه در آینده ای نه چندان دور(که اکثر کتابخونه ها اومدن رو Androidx، به مشکل برمیخورید) گوگل هم دیگه از AndroidSupport پشتیبانی نمیکنه و آپدیت هاشو با Androidx میده بیرون. پیشنهاد میکنم قبل از اینکه به مشکل بخورید، به Androidx مهاجرت کنید.
برای اینکار، مراحل زیر رو انجام بدید:
۱- آخرین نسخه SDK و ریسورس هاشو رو از لینک زیر دانلود کنید:
https://www.b4x.com/b4a.html
۲- بعد از آپدیت، داخل بیسیک از منوی تولز، وارد SDKManager بشید و تمام موارد توصیه شده رو دانلود کنید.
۳- برای اجرای این ابزار، از طریق منوی تولز، Jetifier رو باز کنید و روی jetify کلیک کنید.
همین
از نسخه ۹.۳ به بعد بیسیک، باید از پکیج های androidx استفاده شه:
توی آموزش کتابخونه appcompatرو فعال نمی کنه اما سه تا پوشه کپی میکنه توی برنامه
منم همونارو کپی کردم
اما دو کتابخونه MSMaterialDrawer و phoneرو فعال میکنه
قبل از کد نویسی هم این چند خطو به برنامه اضافه کردم طبق آموزش
#AdditionalRes: ..\appcompat\res, android.support.v7.appcompat
#AdditionalRes: ..\md-app\res
#AdditionalRes: ..\md-lib\res
الان شما دارید از AndroidSupport استفاده میکنید. گوگل دیگه ازش پشتیبانی نمیکنه و آپدیت هاشو رو Androidx میده بیرون.
بهترین کار اینه که تا به مشکل برنخوردی، به Androidx مهاجرت کنید.
کافیه مراحل زیر رو انجام بدید:
۱- آخرین نسخه SDK و ریسورس هاشو رو از لینک زیر دانلود کنید:
https://www.b4x.com/b4a.html
۲- بعد از آپدیت، داخل بیسیک از منوی تولز، وارد SDKManager بشید و تمام موارد توصیه شده رو دانلود کنید.
۳- برای اجرای این، از طریق منوی تولز، Jetifier رو باز کنید و روی jetify کلیک کنید.
موقع کامپایل، باید بجای (Android Support Library) ، متن (AndroidX SDK) باشه.
برای کار با MsMaterialDrawer، کافیه ریسورس های خودشو بهش بدین و تیک AppCompat هم بزنید. (البته نسخه ۴ اپ کامپت)
همین
سلام داداش
خداقوت
من بیسیک ۱۰ با اس دی کای مخصوصشو نصب کردم، شبیه سازمم به لیپروید تغییر دادم
برنامه اجرا شد اما به محض ورود به اپ این ارر و داد و پرید بیرون
ممنون میشم ایراد اینم بهم بگید
ببخشید حسابی زحمت دادم
سلام علی اقا
ممنونم از محبت و پیگیریتون
انشالله به زودی انجام میدم و اگر مشکلی بود مزاحمتون میشم
خدا خیرتون بده
این میتونه دو تا دلیل داشته باشه
اول اینکه کتابخونه هاتون درست jetify نشده. سعی کنید دوباره اونا رو jetify کنید.
این نکته رو هم داشته باشید که jetifier، فقط Additional Libraries رو jetify میکنه و این یعنی اگر شما کتابخونه هاتون رو تو پوشه Libraries در محل نصب بیسیک ریخته باشید، اونا jetify نمیشن و همین ارور رو رو دریافت میکنید.
اگر اینطوریه، حتما اون کتابخونه هایی که نو Internal Libraries ریختین رو پاک کنید، و تو Additional Libraries بریزید. چون Internal Libraris، بر Additional Libraries، اولویت دارن؛ یعنی اگر کتابخونه ای در هر دو پوشه Libraries باشن، بیسیک میاد از اونی استفاده میکنه که تو Internal هست.
دلیل دوم، مشکل کتابخونه MsMaterialDrawer هست که بنده قبلا ریسورس هاش رو ویرایش کرده بودم:
لینک دانلود:
https://answercenter.ir/applications/core/interface/file/attachment.php?id=6495
سؤالی بود درخدمتم