Default Activity not found, though default activity is specified in manifest. Issue happening after updating...












-1















Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.



Thanks in advance.



enter image description here



enter image description here










share|improve this question

























  • In Android Studio 3.2.1

    – suresh yadam
    Nov 24 '18 at 6:47






  • 1





    You obviously didn't declare MainPageActivity in Manifest.

    – ʍѳђઽ૯ท
    Nov 24 '18 at 6:47











  • Share your Manifest's code

    – RoyalGriffin
    Nov 24 '18 at 6:48


















-1















Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.



Thanks in advance.



enter image description here



enter image description here










share|improve this question

























  • In Android Studio 3.2.1

    – suresh yadam
    Nov 24 '18 at 6:47






  • 1





    You obviously didn't declare MainPageActivity in Manifest.

    – ʍѳђઽ૯ท
    Nov 24 '18 at 6:47











  • Share your Manifest's code

    – RoyalGriffin
    Nov 24 '18 at 6:48
















-1












-1








-1








Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.



Thanks in advance.



enter image description here



enter image description here










share|improve this question
















Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.



Thanks in advance.



enter image description here



enter image description here







android android-activity android-manifest






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 24 '18 at 8:32









mbuechmann

2,98721426




2,98721426










asked Nov 24 '18 at 6:45









suresh yadamsuresh yadam

1037




1037













  • In Android Studio 3.2.1

    – suresh yadam
    Nov 24 '18 at 6:47






  • 1





    You obviously didn't declare MainPageActivity in Manifest.

    – ʍѳђઽ૯ท
    Nov 24 '18 at 6:47











  • Share your Manifest's code

    – RoyalGriffin
    Nov 24 '18 at 6:48





















  • In Android Studio 3.2.1

    – suresh yadam
    Nov 24 '18 at 6:47






  • 1





    You obviously didn't declare MainPageActivity in Manifest.

    – ʍѳђઽ૯ท
    Nov 24 '18 at 6:47











  • Share your Manifest's code

    – RoyalGriffin
    Nov 24 '18 at 6:48



















In Android Studio 3.2.1

– suresh yadam
Nov 24 '18 at 6:47





In Android Studio 3.2.1

– suresh yadam
Nov 24 '18 at 6:47




1




1





You obviously didn't declare MainPageActivity in Manifest.

– ʍѳђઽ૯ท
Nov 24 '18 at 6:47





You obviously didn't declare MainPageActivity in Manifest.

– ʍѳђઽ૯ท
Nov 24 '18 at 6:47













Share your Manifest's code

– RoyalGriffin
Nov 24 '18 at 6:48







Share your Manifest's code

– RoyalGriffin
Nov 24 '18 at 6:48














1 Answer
1






active

oldest

votes


















0














Note: No need to post my manifest here as i cross checked hundred times about MainPageActivity and it is avaialbe :)



After hours of struggle, finally found this was working.
https://developer.android.com/studio/known-issues



Looks like this is known issue.



From google:



Configuration on demand with Gradle 4.6 and above: If you're using Android Gradle Plugin 3.0.x or 3.1.x with Gradle 4.6 and above, you should disable configuration on demand to avoid some unpredictable build errors. (If you are using Android Gradle Plugin 3.2.0 or higher, you do not need to take any action to disable configuration on demand.)



Disable configuration on demand in your gradle.properties file as shown below:



org.gradle.configureondemand=false






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%2f53455841%2fdefault-activity-not-found-though-default-activity-is-specified-in-manifest-is%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Note: No need to post my manifest here as i cross checked hundred times about MainPageActivity and it is avaialbe :)



    After hours of struggle, finally found this was working.
    https://developer.android.com/studio/known-issues



    Looks like this is known issue.



    From google:



    Configuration on demand with Gradle 4.6 and above: If you're using Android Gradle Plugin 3.0.x or 3.1.x with Gradle 4.6 and above, you should disable configuration on demand to avoid some unpredictable build errors. (If you are using Android Gradle Plugin 3.2.0 or higher, you do not need to take any action to disable configuration on demand.)



    Disable configuration on demand in your gradle.properties file as shown below:



    org.gradle.configureondemand=false






    share|improve this answer




























      0














      Note: No need to post my manifest here as i cross checked hundred times about MainPageActivity and it is avaialbe :)



      After hours of struggle, finally found this was working.
      https://developer.android.com/studio/known-issues



      Looks like this is known issue.



      From google:



      Configuration on demand with Gradle 4.6 and above: If you're using Android Gradle Plugin 3.0.x or 3.1.x with Gradle 4.6 and above, you should disable configuration on demand to avoid some unpredictable build errors. (If you are using Android Gradle Plugin 3.2.0 or higher, you do not need to take any action to disable configuration on demand.)



      Disable configuration on demand in your gradle.properties file as shown below:



      org.gradle.configureondemand=false






      share|improve this answer


























        0












        0








        0







        Note: No need to post my manifest here as i cross checked hundred times about MainPageActivity and it is avaialbe :)



        After hours of struggle, finally found this was working.
        https://developer.android.com/studio/known-issues



        Looks like this is known issue.



        From google:



        Configuration on demand with Gradle 4.6 and above: If you're using Android Gradle Plugin 3.0.x or 3.1.x with Gradle 4.6 and above, you should disable configuration on demand to avoid some unpredictable build errors. (If you are using Android Gradle Plugin 3.2.0 or higher, you do not need to take any action to disable configuration on demand.)



        Disable configuration on demand in your gradle.properties file as shown below:



        org.gradle.configureondemand=false






        share|improve this answer













        Note: No need to post my manifest here as i cross checked hundred times about MainPageActivity and it is avaialbe :)



        After hours of struggle, finally found this was working.
        https://developer.android.com/studio/known-issues



        Looks like this is known issue.



        From google:



        Configuration on demand with Gradle 4.6 and above: If you're using Android Gradle Plugin 3.0.x or 3.1.x with Gradle 4.6 and above, you should disable configuration on demand to avoid some unpredictable build errors. (If you are using Android Gradle Plugin 3.2.0 or higher, you do not need to take any action to disable configuration on demand.)



        Disable configuration on demand in your gradle.properties file as shown below:



        org.gradle.configureondemand=false







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 24 '18 at 11:05









        suresh yadamsuresh yadam

        1037




        1037
































            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%2f53455841%2fdefault-activity-not-found-though-default-activity-is-specified-in-manifest-is%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

            Wiesbaden

            Marschland

            Dieringhausen