Android- Code Error after running a few day later
I run my application and saw xml files were swapped with java and vice versa.
and my android manifest have this code. I don't know what happeded
���� 4 �
� � � abc_action_bar_title_item I
ConstantValue abc_action_bar_up_container abc_action_menu_item_layout abc_action_menu_layout
abc_action_mode_bar #abc_action_mode_close_item_material
abc_activity_chooser_view
abc_activity_chooser_view_list_item $abc_alert_dialog_button_bar_material
abc_alert_dialog_material abc_alert_dialog_title_material
abc_cascading_menu_item_layout abc_dialog_title_material
abc_expanded_menu_layout
abc_list_menu_item_checkbox abc_list_menu_item_icon
abc_list_menu_item_layout abc_list_menu_item_radio
!abc_popup_menu_header_item_layout
abc_popup_menu_item_layout abc_screen_content_include
abc_screen_simple %abc_screen_simple_overlay_action_mode
abc_screen_toolbar $abc_search_dropdown_item_icons_2line
abc_search_view abc_select_dialog_material
abc_tooltip activity_login
activity_main activity_signup !cast_expanded_controller_activity cast_help_text
cast_intro_overlay ! cast_mini_controller "
!cast_tracks_chooser_dialog_layout #
%cast_tracks_chooser_dialog_row_layout $
design_bottom_navigation_item % design_bottom_sheet_dialog &
design_layout_snackbar ' design_layout_snackbar_include (
design_layout_tab_icon ) design_layout_tab_text *
design_menu_item_action_area + design_navigation_item ,
design_navigation_item_header -
design_navigation_item_separator .
design_navigation_item_subheader / design_navigation_menu 0
design_navigation_menu_item 1 design_text_input_password_icon
2 fragment_addressing_system 3 mr_cast_dialog 4 m
java
add a comment |
I run my application and saw xml files were swapped with java and vice versa.
and my android manifest have this code. I don't know what happeded
���� 4 �
� � � abc_action_bar_title_item I
ConstantValue abc_action_bar_up_container abc_action_menu_item_layout abc_action_menu_layout
abc_action_mode_bar #abc_action_mode_close_item_material
abc_activity_chooser_view
abc_activity_chooser_view_list_item $abc_alert_dialog_button_bar_material
abc_alert_dialog_material abc_alert_dialog_title_material
abc_cascading_menu_item_layout abc_dialog_title_material
abc_expanded_menu_layout
abc_list_menu_item_checkbox abc_list_menu_item_icon
abc_list_menu_item_layout abc_list_menu_item_radio
!abc_popup_menu_header_item_layout
abc_popup_menu_item_layout abc_screen_content_include
abc_screen_simple %abc_screen_simple_overlay_action_mode
abc_screen_toolbar $abc_search_dropdown_item_icons_2line
abc_search_view abc_select_dialog_material
abc_tooltip activity_login
activity_main activity_signup !cast_expanded_controller_activity cast_help_text
cast_intro_overlay ! cast_mini_controller "
!cast_tracks_chooser_dialog_layout #
%cast_tracks_chooser_dialog_row_layout $
design_bottom_navigation_item % design_bottom_sheet_dialog &
design_layout_snackbar ' design_layout_snackbar_include (
design_layout_tab_icon ) design_layout_tab_text *
design_menu_item_action_area + design_navigation_item ,
design_navigation_item_header -
design_navigation_item_separator .
design_navigation_item_subheader / design_navigation_menu 0
design_navigation_menu_item 1 design_text_input_password_icon
2 fragment_addressing_system 3 mr_cast_dialog 4 m
java
Something must of happened. Did you upgrade anything? Move project files?
– tomerpacific
Jan 1 at 6:53
1
I faced the same issue in November 2018. And the most surprising thing was git was unable to detect it. Even local history didn't helped. Finally I cloned a new repository at a different location and kept the corrupted workspace as it is so that i can experiment with it and fix it. Today on reading this question I opened the corrupted workspace and was amused to see everything fine. Looks like it never got corrupted. Why the workspace got corrupted? How git was unable to detect it? How the corrupted workspace got fixed? is a mystery to me.
– Monish Kamble
Jan 1 at 7:49
@MonishKamble I tried as you said and sandeep. And it worked. Thank you I don't know why people are devoting my question. I tried my best but could not find any similar question.
– Khushhal
Jan 1 at 8:52
add a comment |
I run my application and saw xml files were swapped with java and vice versa.
and my android manifest have this code. I don't know what happeded
���� 4 �
� � � abc_action_bar_title_item I
ConstantValue abc_action_bar_up_container abc_action_menu_item_layout abc_action_menu_layout
abc_action_mode_bar #abc_action_mode_close_item_material
abc_activity_chooser_view
abc_activity_chooser_view_list_item $abc_alert_dialog_button_bar_material
abc_alert_dialog_material abc_alert_dialog_title_material
abc_cascading_menu_item_layout abc_dialog_title_material
abc_expanded_menu_layout
abc_list_menu_item_checkbox abc_list_menu_item_icon
abc_list_menu_item_layout abc_list_menu_item_radio
!abc_popup_menu_header_item_layout
abc_popup_menu_item_layout abc_screen_content_include
abc_screen_simple %abc_screen_simple_overlay_action_mode
abc_screen_toolbar $abc_search_dropdown_item_icons_2line
abc_search_view abc_select_dialog_material
abc_tooltip activity_login
activity_main activity_signup !cast_expanded_controller_activity cast_help_text
cast_intro_overlay ! cast_mini_controller "
!cast_tracks_chooser_dialog_layout #
%cast_tracks_chooser_dialog_row_layout $
design_bottom_navigation_item % design_bottom_sheet_dialog &
design_layout_snackbar ' design_layout_snackbar_include (
design_layout_tab_icon ) design_layout_tab_text *
design_menu_item_action_area + design_navigation_item ,
design_navigation_item_header -
design_navigation_item_separator .
design_navigation_item_subheader / design_navigation_menu 0
design_navigation_menu_item 1 design_text_input_password_icon
2 fragment_addressing_system 3 mr_cast_dialog 4 m
java
I run my application and saw xml files were swapped with java and vice versa.
and my android manifest have this code. I don't know what happeded
���� 4 �
� � � abc_action_bar_title_item I
ConstantValue abc_action_bar_up_container abc_action_menu_item_layout abc_action_menu_layout
abc_action_mode_bar #abc_action_mode_close_item_material
abc_activity_chooser_view
abc_activity_chooser_view_list_item $abc_alert_dialog_button_bar_material
abc_alert_dialog_material abc_alert_dialog_title_material
abc_cascading_menu_item_layout abc_dialog_title_material
abc_expanded_menu_layout
abc_list_menu_item_checkbox abc_list_menu_item_icon
abc_list_menu_item_layout abc_list_menu_item_radio
!abc_popup_menu_header_item_layout
abc_popup_menu_item_layout abc_screen_content_include
abc_screen_simple %abc_screen_simple_overlay_action_mode
abc_screen_toolbar $abc_search_dropdown_item_icons_2line
abc_search_view abc_select_dialog_material
abc_tooltip activity_login
activity_main activity_signup !cast_expanded_controller_activity cast_help_text
cast_intro_overlay ! cast_mini_controller "
!cast_tracks_chooser_dialog_layout #
%cast_tracks_chooser_dialog_row_layout $
design_bottom_navigation_item % design_bottom_sheet_dialog &
design_layout_snackbar ' design_layout_snackbar_include (
design_layout_tab_icon ) design_layout_tab_text *
design_menu_item_action_area + design_navigation_item ,
design_navigation_item_header -
design_navigation_item_separator .
design_navigation_item_subheader / design_navigation_menu 0
design_navigation_menu_item 1 design_text_input_password_icon
2 fragment_addressing_system 3 mr_cast_dialog 4 m
java
java
edited Jan 1 at 7:15
Samir Bhatt
1,3481427
1,3481427
asked Jan 1 at 6:48
KhushhalKhushhal
298
298
Something must of happened. Did you upgrade anything? Move project files?
– tomerpacific
Jan 1 at 6:53
1
I faced the same issue in November 2018. And the most surprising thing was git was unable to detect it. Even local history didn't helped. Finally I cloned a new repository at a different location and kept the corrupted workspace as it is so that i can experiment with it and fix it. Today on reading this question I opened the corrupted workspace and was amused to see everything fine. Looks like it never got corrupted. Why the workspace got corrupted? How git was unable to detect it? How the corrupted workspace got fixed? is a mystery to me.
– Monish Kamble
Jan 1 at 7:49
@MonishKamble I tried as you said and sandeep. And it worked. Thank you I don't know why people are devoting my question. I tried my best but could not find any similar question.
– Khushhal
Jan 1 at 8:52
add a comment |
Something must of happened. Did you upgrade anything? Move project files?
– tomerpacific
Jan 1 at 6:53
1
I faced the same issue in November 2018. And the most surprising thing was git was unable to detect it. Even local history didn't helped. Finally I cloned a new repository at a different location and kept the corrupted workspace as it is so that i can experiment with it and fix it. Today on reading this question I opened the corrupted workspace and was amused to see everything fine. Looks like it never got corrupted. Why the workspace got corrupted? How git was unable to detect it? How the corrupted workspace got fixed? is a mystery to me.
– Monish Kamble
Jan 1 at 7:49
@MonishKamble I tried as you said and sandeep. And it worked. Thank you I don't know why people are devoting my question. I tried my best but could not find any similar question.
– Khushhal
Jan 1 at 8:52
Something must of happened. Did you upgrade anything? Move project files?
– tomerpacific
Jan 1 at 6:53
Something must of happened. Did you upgrade anything? Move project files?
– tomerpacific
Jan 1 at 6:53
1
1
I faced the same issue in November 2018. And the most surprising thing was git was unable to detect it. Even local history didn't helped. Finally I cloned a new repository at a different location and kept the corrupted workspace as it is so that i can experiment with it and fix it. Today on reading this question I opened the corrupted workspace and was amused to see everything fine. Looks like it never got corrupted. Why the workspace got corrupted? How git was unable to detect it? How the corrupted workspace got fixed? is a mystery to me.
– Monish Kamble
Jan 1 at 7:49
I faced the same issue in November 2018. And the most surprising thing was git was unable to detect it. Even local history didn't helped. Finally I cloned a new repository at a different location and kept the corrupted workspace as it is so that i can experiment with it and fix it. Today on reading this question I opened the corrupted workspace and was amused to see everything fine. Looks like it never got corrupted. Why the workspace got corrupted? How git was unable to detect it? How the corrupted workspace got fixed? is a mystery to me.
– Monish Kamble
Jan 1 at 7:49
@MonishKamble I tried as you said and sandeep. And it worked. Thank you I don't know why people are devoting my question. I tried my best but could not find any similar question.
– Khushhal
Jan 1 at 8:52
@MonishKamble I tried as you said and sandeep. And it worked. Thank you I don't know why people are devoting my question. I tried my best but could not find any similar question.
– Khushhal
Jan 1 at 8:52
add a comment |
2 Answers
2
active
oldest
votes
if you have backup of your project than Put your project source code somewhere else (Another drive) and open project from newly created location.
Same problem i fixed yesterday by this way. here is my code that was encrypted in another format.

Hope it solve your problem also.
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
add a comment |
from the left panel in your android studio , Right Click on your file and choose local History menu . if those changes made recently you can get you file's content back by going through history.
If history is empty , than there is nothing you can do.!
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%2f53993554%2fandroid-code-error-after-running-a-few-day-later%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
if you have backup of your project than Put your project source code somewhere else (Another drive) and open project from newly created location.
Same problem i fixed yesterday by this way. here is my code that was encrypted in another format.

Hope it solve your problem also.
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
add a comment |
if you have backup of your project than Put your project source code somewhere else (Another drive) and open project from newly created location.
Same problem i fixed yesterday by this way. here is my code that was encrypted in another format.

Hope it solve your problem also.
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
add a comment |
if you have backup of your project than Put your project source code somewhere else (Another drive) and open project from newly created location.
Same problem i fixed yesterday by this way. here is my code that was encrypted in another format.

Hope it solve your problem also.
if you have backup of your project than Put your project source code somewhere else (Another drive) and open project from newly created location.
Same problem i fixed yesterday by this way. here is my code that was encrypted in another format.

Hope it solve your problem also.
answered Jan 1 at 7:49
Sandeep ParishSandeep Parish
1,1321114
1,1321114
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
add a comment |
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
Thank you. It worked. Do you have any idea what was causing error
– Khushhal
Jan 1 at 8:51
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
i also don't what is the reason for getting this error and why it's solved by changing directory.
– Sandeep Parish
Jan 1 at 9:01
add a comment |
from the left panel in your android studio , Right Click on your file and choose local History menu . if those changes made recently you can get you file's content back by going through history.
If history is empty , than there is nothing you can do.!
add a comment |
from the left panel in your android studio , Right Click on your file and choose local History menu . if those changes made recently you can get you file's content back by going through history.
If history is empty , than there is nothing you can do.!
add a comment |
from the left panel in your android studio , Right Click on your file and choose local History menu . if those changes made recently you can get you file's content back by going through history.
If history is empty , than there is nothing you can do.!
from the left panel in your android studio , Right Click on your file and choose local History menu . if those changes made recently you can get you file's content back by going through history.
If history is empty , than there is nothing you can do.!
answered Jan 1 at 7:06
Tejas PandyaTejas Pandya
1,92211429
1,92211429
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%2f53993554%2fandroid-code-error-after-running-a-few-day-later%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
Something must of happened. Did you upgrade anything? Move project files?
– tomerpacific
Jan 1 at 6:53
1
I faced the same issue in November 2018. And the most surprising thing was git was unable to detect it. Even local history didn't helped. Finally I cloned a new repository at a different location and kept the corrupted workspace as it is so that i can experiment with it and fix it. Today on reading this question I opened the corrupted workspace and was amused to see everything fine. Looks like it never got corrupted. Why the workspace got corrupted? How git was unable to detect it? How the corrupted workspace got fixed? is a mystery to me.
– Monish Kamble
Jan 1 at 7:49
@MonishKamble I tried as you said and sandeep. And it worked. Thank you I don't know why people are devoting my question. I tried my best but could not find any similar question.
– Khushhal
Jan 1 at 8:52