Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Pilot Lvl 1
Message 1 of 17

Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementation

Solved! Go to Solution.

Hello Everyone,

 

I am doing my Final Year Project (FYP) and today I updated my Gradle version on Android Studio to 3.1.0 and I am not sure how to solve this error: "Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018". 

 

I also have this application where my application "Keeps Stopping" when I run it. OVER AND OVER!!! Could you please help me? Anyone?

 

16 Replies
Copilot Lvl 2
Message 2 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

I am also facing the same issue from today after the new update:

Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018

 

The problem lies in the build.gradle file - apply plugin: 'com.google.gms.google-services'

The Google Services plugin is adding a dependency on behalf of you. Hopefully they fix it in the future.

rajachellappan
Pilot Lvl 1
Message 3 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

Is there no solution for it then? What can I do for my project then? Thank you very much for replying!

Pilot Lvl 1
Message 4 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

I just checked: I have 'apply plugin: com.android.application'. Should I change that?

Ground Controller Lvl 1
Message 5 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

having the same issues. And everytime I'm running the application no update is done. The IDE just installs previously compiled APK. I tried checking by changing many things but it lead to more errors and without errors also it is not making any changes when I run the app.

 

Ground Controller Lvl 1
Message 6 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

when ??? .........................................................

Solution
Ground Controller Lvl 2
Message 7 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

Hi!

You just need to change the 'compile' by 'implementation' in the 'Build.Gradle' on module app.

 

Smiley Wink

Copilot Lvl 2
Message 8 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

Worked for me, thanks!!

Copilot Lvl 2
Message 9 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

Hello,

Please can you show me which line ?

 

Thank you

Ground Controller Lvl 1
Message 10 of 17

Re: Android Studio 3.1.0 - Configuration 'compile' is obsolete and has been replaced wit 'implementa

This worked for me too! Thanks!