رفتن به مطلب
  • 0

مشکل با ریسورس کارد ویو


ali-asadi

سوال

سلام و خسته نباشید! تازه میخواستم شروع کنم یکم کار با کارد ویو رو یاد بگیرم! که به این مشکل برخورد کردم!

ریسورس کارد ویو یه همچین چیزیه!

E:\android-sdk-windows\extras\android\support\v7\cardview\res

اما من فولدری با اسم res ندارم و این رو هم که میزارم ارور میگیره

D:\SDK\extras\android\m2repository\com\android\support\cardview-v7

اینم از ارور

invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 21.0.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 21.0.2
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 21.0.3
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 22.0.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 22.1.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 22.1.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 22.2.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 22.2.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.0.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.0.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.1.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.1.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.2.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.2.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.3.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 23.4.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.0.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.0.0-alpha1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.0.0-alpha2
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.0.0-beta1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.1.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.1.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.2.0
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 24.2.1
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 maven-metadata.xml
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 maven-metadata.xml.md5
invalid resource directory name: d:\sdk\extras\android\m2repository\com\android\support\cardview-v7 maven-metadata.xml.sha1

 

توی سایت مرجع هم که دنبالش بودم روش رفع ارور رو این کد نوشته بود

 

#additionaljar: com.android.support:cardview-v7

ولی ارور جدید میده!

B4A version: 6.30
Parsing code.    (0.00s)
Compiling code.    (0.09s)
Compiling layouts code.    (0.00s)
Organizing libraries.    (0.04s)
Generating R file.    (0.32s)
Compiling debugger engine code.    (1.98s)
Compiling generated Java code.    (2.70s)
Convert byte code - optimized dex.    Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/widget/CardViewJellybeanMr1;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R$attr;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R$color;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R$dimen;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R$drawable;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R$style;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R$styleable;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Landroid/support/v7/cardview/R;
	at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
	at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
	at com.android.dx.command.dexer.Main.processClass(Main.java:615)
	at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
	at com.android.dx.command.dexer.Main.access$2(Main.java:546)
	at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:170)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:229)
	at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:158)
	at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
	at com.android.dx.command.dexer.Main.processOne(Main.java:537)
	at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
	at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
	at com.android.dx.command.dexer.Main.run(Main.java:206)
	at com.android.dx.command.dexer.Main.main(Main.java:179)
	at com.android.dx.command.Main.main(Main.java:103)
8 errors; aborting

 

همه ی این ارورا موقع کامپایل هست!

دوستان راهی ندارند برای این ارور ها؟

لینک ارسال
به اشتراک گذاری در سایت های دیگر

4 پاسخ به این سوال تاکنون داده شده است

ارسال‌های توصیه شده

این سومین سوالیه که میپرسم اما هیچکس جواب نمیده، مشکلی هست با بنده؟ اگه ایرادی هست خب بگید

لینک ارسال
به اشتراک گذاری در سایت های دیگر

عزیزم واسه پاسخ دادنا به اینکه چ کسی سوال پرسیده نگاه نمیکنیم که بخوایم با شما مشکلی داشته باشیم یا نه :|

پوشه ساپورت اس دی کات رو آپدیت کن

وقتی میگی چنین دایرکتوری نداری چطور انتظار داری ریسورهاشو کپی کنه واس پروژه اخه ؟

این تاپیکو ببین

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

در 29 دقیقه قبل، محمـد گفته است :

عزیزم واسه پاسخ دادنا به اینکه چ کسی سوال پرسیده نگاه نمیکنیم که بخوایم با شما مشکلی داشته باشیم یا نه :|

پوشه ساپورت اس دی کات رو آپدیت کن

وقتی میگی چنین دایرکتوری نداری چطور انتظار داری ریسورهاشو کپی کنه واس پروژه اخه ؟

این تاپیکو ببین

 

دوست عزیز من چندین باره سوال میپرسم و هیشکی جواب نمیده نمونش هم همین پست و پست زیر

همش هم سعی کردم جوری رفتار کنم که اسپم به حساب نیاد!

 

در مورد این سوال هم باید بگم sdk من قسمت extera کاملا آپدیته! بازم عکس زیر رو میزارم شاید کمبودی داره که من بی خبرم! چون من داوم اپدیت میکردم!

screensdk.jpg

 

 

لینک ارسال
به اشتراک گذاری در سایت های دیگر

یافتم!

sdk رو باز کنیم! توی قسمت packages بالا سمت چپ! 4تا تیک رو بزنید! و سپس reload

حالا android support library رو توی قسمت exteras میبینید! نصبش کنید! تمومه!

لینک ارسال
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

  • کاربران آنلاین در این صفحه   0 کاربر

    • هیچ کاربر عضوی،در حال مشاهده این صفحه نیست.
×
×
  • اضافه کردن...