NDK integration is deprecated in the current plugin












1















I am using Ionic and I never had this problem before I added Crosswalk Web View. I also don't have a problem when I use cordova android@4.1. This error is occuring with cordova android@5.1.1 with all versions of crosswalk.




  • Android Studio v2.1

  • Gradle Version v2.2.1

  • Android Plugin Version v1.5.0


I am getting this error in Android Studio when I try to sync my gradle. I am using lastest revision of sdk-23 and ndk tools.



NDK integration is deprecated in the current plugin
Error:(186, 0) Consider trying new experimental plugin
Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration


I added gradle properties and set "android.useDeprecatedNdk=true" and I get this error.



Gradle 'android' project refresh failed
Error: exception during working with eternal system









share|improve this question

























  • Would you consider using Gradle version 2.13 and Android plugin version 2.1.0 ?

    – Bipi
    May 4 '16 at 9:33











  • Sure if it works, how do I change that?

    – Kelvin
    May 4 '16 at 9:34











  • @ Shinon Chan : Have you rebuild your project ?

    – AndiGeeky
    May 5 '16 at 6:16











  • yes, i tried rebuild with ionic build android as well as rebuild project from android studio and sync project with gradle files, i'm not sure what i'm doing wrong

    – Kelvin
    May 5 '16 at 6:22











  • @Shinon Chan : Do one thing : File -> Invalidate cache & restart ..!!

    – AndiGeeky
    May 5 '16 at 6:23
















1















I am using Ionic and I never had this problem before I added Crosswalk Web View. I also don't have a problem when I use cordova android@4.1. This error is occuring with cordova android@5.1.1 with all versions of crosswalk.




  • Android Studio v2.1

  • Gradle Version v2.2.1

  • Android Plugin Version v1.5.0


I am getting this error in Android Studio when I try to sync my gradle. I am using lastest revision of sdk-23 and ndk tools.



NDK integration is deprecated in the current plugin
Error:(186, 0) Consider trying new experimental plugin
Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration


I added gradle properties and set "android.useDeprecatedNdk=true" and I get this error.



Gradle 'android' project refresh failed
Error: exception during working with eternal system









share|improve this question

























  • Would you consider using Gradle version 2.13 and Android plugin version 2.1.0 ?

    – Bipi
    May 4 '16 at 9:33











  • Sure if it works, how do I change that?

    – Kelvin
    May 4 '16 at 9:34











  • @ Shinon Chan : Have you rebuild your project ?

    – AndiGeeky
    May 5 '16 at 6:16











  • yes, i tried rebuild with ionic build android as well as rebuild project from android studio and sync project with gradle files, i'm not sure what i'm doing wrong

    – Kelvin
    May 5 '16 at 6:22











  • @Shinon Chan : Do one thing : File -> Invalidate cache & restart ..!!

    – AndiGeeky
    May 5 '16 at 6:23














1












1








1


1






I am using Ionic and I never had this problem before I added Crosswalk Web View. I also don't have a problem when I use cordova android@4.1. This error is occuring with cordova android@5.1.1 with all versions of crosswalk.




  • Android Studio v2.1

  • Gradle Version v2.2.1

  • Android Plugin Version v1.5.0


I am getting this error in Android Studio when I try to sync my gradle. I am using lastest revision of sdk-23 and ndk tools.



NDK integration is deprecated in the current plugin
Error:(186, 0) Consider trying new experimental plugin
Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration


I added gradle properties and set "android.useDeprecatedNdk=true" and I get this error.



Gradle 'android' project refresh failed
Error: exception during working with eternal system









share|improve this question
















I am using Ionic and I never had this problem before I added Crosswalk Web View. I also don't have a problem when I use cordova android@4.1. This error is occuring with cordova android@5.1.1 with all versions of crosswalk.




  • Android Studio v2.1

  • Gradle Version v2.2.1

  • Android Plugin Version v1.5.0


I am getting this error in Android Studio when I try to sync my gradle. I am using lastest revision of sdk-23 and ndk tools.



NDK integration is deprecated in the current plugin
Error:(186, 0) Consider trying new experimental plugin
Set "android.useDeprecatedNdk=true" in gradle.properties to continue using the current NDK integration


I added gradle properties and set "android.useDeprecatedNdk=true" and I get this error.



Gradle 'android' project refresh failed
Error: exception during working with eternal system






android cordova ionic-framework android-ndk crosswalk






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 5 '16 at 6:13







Kelvin

















asked May 4 '16 at 9:12









KelvinKelvin

5732727




5732727













  • Would you consider using Gradle version 2.13 and Android plugin version 2.1.0 ?

    – Bipi
    May 4 '16 at 9:33











  • Sure if it works, how do I change that?

    – Kelvin
    May 4 '16 at 9:34











  • @ Shinon Chan : Have you rebuild your project ?

    – AndiGeeky
    May 5 '16 at 6:16











  • yes, i tried rebuild with ionic build android as well as rebuild project from android studio and sync project with gradle files, i'm not sure what i'm doing wrong

    – Kelvin
    May 5 '16 at 6:22











  • @Shinon Chan : Do one thing : File -> Invalidate cache & restart ..!!

    – AndiGeeky
    May 5 '16 at 6:23



















  • Would you consider using Gradle version 2.13 and Android plugin version 2.1.0 ?

    – Bipi
    May 4 '16 at 9:33











  • Sure if it works, how do I change that?

    – Kelvin
    May 4 '16 at 9:34











  • @ Shinon Chan : Have you rebuild your project ?

    – AndiGeeky
    May 5 '16 at 6:16











  • yes, i tried rebuild with ionic build android as well as rebuild project from android studio and sync project with gradle files, i'm not sure what i'm doing wrong

    – Kelvin
    May 5 '16 at 6:22











  • @Shinon Chan : Do one thing : File -> Invalidate cache & restart ..!!

    – AndiGeeky
    May 5 '16 at 6:23

















Would you consider using Gradle version 2.13 and Android plugin version 2.1.0 ?

– Bipi
May 4 '16 at 9:33





Would you consider using Gradle version 2.13 and Android plugin version 2.1.0 ?

– Bipi
May 4 '16 at 9:33













Sure if it works, how do I change that?

– Kelvin
May 4 '16 at 9:34





Sure if it works, how do I change that?

– Kelvin
May 4 '16 at 9:34













@ Shinon Chan : Have you rebuild your project ?

– AndiGeeky
May 5 '16 at 6:16





@ Shinon Chan : Have you rebuild your project ?

– AndiGeeky
May 5 '16 at 6:16













yes, i tried rebuild with ionic build android as well as rebuild project from android studio and sync project with gradle files, i'm not sure what i'm doing wrong

– Kelvin
May 5 '16 at 6:22





yes, i tried rebuild with ionic build android as well as rebuild project from android studio and sync project with gradle files, i'm not sure what i'm doing wrong

– Kelvin
May 5 '16 at 6:22













@Shinon Chan : Do one thing : File -> Invalidate cache & restart ..!!

– AndiGeeky
May 5 '16 at 6:23





@Shinon Chan : Do one thing : File -> Invalidate cache & restart ..!!

– AndiGeeky
May 5 '16 at 6:23












2 Answers
2






active

oldest

votes


















3














You could use Android plugin version 2.1.0



In your build.gradle :



buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:2.1.0"
}
}


You need to install gradle 2.13 on your machine. Android plugin 2.0.0 and upper does not work with gradle version below 2.9 included.



https://services.gradle.org/distributions/gradle-2.13-bin.zip



You may have more changes to do according to your gradle build script implementation.






share|improve this answer
























  • i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

    – Kelvin
    May 4 '16 at 10:32



















0














I resolved this problem on Android studio 3.2.1 with updating Gradle and Android plugins version to




Gradle Vesion 4.6



Android plugin version 3.2.1




enter image description here






share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37023308%2fndk-integration-is-deprecated-in-the-current-plugin%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    You could use Android plugin version 2.1.0



    In your build.gradle :



    buildscript {
    repositories {
    mavenCentral()
    }
    dependencies {
    classpath "com.android.tools.build:gradle:2.1.0"
    }
    }


    You need to install gradle 2.13 on your machine. Android plugin 2.0.0 and upper does not work with gradle version below 2.9 included.



    https://services.gradle.org/distributions/gradle-2.13-bin.zip



    You may have more changes to do according to your gradle build script implementation.






    share|improve this answer
























    • i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

      – Kelvin
      May 4 '16 at 10:32
















    3














    You could use Android plugin version 2.1.0



    In your build.gradle :



    buildscript {
    repositories {
    mavenCentral()
    }
    dependencies {
    classpath "com.android.tools.build:gradle:2.1.0"
    }
    }


    You need to install gradle 2.13 on your machine. Android plugin 2.0.0 and upper does not work with gradle version below 2.9 included.



    https://services.gradle.org/distributions/gradle-2.13-bin.zip



    You may have more changes to do according to your gradle build script implementation.






    share|improve this answer
























    • i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

      – Kelvin
      May 4 '16 at 10:32














    3












    3








    3







    You could use Android plugin version 2.1.0



    In your build.gradle :



    buildscript {
    repositories {
    mavenCentral()
    }
    dependencies {
    classpath "com.android.tools.build:gradle:2.1.0"
    }
    }


    You need to install gradle 2.13 on your machine. Android plugin 2.0.0 and upper does not work with gradle version below 2.9 included.



    https://services.gradle.org/distributions/gradle-2.13-bin.zip



    You may have more changes to do according to your gradle build script implementation.






    share|improve this answer













    You could use Android plugin version 2.1.0



    In your build.gradle :



    buildscript {
    repositories {
    mavenCentral()
    }
    dependencies {
    classpath "com.android.tools.build:gradle:2.1.0"
    }
    }


    You need to install gradle 2.13 on your machine. Android plugin 2.0.0 and upper does not work with gradle version below 2.9 included.



    https://services.gradle.org/distributions/gradle-2.13-bin.zip



    You may have more changes to do according to your gradle build script implementation.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered May 4 '16 at 9:41









    BipiBipi

    2,0891416




    2,0891416













    • i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

      – Kelvin
      May 4 '16 at 10:32



















    • i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

      – Kelvin
      May 4 '16 at 10:32

















    i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

    – Kelvin
    May 4 '16 at 10:32





    i'm upgraded Gradle version 2.13 and Android plugin version 2.1.0 but it's still giving me the "NDK integration is deprecated in the current plugin", any ideas?

    – Kelvin
    May 4 '16 at 10:32













    0














    I resolved this problem on Android studio 3.2.1 with updating Gradle and Android plugins version to




    Gradle Vesion 4.6



    Android plugin version 3.2.1




    enter image description here






    share|improve this answer






























      0














      I resolved this problem on Android studio 3.2.1 with updating Gradle and Android plugins version to




      Gradle Vesion 4.6



      Android plugin version 3.2.1




      enter image description here






      share|improve this answer




























        0












        0








        0







        I resolved this problem on Android studio 3.2.1 with updating Gradle and Android plugins version to




        Gradle Vesion 4.6



        Android plugin version 3.2.1




        enter image description here






        share|improve this answer















        I resolved this problem on Android studio 3.2.1 with updating Gradle and Android plugins version to




        Gradle Vesion 4.6



        Android plugin version 3.2.1




        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 1 at 11:01

























        answered Jan 1 at 10:53









        MasumMasum

        2,63111219




        2,63111219






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f37023308%2fndk-integration-is-deprecated-in-the-current-plugin%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            MongoDB - Not Authorized To Execute Command

            Npm cannot find a required file even through it is in the searched directory

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith