مشکل در اینپورت سورس

سوال

سلام من یک سورس را اینپورت کردم و این ۴ خطا را میدهد ممنون میشم راهنمایی کنید

 

در حال بررسی 0
۱۳۹۷/۱۲/۱۲ ۲۳:۲۶:۳۰ 10 پاسخ کاربر تازه 0

پاسخ ها ( 10 )

    0
    ۱۳۹۷/۱۲/۱۳ ۱۸:۰۹:۵۲

    سلام

    در نسخه جدید اندروید استودیو، تغییراتی به وجود اومده:

    • در نسخه قدیم برای اضافه کردن یک کتاب از compile استفاده میشده؛ حالا برای اضافه کردن کتاب باید از implementation استفاده کنید.
    • همچنین باید بجای testImplementation استفاده کنید.
    • و به جای androidTestCompile از androidTestImplementation استفاده کنید.

    برای رفع خطاها، به فایل Build.gradle سورس مراجعه کنید و از عبارات جدیدی که در بالا گفتم، به جای عبارات قدیمی استفاده کنید.

    موفق باشید.

    0
    ۱۳۹۷/۱۲/۱۳ ۲۰:۳۲:۵۷

    هنوز این خطا ها رو میده

    WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
    It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
    Affected Modules: app

    WARNING: Configuration ‘testCompile’ is obsolete and has been replaced with ‘testImplementation’.
    It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
    Affected Modules: app

    0
    ۱۳۹۷/۱۲/۱۳ ۲۰:۳۴:۳۷

    این کد های همون صفحه ای که گفتید

    0
    ۱۳۹۷/۱۲/۱۳ ۲۰:۵۱:۱۵

    خط ۴۱ رو هنوز تغییر ندادید

    0
    ۱۳۹۷/۱۲/۱۳ ۲۱:۲۵:۲۴

    WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
    It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
    Affected Modules: app

    0
    ۱۳۹۷/۱۲/۱۳ ۲۳:۱۸:۴۲

    این را امتحان کنید:

     

    0
    ۱۳۹۷/۱۲/۱۳ ۲۳:۵۰:۱۹
    این پاسخ ویرایش شد.

    این خطا رو دوباره داد

    WARNING: Configuration ‘compile’ is obsolete and has been replaced with ‘implementation’ and ‘api’.
    It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
    Affected Modules: app

    0
    ۱۳۹۷/۱۲/۱۵ ۰:۱۹:۴۲

    حالا باید چیکار کنم

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

    0
    ۱۳۹۷/۱۲/۱۵ ۱۸:۴۸:۳۶

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

ارسال یک پاسخ