ارور Generating R file. در بیسیک فور اندروید
سلام کد manifest editior من اینه
۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۱۰ ۱۱ ۱۲ ۱۳ ۱۴ ۱۵ ۱۶ ۱۷ ۱۸ ۱۹ ۲۰ ۲۱ ۲۲ ۲۳ ۲۴ ۲۵ ۲۶ ۲۷ ۲۸ ۲۹ ۳۰ ۳۱ ۳۲ |
'This code will be applied to the manifest file during compilation. 'You do not need to modify it in most cases. 'See this link for for more information: http://www.basic4ppc.com/forum/showthread.php?p=78136 AddManifestText( <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/> <supports-screens android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:anyDensity="true"/>) SetApplicationAttribute(android:icon, "@drawable/icon") SetApplicationAttribute(android:label, "$LABEL$") 'End of default text. SetApplicationAttribute(android:theme, "@style/MyAppTheme") CreateResource(values,theme.xml, <resources> <style name="MyAppTheme" parent="Theme.AppCompat.Light.NoActionBar"> <item name="colorPrimary">#2196F3 </item> <item name="colorPrimaryDark">#2196F3 </item> <item name="colorAccent">#f20000</item> <item name="windowNoTitle">true</item> <item name="windowActionBar">false</item> </style> </resources> ) '###############################################################کدای مخصوص کتابخانه AddApplicationText(<activity android:name="ir.blue_saffron.libs.FileChooserActivity" android:theme="@android:style/Theme.Black.NoTitleBar" />) AddPermission(android.permission.WRITE_EXTERNAL_STORAGE) ' دسترسی نوشتن در مموری '############################################################### |
ولی هنگام کامپایل به ارور زیر میخورم
Generating R file. Error
resvalues-v21theme.xml:1: error: Error parsing XML: not well-formed (invalid token)
من حتی پوشه های valuse , valuses-v21 رو هم توی پوشه ای که برنامه رو ذخیره کردم ایجاد کردم اما ارور بالا باز میاد
پاسخ ( 1 )
سلام.
دوست عزیز، اولا با ساختن پوشه، که مشکل حل نمیشه. مهم فایل های توشه.
دوما داره اشاره میکنه به توکن.
میگه نامعتبره.
برو توی فایلی که گفته ببین چی کم و زیاد کردی که شاکی شده از دستت.