how to back up flutter source code from git? - android

i have a huge issue, i was working on my flutter app and my laptop suddenly burned. Hopefully i was able to extract my data and put it on an external hard drive.
With a new computer i try to find my application and use it but in the folder of my application i find new files like: vsc.xml,
runConfigurations.xml, modules.xml. But all my folders: lib, pubspec.yaml disappeared as you can see in the picture.
I used visual studio code and git on my old computer. I am totally new with git and flutter and this why i would like to know
how is it possible to get back all my code? I’m desperate, it’s months of work... if your have a solution i will be very glad to hear it.
If it's not possible to get back my code, i have the last version of my app on my phone is it possible to extract the code source from my phone ??
Thank you for your helpenter image description here
PS: Sorry for my frenchglish

Related

Can't access local files in data/data of some phones

I'm having three not rooted phones here. Two of them have Android 10 and one has Android 8.0. On one with Android 10 I just cant access the app files in /data/data directory with the Device File Explorer in Android Studio.
The error I get is:
`run-as: /data has wrong owner: 0/1000, not 1000´
I'm just not finding anything useful to fix this.
Since I had to dive into the comments of the original question to solve it for myself, I'll repeat the answer that helped me.
I uninstalled the app, restarted my phone, installed it again with android studio and it worked like a charm after that.
In case you're still looking for an answer.
This most likely happens when your database is created in the past (probably from some code that was a bit off). I advise you to delete the existing database from the device file explorer, make sure your code is right, and re-run the app.
This should create a new database and work.

Where is the "USER_HOME" folder for Gradle properties?

Basically , I'm doing a course in udacity and making the app they are teaching. The videos are pretty old and new information is given as text in the git directory. One of the changes I have to do is add a gradle.properties entry. However, I do not know where the folder they specified is located.
I've been stuck trying to find it for quite a while. Any help is really appreciated. Thanks in advance.
This is what they asked me to do.
My android SDK is located here
I do my projects in the desktop folder.
USER_HOME usually refers to your home directory as determined by the operating system. In Windows, this is C:\Users\<your user name>.
%USER_HOME% Means Directory of Which User Account in windows you are using for example: Your User Account Name in Windows is Syed Kamran So Your %USER_HOME% Will be C:/Users/Syed Kamran,
hope You Batter Understand Now, 🤗

I tried to view an app on test object (a mobile app testing site) and when I did it said "INSTALL_FAILED_NO_MATCHING_ABIS"

What do I do to resolve this issue?
I've tried changing the app file to ipa however it still had the same issue
Thanks
If you are using Genymotion Emulator than you have to download genymotion-arm-translation_v1.1.zip file and just drag and drop to that Emulator and restart that Emulator. Now, It will work.
It is basically Architectural problem. You can find above file very easily on internet and make sure to drag and drop that ZIP file do not extract it. Hope this will help.

Recovering program from Android device

Ive written a program for my android device and its installed and working on my phone (S3), BUT ive just lost my PC HD and thought id saved my eclipse android coding folder but I didn't, the program is only a small one but took me a while to perfect so i need to recover it into eclipse to edit it more and save it.
Any ideas?
Cheers people
Mark
What you can do is since you still have the working app on your S3, you can use something like
Use ES File Explorer to back up the app and retrieve the .apk file.
Decompile using: http://www.decompileandroid.com/, or APK Tool

How do I open a .apk google example?

Ok so I want to learn android push notifications. I found at android to use the C2DM service.
http://code.google.com/android/c2dm/
Great they even give me an example. http://code.google.com/p/jumpnote/downloads/list
My problem is I don't know what to do with the file after I download it. :P
It is an .apk file. So how do I open it in eclipse to learn from it?
An apk is an android install app thingy you run it on your phone. To edit search android code examples and select the first one select what you want to edit dowbload the manifest and the other files and edit them in eclipse. Have you ever tried opening a .exe in notepad it does not work so well because it is already compiled same (i think) with the. Apk also make sure you have the android plugib for exlipse. Sorry for the strange language I am a delvoper who forgets the name of everything. And the grammer i am only 13.
Rename it to .zip and you can open it with your favorite zip unarchiving program.

Categories

Resources