Would a Chromebook running Linux handle android studio? - android

I'm going to get a Chromebook probably with a Celeron processor and probably 4GB of RAM and use it for school, as a replacement for my worn windows laptop, but I'm wondering if I'd be able to run Android Studio and possibly other software on it. I don't plan on doing any android dev with it, I just need it to compile LibGDX Gradle builds while I'm bored, coding at school. Would this be possible? If not, is there an alt to Android Studio on Linux that would allow me to compile and build my code? If that's not possible, would it be practical to RDP to my PC at home or something?

You might get full linux on Chromebook and install any available software for your disributive. This links contains all necessary information:
https://wiki.archlinux.org/index.php/Chrome_OS_devices
http://www.howtogeek.com/162120/how-to-install-ubuntu-linux-on-your-chromebook-with-crouton/

Related

Can we install Xcode directly on windows? [duplicate]

I need to compile an Xcode project on Windows. I don't need to make one, because it is automatically generated. I am new to iOS development, and I don't plan to submit to the App Store or pay Apple 100$ to sign it, I just want to build an IPA I can install on my jailbroken device. This is just for personal use. When I tried setting up a vitrual Mac it always fails to boot. Is there any fix to that? Is this even possible?
Your best bet would be building a hackintosh or getting ahold of a mac to use/buy.
If you have an intel computer that is somewhat modern, chances are you can install OS X on it (there might be a few inconsistencies that you may be able to iron out with a little time and money). Just do some research on your chipset. Maybe somethings are compatible and some aren't; you can fill those voids through buying considerably cheap hardware to get a fully working machine. Consult this page: CustoMac: Component Buyer's Guide to get a repository of confirmed supported components. There is also a huge community on reddit that is more than helpful at assisting others who are trying to get their hackintosh working.
If you do have an AMD there is still hope, I had my 8350 working on yosemite before I upgraded to an intel. I can't link you to the unsigned iso, but you can search for it. The distro is by "Nerish", you can download the iso or find the kernel and manually install it.
I'm currently running an i7 6700k CPU with an Asus Sabertooth z170 Mark1 motherboard, 16gb ddr4 corsair ram, and a GTX 970. Everything is working well. I have both windows and OS X sierra installed so that I can do my normal business work and easily develop in XCode.
No, it's not possible (as of now). To build an Xcode project you need an environment, that is just not present on Windows. I mean a lot of libraries, frameworks and tools that are shipped with macOS.
One possible way is to try to find a working macOS VM / install a "Hackintosh", but be warned that both actions are illegal according to macOS ToS.
By the way, you don't need to pay Apple 99$ to install your software on a device. You just need a Mac.

Running Android apps on a Linux platform

We're developing a Client-server system for Android apps, in which the server should be a Linux machine.
Of course we're using VMs, but that's only as good as a real mobile device. Since we're looking at improving speed, we'd like to run those apps on a Linux machine.
Can any member give a broad idea on how to run Android apps on a Linux platform ?
You need to use dex2jar to convert an APK file to a JAR and then you need IcedRobot to run the Android stack above OpenJDK. Maybe I will try to emulate AndroidGL with JOGL 2.0 (it supports both OpenGL and OpenGL-ES). Keep in mind that it is not trivial.
The emulator of Android SDK is quite slow but you just have to enter adb install my_file.apk to install your application.
You can run android-x86 in VirtualBox

Knowledge of Linux for Android

Can someone tell me why Linux knowledge is needed for Android jobs ?
Many of the Android jobs have Linux as a prerequisite.
I can very well develop an Android app from a Windows machine right ?
I would say it might be because they prefer to work on Linux and thus you need at least to know the basic installation of the Android Tooling (SDK, eclipse etc..).
On the other hand Android is based on Linux Kernel and uses some UNIX conventions. A knowledge of how things works is a plus. Processes, commands, packaging are among the ones you should know.
You don't have to be a Linux guru to know this.
But still i believe the most important is the knowledge of Android development which is the same for all platforms.
Android uses DVM (Dalvik Virtual Machine) which is based on linux kernel at the bottom. Hence to have the idea about linux helps in developing android application. You can develop android applications on windows OS as well using android SDK.

Running Android apps in Linux

I have a Red Hat Linux (RHL) system on which I'd like to run Android apps. How would I do this? Is there an open-source port of the Android Runtime for linux? Kind of like a VM?
If not, what steps will I need to follow to port the runtime to RHL (with the Dalvik VM etc) so that I can run the android apps built by all android developers?
I am new to android so I am trying to understand if there is an application virtualization support for it from anyone. Thanks in advance!
You need to use dex2jar to convert an APK file to a JAR and then you need IcedRobot to run the Android stack above OpenJDK. Maybe I will try to emulate AndroidGL with JOGL 2.0 (it supports both OpenGL and OpenGL-ES). Keep in mind that it is not trivial.
The emulator of Android SDK is quite slow but you just have to enter adb install my_file.apk to install your application.
You can run android-x86 in VirtualBox or Live Android from a Live CD as Dimitri suggested but I'm not sure it is what you want.
P.S: The most promising solution seemed to be AndroVM.
P.S 2: ARChon Runtime works very well on 64-bits systems. This tutorial is very helpful to make it work.
P.S 3: App Runtime for Chrome Welder is even more promising, it's currently in beta. The final version will support all Android APIs in Google Chrome under GNU Linux (including Chrome OS), Mac OS X and Windows.
I know there is a project for porting Android on x86 platform. You can find iso to download and you can install on LiveCD : http://code.google.com/p/live-android/. You can find more information here
You can't just run Android apps - you will need the entire underlying Android operating system. That goes beyond a simple JVM. EDIT: There is actually a project in the works that aims to do that, see Dimitri's link.
But you're in luck - the Android SDK comes with an emulator that should fulfill your needs (although it's a bit on the slow side - if you're developing Android apps, you definitely want to use a physical device instead). The SDK is available here.
Run Bluestacks on Windows on VMWare on Linux. Easy.

Is possible install Eclipse IDE in a Galaxy Tab?

Since Eclipse can run in Linux and this tablet has the new Honeycomb (Linux Kernel), can Eclipse IDE run in Android Honeycomb ?
I know that isn't pretty much comfortable coding in a tablet, but I'd want to use for UML modeling.
Android (despite its Linux roots) is far from capable of running Eclipse IDE as is. Not only is the hardware inadequate for supporting such a large application, but Android lacks a full Java SE JVM (Dalvik is a subset) and SWT (Eclipse UI framework) implementation for native Android UI controls does not exist. On Linux, SWT implementations exist only for GTK and Motif.
You may be interested in project Orion, which is an effort at eclipse.org to create Eclipse-like experience in the browser. I understand that people have been able to use Orion from a mobile browser on devices such as the one on the iPad.
http://mmilinkov.wordpress.com/2011/01/11/introducing-orion/
No you can't.
But who forbid you to connect to your computer using VNC? You can access your Eclipse or whatever application you want.
You can't run Eclipse but you can try AIDE:
https://market.android.com/details?id=com.aide.ui
It is compatible with the Eclipse project file format, has a fast editor with syntax highlighting and supports the full edit-compile-run cycle.
1.) The latest Android tablets ARE now powerful enough to run software like the Eclipse IDE in fact they are more powerful than the Intel and AMD processor machines that Eclipse was originally developed to run on.
2.) The tablet is a useful tool for graphical modelling techniques and the addition of an external wireless keyboard can improve input of code in a text editor.
3.) There is a lack of support for Java SE runtime for Android.
4.) Limited Android root access on the standard commercially supplied Tablets make it impossible to access OS features and install, compile or access development tools without additional 3rd party applications.
5.) AIDE does provide a method to write and run code on Android but the free version is extremely limited and the commercial (paid) version is nowhere near as powerful or comprehensive as the freely available Eclipse for Windows or Linux.
You can use DroidDevelop.
DroidDevelop allows to create native Android application on your mobile device. You don't need to install Android SDK, Eclipce and an other desktop program for Windows or Linux to start programing for Android.
https://market.android.com/details?id=com.assoft.DroidDevelop
http://en.assoft.ru/droiddevelop
Short answer, no.
Long answer, although Honeycomb is based on Linux, you'd have to do a lot of hacking to get to the point where you can have a full blown IDE installed on it. Android works with apps. There isn't an Eclipse app, so you can't have Eclipse.
There was actually a version of Ubuntu for Android, you could do the Ubuntu install for Eclipse on your tablet if you were running it.
As for running Eclipse on an android OS? Not so much since Android has no real JVM.
The Eclipse downloads page lists packages for Windows, Linux, and Mac OSX.
Android is not listed as one of the supported OSes for installation of the IDE.
Are you talking about actually running Java code with Eclipse APIs on the device? It's not impossible, but you will be doing most of the work yourself. The difficult part will be getting SWT to run and appear as native Android objects while supporting the full range of controls that Eclipse users expect.
There have been Eclipse projects in the past to get a workable subset of the APIs to run in an embedded space. One such project was eRCP, by IBM. I'm not aware of any activity to make a similar effort on Android, but there's no requirement to announce such work to the Eclipse community.
Its not possible to install Eclipse directly to Android OS but you can run Eclipse on your Tablet via Linux Deploy Application. But first you need to get Linux setup on your Android and use VNC viewer for display. That's how I did it.
See screen shot of Linux on Android running Eclipse.

Categories

Resources