Installing Android Studio in several Windows computers - android

I am Java developer who is learning Android. I installed Android Studio in my machine, but it takes half an hour to download and install the packages I need.
Since I am a teacher and I eventually want to install Android Studio for my students, I wonder if there is a way to install Android Studio (with the packages and settings I have chosen) in several Windows computers (about 40), without having to wait for packages to download and install for each computer (which takes a lot of time). Thank you.

Can you install ANdroid Studio in a network drive ?
A idea. Maybe if you want to monitor your students , you should syncronyze Android Studio projects across multiple workstations.

Related

Transfer Android SDK from One PC to Another

If I have android studio on one pc, can I still use it on a different computer without having to download and set up android SDK again on the other system?
EDIT:
I simply transferred the android SDK folder to the other laptop, uninstalled android studio from the new one, then installed it all over again
In order to run Android Studio or any other program on another machine without installing it, it must be a portable program. Honestly I haven't tried it before but I found a couple of resources that suggests that indeed it is possible to do that. Link and Link

Developing with Cordova can I use Android Studio on Windows 10 and Ubuntu for Windows together?

Needing some assistance regarding my installation and understanding how the two are integrated - if at all...
I've installed Android Studio on Windows 10, Switched on WSL(Windows subsystem for Linux), installed Ubuntu for Windows and using command line installed all the good supporting stuff like Cordova, Gradle, SDKMANAGER etc. Wanting to know if I need to install Android Studio for Ubuntu rather than use the Windows version so I can have the best of both worlds.
Had heaps of issues getting my environment to this point due to targeting deprecated components and installation differences in locations and environment variables. But, learned a lot on the journey.
enter image description here
When I look at $PATH for Ubuntu there are references for Windows locations. So I would assume some interactions take place but knowing Windows must not modify file permissions for Ubuntu(Linux) files or folders...
**Some entries in Ubuntu/Linux PATH variable...
/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_2004.2020.424.0_x64__79rhkp1fndgsc:
/mnt/c/Program Files/Java/jdk-14.0.2/bin:
/mnt/c/Python38/Scripts/:
/mnt/c/Python38/:
/mnt/c/Windows/system32:
/mnt/c/Users/Admin/AppData/Local/atom/bin:
/mnt/c/Users/Admin/AppData/Roaming/npm:
/usr/lib/android-sdk/platform-tools:**
So I have installed Ubuntu Android-sdk at the following location...
**/usr/lib/android-sdk**
THIS link I found interesting - Android SDK can be installed in multiple locations - yeah that's helpful.
And Windows uses...
**C:\Users\Admin\AppData\Local\Android\Sdk**
Android Studio (Windows)
The command line offers super powerful and fast results once you get your head around the process. And, Windows provides great GUI support and a more manageable interface. I'm hoping they are meant to run together and someone can explain because there's a lot or conflicting information out there.
I actually just noticed in Cordova Requirements for Android Target is now showing installed android-28 (was Android target: not installed) - I couldn't get this fixed previously but once I've finished this journey I will post items from my diary to assist others.
I would suggest you not to do that. Because Android SDK for linux is different than android SDK of windows. SO the andorid studio in windows will never properly work with the android sdk for linux. Also WSL linux should not be used for Stable android development because windows manages most of the components configured for Windows OS only.
If you really want to have more grip on the commands you want to type , my suggestion is to have a stable linux OS rather than windows.

android emulators for xamarin forms

I'm having trouble getting any android emulator other than "Xamarin Android Player" to work (only with older versions of android).
What kind of virtual device/settings/properties should I use so that I can test newer versions of android and not have to wait 15 minutes for the emulator to startup?
is there a "Go-to" virtual device/emulator setup that doesn't take 15+ minutes to load?
(using windows 10/Visual Studio 17/2015)
The Xamarin android player has been discontinued for a while. As a visual studio user you should probably be moving onto the Visual Studio Android Emulator. There is a guide here on setup
https://learn.microsoft.com/en-us/xamarin/android/get-started/installation/android-emulator/
it is also available with visual studio 2017, and if i remember correctly is an option available in the Vs2017 installer.
I highly suggest Genymotion for most uses. You can download the free version which works well for most basic things (there are also a few small things you can do using the adb command prompt without having to buy the full version, such as taking screenshots).
Link to free version
They have a good list of different devices. I have also recently even got it successfully connecting to my Parallels Windows machine while the emulator is running on my Mac. Let me know if you need help with this specific scenario.
The other option for you is the Visual Studio Android Emulator. When it first cam out I tried using it but was not able to because I would need to run it on a Parallels VM which does not allow nested virtualization.

Xamarin questions

I have a few questions and I'm hoping some people could explain it a bit more.
Recently Xamarin has been released to the public for free and you're able to download/install it for free.
Let me say first that I have Windows 7 and Visual Studio 2015 installed on my computer.
I have succesfully installed Xamarin and the Java/Androids SDKs and got it running.
But now I have the following 'problems':
When opening a new Xamarin Forms project I get the following message:
"A problem was encountered creating the sub project 'Projectname.Windows'. This project requires a Visual Studio update to load. Right-click on the project and choose "Download Update"."
Is this because of my OS?
When opening the new project, the 'ProjectName.UWP (Universal Windows)' subproject always give errormessages on everthing.
Reason?
If I want to run the .IOS subproject, is the only way by connection a IOS device? Is there no emulator for example an Iphone?
Thank you.
It's possible that you don't have the SDK / tooling installed for Windows Phone, so you will have to download the update as described in the error message - this should resolve the problem.
What error messages are you receiving?
You need to connect to a Mac over the network which will allow you to build and debug your apps. You can deploy apps to the iOS Simulator on your Mac, or to an iOS device connected to your Mac, from Visual Studio. For more information on using Xamarin.iOS with Visual Studio, I would suggest the following guide: Introduction to Xamarin.iOS for Visual Studio
Regarding your questions.
1. You should check you updates of the Visual Studio. There are a possibilities that the supporting packages can't locate. The error says that you need to download the updates. Nah, it's not about your OS. If you are done installing the visual studio, then your IDE is working properly. The problem persist is whenever you are lack of updates and packages in the give project.
2. The error could be your pc has no windows emulator to support the UWP to run properly. If you have one, uninstall it and install again.
3. You can use emulator, iOS Emulator but you still need a mac. There's a agreement between microsoft and mac regarding this thing. So far, until now, you can't run iOS simulator in Windows without Mac devices with XCODE
I hope it makes sense.
Answers to your Questions
1. it may be a visual studio update issue, try with latest.
2. i think UWP projects are not supporting with windows 7 OS(correct me if i am wrong), and also try with shared project structure,because portable has some problems with windows 7.
3. Yes currently there is no iOS emulator for Visual studio, if you want to run your app on ios simulator you have to connect your visual studio to Mac machine and then you can run.
Hope this will help
Answering your questions:
1- you might need to upgrade to windows 10. I have solved many issues when I upgraded to Windows 10. VS 2017 works very well with win10.
2- I would definitely recommend downloading the Visual Studio emulator which is a dedicated standalone application that has many emulators. It's much faster and reliable than android emulator. Also it has iPhone and windows emulator too.
3- in order to be able to use iPhone emulator, you must either do:
A) have a Mac device in the network to be able to connect VS with it. And it must have xcode installed on it.
B) you can also do a vmware virtual machine on any windows device and install on it xcode.
For detailed explanation on how tondo the above you can find them on YouTube.
Hope you have more luck.

Offline install of Android Studio

I have a slow internet connection in my home. But I have fast connection at my office . So, what are the tools, I needed to download ,as a beginner, for android apps development. I know that I need android studio, java and SDK.Is there any other tools that I need as a beginner?
You only need to download All Android Studio Packages on the bottom of the website but when you are installing that it download some parts from the internet but not even close to the 1Gb of Android Studio, it have included already the sdk and other things.
When you have already installed the Android Studio if you want extras like others emulators from older versions or other plugins, you can install later on your office or try with your internet because some things are not big.

Categories

Resources