Download flutter app and code back to laptoo - flutter

I was almost finished building my first app with Flutter with VScode when my laptops hard drive crashed. All my code gone... I know I should have made a back up and really learnt my lesson now.. I have the app installed on my phone. Is there a way to get it back on my laptop with the full code?

If you have the debug APK you might have a shot. Have a look at this: Flutter debug Apk decompile to get source code
If you don't have the debug APK you are probably in trouble. The code on your phone is compiled and deliberately obfuscated, since usually you want to prevent someone with your app from getting the source code.
Really hope you can get it back. Good luck

Related

App release wont work correctly, but debug apk works

When I compile the app one screen does not work like it should be, it works when testing it using run in my android studio I don't know where i got wrong though. This screen include image_picker and firebase and firestorage hope any can help me
I expect the screens both work in testing and compiled apk

Is it possible to get app code from uploaded build?

I just had the unfortunate of losing my app source code. Is it possible to get it from google appbundle or apple build?
This question should help you turn your android app bundle into apk.
If you have the apk file, then it might be possible to turn it back into code. This answer might help you out.
I'm not sure if this is gonna work or not but it's worth trying so keep me updated
Let this be a lesson for you to use Github next time!

Flutter app launch janky and need optimisations

The app I have created seems to open quite slow (and janky) compared to other apps on my phone. It only seems to happen on android
I have tried copying the dependencies to a new project and running it and it doesn't replicate the same behaviour.
I have also changed the original app to only load a red container in the matierial app but its still really choppy on app launch before it loads.
I would post some code but I am not entirely sure whats wrong.
Sorry this is quite vague but I am running out of ideas. I dont really want to have to recreate everything in a new project.
Please note I have done the android v2 migration so it could potentially be linked to this?
Does anyone have any ideas to what could be causing it?
Update:
Forgot to mention this is on profile/release mode.. its not debug mode causing it
Well, it's hard to know why your app is being so "janky" but i'm going to make a few shots in the dark:
Are you running this on an emulator or on a real phone? Emulators will sometimes act weird, and will deliver results that you might not see on an actual android device. If you are running this on an emulator, try launching it on a physical phone. I have had experience with using Android emulators and sometimes trying to open the app at all becomes weird. How old your phone is might also be the cause of this, if it is old.
Do you have too many tabs open? Try exiting out of all of your applications and then open up your flutter app. See if that does anything.
That is all that I have concerning the environment that you are working in. You haven't posted any code, so i'm going to have to ask you about what your app is doing on startup. It would be good if you posted some code or a link to a git repository so that I can see that and be of better help.

Hello Android problem

I am trying the VERY basic tutorial for Android and can't seem to get it to work correctly. Here is a link to an image of what happens when I run the app. It should say Hello Android but it doesn't. I feel retarded.
http://teewebco.com/images/helloandroid.gif
This is a common problem. my thread. The emulator is slow. What you're seeing is the boot screen. Try leaving it for 10-20 mins and see if it boots up. Or, even better, if you have an Android device, plug it in and run it on that. General advice is that once it's up and running, don't turn it off. You can carry on coding while it's still on and it will update.

code signing of iPhone application

1) i developed one application.. it is working fine in simulator. does it work in real
iPhone with out any modification..
2)
a) when i select in xcode projectmenu -> SetActiveSDK -> Device-iPhone OS 2.2 getting one
error. but i can't see what is the error, how to solve this ?.
b) if it is not working with Device -iPhone OS SDK, is it work on the real iPhone.?
pls help , thanx and regards.
Good job on your app. It's a good sign that it works in the simulator, but you never know if it will work on the device until you try. Some things will be faster on the device and many things will be slower. There are other differences. It's possible to have your app crash on the device but not on the sim, or the other way around. It's even more common to have memory leaks on one but not the other. XCode lets you debug on either and run the code tools on either.
Signing is a bit of a nightmare. It's easy to mess it up. Follow the instructions carefully. If you think you've messed up your project beyond hope, start a new project and move your source and assets over to it.
At some point you'll have everything working, then you'll turn off your computer or something and you'll get a message that you don't have a valid device connected. Reboot your iPhone when that happens.
Be warned that it's even hairier signing your code for the App store.
Just stay calm and keep trying. Also, ask on Apple's boards. Many people have gone through the trama and shared your pain. Good luck.