I am running Android Studio on a Chromebook. It is listed as one of Google's suggested Chromebooks for running Android Studio. I have it installed but I cannot run anything as it seems the emulator/AVD is not working/enabled. I have enabled developer mode but it does not appear to work. Is there a way to make this work and/or is there a work-around, e.g., (not ideal) could I just run the APK somehow?
The capability to debug directly Android application on ChromeOS (sideloading them) has been announced at the Android Developer Summit 2019.
This should be added to ChromeOS v80.
Related
What happens if someone uses android Studio to develop Apps which are running on none compatible Android device. Does Google sue you?
No google will not sue you :)
Apps which are running on none compatible Android devices are authorized.
I've upgraded my Google Pixel to Android 9.0/Pie.
When I try to run an application from Android studio I don't see the Google Pixel in the list, there's only a null device named FA69R0306649. When I run my application, Android studio tries to install the app but then fails.
It looks like Android Studio is not recognizing the phone anymore. It Worked perfectly fine a couple of hours ago under Oreo (8.x).
Also, if I deploy the app on google play as alpha and then download it runs perfectly under 9.0/Pie.
Any suggestions to get the run/debug working with android 9.0 phone under Android Studio (3.1.4)?
The Pixel running 9.0 requires USB 2.0 high speed.
Apparently the Pixel running Android Pie cannot talk to the PC using neither USB 3.0 nor USB 1.1 full speed nor USB 2.0 running at full speed.
I had a similar problem with my Xiaomi Mi A1. When I upgraded from Android 8.1 to 9 Android Studio would hang on "Installing application" forever.
After trying revoking USB debugging authorization and completely reenabling developer options with no success it turned out a simple restart did it.
Looks like there are multiple issues that lead to the same problem.
I had the same issue with a Xiaomi Mi A2 after upgrading to Android 9. If you are using Linux, try adding the udev permissions manually, following the steps described here. In my case, that was the only solution that worked.
Please re-enable developer options again after the OS version upgrade, the device name will appear and it will be working fine again
Install Sdk Platforms of Android 9. In Android studio Top Right besides Search Icon.Press That Icon of SDK manager and look either sdk platform is updated and installed.
A simple solution just go to your Developer option on your phone , right below the USB Debugging option it says to "install via USB" just enable it and you are all set to install an app through android studio into your 9.0 device.
I am developing car launcher for infotainment system (not Android Auto) using AOSP (Android Open Source Project).
How can I test that application?
It is not possible to emulate Android Automotive at the moment. As you can see here, there's rumours of Google working on an emulator, but no news so far:
Two commits in the AOSP source code indicate the release of the emulator. One states the tag for Android Automotive image folders has been created, and the other mentions a test for “oc-car-m1″ emulator images. This likely stands for “Android Oreo Maintenance Release 1″, possibly being Android 8.1. If this is the case, then it’s likely we may see an emulator around the time Android 8.1 launches.
I am an Android Developer and I want to start working on Google Glass application. I have installed Eclipse in my computer but I learnt that it will not work for Google Glass development. Some blogs suggested I should use Eclipse Indigo.
I have checked and installed Eclipse Indigo and ADT and other plugins.
I am trying to run my glass on debug mode but system is not detecting it.
Can anybody please help me with how to set proper environment for Google Glass and how to make it detect?
Two things that you have to do first:
Install the Glass Development Kit preview via the SDK Manager (Should be under the 4.4.2 platform).
Ensure that you have Debug mode enabled on your Glass. After enabling Debug mode when you plug Glass in for the first time you should be asked if you'd like to trust the computer on the Glass. I select Always Allow so I don't get asked multiple times.
By the way, I am using Eclipse Kepler (but mostly IntelliJ), so I doubt that the version is critical.
Good luck!
I'm wondering if there's a possibility to have access to any of "developer version of the Android system" as the Android doc says? As you probably know some tools work on developer version only which is AFAIK available exclusively on emulator, which let's say doesn't work well.
If there would be such, I'd rather install it on one of my devices and could debug it there.
Would it be legal in that case?
If you have one of the Google phone devices you can build your own type of the Android OS for your needs without problem. Here you can find instructions how to do this and how to upload your built OS on your device. For instance, to build development version for Galaxy Nexus you should run configuration command:
lunch full_maguro-eng