Default Activity not found, though default activity is specified in manifest. Issue happening after updating...
Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.
Thanks in advance.
android android-activity android-manifest
add a comment |
Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.
Thanks in advance.
android android-activity android-manifest
In Android Studio 3.2.1
– suresh yadam
Nov 24 '18 at 6:47
1
You obviously didn't declareMainPageActivity
in Manifest.
– Mohsen
Nov 24 '18 at 6:47
Share your Manifest's code
– RoyalGriffin
Nov 24 '18 at 6:48
add a comment |
Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.
Thanks in advance.
android android-activity android-manifest
Not expecting Invalidate/Restart, Clean Project, Rebuild project as i already tried these.
Thanks in advance.
android android-activity android-manifest
android android-activity android-manifest
edited Nov 24 '18 at 8:32
mbuechmann
2,84621325
2,84621325
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 declareMainPageActivity
in Manifest.
– Mohsen
Nov 24 '18 at 6:47
Share your Manifest's code
– RoyalGriffin
Nov 24 '18 at 6:48
add a comment |
In Android Studio 3.2.1
– suresh yadam
Nov 24 '18 at 6:47
1
You obviously didn't declareMainPageActivity
in Manifest.
– Mohsen
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.– Mohsen
Nov 24 '18 at 6:47
You obviously didn't declare
MainPageActivity
in Manifest.– Mohsen
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
add a comment |
1 Answer
1
active
oldest
votes
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
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Nov 24 '18 at 11:05
suresh yadamsuresh yadam
1037
1037
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
In Android Studio 3.2.1
– suresh yadam
Nov 24 '18 at 6:47
1
You obviously didn't declare
MainPageActivity
in Manifest.– Mohsen
Nov 24 '18 at 6:47
Share your Manifest's code
– RoyalGriffin
Nov 24 '18 at 6:48