My computer crashed while I was working on the project.
My mainActivity.java has no code inside there now.
I have tried going to
I:\Users\myUsername.AndroidStudio2.1\system\LocalHistory but I don't see the file there.
Open MainActivity.java in Android Studio, right click inside the file and go for LocalHisoty > Show History. Let me know if it works, please. Cheers
You can use your last debug version of application and decode it,you can find it in \app\build\outputs\apk folder
Related
I am a beginner with android studio . I have refactor the mp3 file in another file type now I am trying to run pp but it is crashing showing app could not open i have tried alot thing but did'nt figure anyone please help.
I have tried to restart the app and project also clear all the cache but it did'nt work I think I have mistakenly change the file type of mp3 so that can be the reason so please check.
I'm sorry for the title of my question but that's the best title i could come up with....
It seems like my android studio project just got butchered from one day to the next. When i open some of my java file, i see nothing related to my code same thing with most of my xml files, but when i navigate to those files in my file explorer and open them same files with notepad i then see the correct content.A screen shot of one of my java files
And one of my xml files
This is a common problem in Android studio
Please follow this answer
https://stackoverflow.com/a/63027190/7793652
Which file I manage the deploy Itemns to remove/add manually my database? When I click add file on tool bar (Second button), and select the sqlite file on explorer, I receive an exception below.
It was working very well, and I changed many times the database version before.
But now, I delete the sqlite file and can't submit the file again.
I hope to delete some file on explorer to reset the deploy list. Somebody can help-me?
ps: I restarted delphi and also the windows.
I found the file ProjectName.deployproj. The file has a xml structure with all icons, database and ini specification. I change the file manually but didn't fence the error. I got that the error just occur when I add a filename found in xml. But when I click delete on deploy windows, It don't removes the file. Like has another reference I can not change manually. Some idea? Thanks in advance.
I can't open app folder as you see on the screenshot.
Can any one help me to solve this problem?
I use android studio.
It looks like you may have imported something incorrectly (or at least, Android Studio didn't take it correctly).
You can try changing the view of the project by clicking on "Android" above your files:
Then choose "Project," which should bring up a different view.
If "app" is still empty, then something is wrong with the files that you imported.
I have created the android application project but if i try to save the "activity_main.xml" it is saying that.
Message
The original file 'activity_main.xml' has been deleted or is not accessible.
If I click ok it is trying to replace the xml. But it did not happen before. I am using eclipse.
If I create any other activity and try to save that xml then it is working fine. This error is happening only for launcher activity with the project name FCI.
It works fine if I change the project name.
This issue occurs to me every time I delete a project from a workspace, and then import one with the same name from another location. (Using eclipse Kepler sr 2)
I guess eclipse caches the workspace session metadata, but doesn't update it on such overwrites.
Restarting the workbench solves this problem every time.
Please try to restart your eclipse... I hope it would work for you