آموزش های این وب سایت به صورت رایگان در دسترس است. اطلاعات بیشتر
بروز خطا
   [message]
اشتراک در سوال
رای ها
[dataList]

اضافه کردن کتابخانه ها

 7 سال پیش  7 سال پیش
0 0

سلام.خسته نباشید.من میخوام کتابخانه volley رو اضافه کنم.به صورت آفلاین چگونه اینکار رو بکنم؟

0 0
یه مثال هست ببین، شاید کمکت کنه (7 سال پیش)
 برای این سوال 1 پاسخ وجود دارد.
پاسخ به سوال 
Hassan94  7 سال پیش
0 0

####Method 2: Adding Manually

  • Download the project as a zip file and extract it on your computer.
  • In Android Studio, Open File -> New -> New Module.
  • In the newly opened window under the More Modules click Import Existing Project and set the Source Directory as the directory that you extracted the downloaded zip and click finish.
  • Open your build.gradle file in the app module and add this line to your dependencies:
implementation project(':persianmaterialdatetimepicker') 

So you're build.gradle file will look like this:

dependencies {
    // Other dependenices
    implementation project(':persianmaterialdatetimepicker')
}
  • Sync Gradle with your project and it's done! you can now use the library within your project.

####Note If you're getting this error after importing the library:

Error:(1, 0) Plugin with id 'com.android.library' not found.

then you should add these lines to the build.gradle file of the persianmaterialdatetimepickermodule:


پاسخگویی و مشاهده پاسخ های این سوال تنها برای اعضای ویژه سایت امکان پذیر است .
چنانچه تمایل دارید به همه بخش ها دسترسی داشته باشید میتوانید از این بخش لایسنس این آموزش را خریداری نمایید .