Android studio old apps - android-studio

I found an old phone and tablet that i was using to develop Android apps on. The computer that had the codes for those apps was fried by lightening. It's there a way to pull the published apps of those devices to the new computer and continue to develop them in Android studio?

You can use any of the Android Decompiler to get the source code from a compiled APK. If you were using Proguard you will still have some challenges in the names but as you have written the code you can simply replace the mangled names with correct one.

Related

Android Studio for Dart without emulator

Is it possible to use AndroidStudio (for Dart) withOUT running an emulator?
Context: I am a complete newbie and have started reading some intro books and following online tutorials. I am aiming to learn DART and FLUTTER and have successfully installed AndroidStudio and an emulator and ran some successful test projects like helloworld.
The thing is, these early example projects are VERY basic things, to teaches me about variables and syntax etc and outputs results to the console. At this point, i do not need to boot up an entire emulator (which adds a layer of clunkiness when running)... but AndroidStudio seems to insist on one being activated?
I could use "DartPad" (which i love) for simple stuff - but it's limited and i'd prefer to learn one dedicated IDE if possible.
It depends on what you are actually running. If you are using Dart alone, you should be able to run it. Personally, I do these kinds of projects within IntelliJ Idea - which Android Studio is based on anyway, but doesn't come with the Android "overhead". Microsoft Visual Studio Code is another valid option that many people use.
If your project is based on Flutter (i.e. it contains UI), you need a "device" to run on - it might be the Android emulator, iOS simulator, Chrome or native (experimental).

Can a development team containing both Windows and Mac users work together on a Flutter app?

I am in a team of 3 for a project. 2 of us are using Windows Laptops and 1 is using a Macbook. Would we be able to work together on a cross-platform mobile application for Android and iOS, using Flutter, Dart and Android Studio?
I've just pulled the first commit from the iOS programmer and it appears to be in C++ rather than dart under an 'ios' folder.
I'm currently working in a project using exclusively Flutter/Dart. I'm on windows and the other two devs are on Mac. I haven't had any issues - I don't see why C++ code would appear if the developer is writing in dart.
Not sure what's with the c++ code but most of your dart code resides in lib/ folder. That's where you would be writing most of your code.
The other programmer could have implemented some other functionality/module in c++ under the ios/ folder of your project. This folder is specific to files necessary to configure and run your application on the IOS platform.

Use Android Studio to code for an old platform

I want to develop an app for an old tablet using API 7 Android Eclair 2.1, but I'm facing problems setting up all the tools needed.
I tried using Android Studio, but when creating a new app, the lowest API I can choose is 14, and when I change it via code, it complains about the libraries being not compatible.
I also tried importing some samples, but it tries to download some old version of gradle and apparently the link is down.
I recall that prior to Android Studio, one would use Eclipse, but it seems that it is no longer available.
Is it possible to set up a development environment, or am I better to code from scratch and compile it myself?

restore my project in android studio from phone app

My notebook died and I lost all my data and my Android Studio projects. Only what I have left is apps in my phone. Is it somehow possible to restore it in Android Studio from my phone app? Thank you.
Option 1: somehow get the original files back. You could try to:
See if the drive still works by putting it into another system
Search for some kind of backup (backup utility/cloud storage/github)
Get some professional to rescue your data (if everything fails)
Option 2: decompiling
I just tried decompiling one of my apps here and it kind of worked. You may have to remember your project structure somehow, but in the end, I think it's doable for smaller app projects.
Disclaimer: never decompile other people's software without their permission.

Android wear and Android TV in Android studio

What's the function Android TV and Android Wear in Android SDK manager in Android studio. Do I need to install these for all Api
Those two components provide you a way to develop for Wear and TV apps, respectively. If you only want to develop a phone app, you are not needed to install those.
You can see more about the Android Wear SDK here and Android TV SDK here.
Android TV is for Android TV. If you don't need your app to run on an Android TV (which has a tiny marketshare anyway), then don't worry about it.
The same goes for Android Wear. If you don't need your app to run on an Android watch (which has a tiny marketshare anyway), then don't worry about it.
Also, you seem to misunderstand how Android versioning works. If you want to develop on a phone or a tablet, just download the latest version, you do not need to download the previous versions (except may be for one compatibility library that you might need).
In other words, if you're just a beginner, download as little as you can. Most beginners download almost everything and that's just a waste of space.

Resources