List of existing Android Virtual Devices empty - android

I'm new to Android development and I'm currently going through some tutorials. When I setup a new Android Project in Eclipse, and select Windows -> Android SDK and AVD Manager, in Virtual Devices, the list of existing Android Virtual Devices is empty. Is it supposed to be?
From the pictures in the tutorial, it's pre-populated. Can I download these AVDs from somewhere, am I missing something here? Also, I'm developing this on my Macbook Pro.

Is it supposed to be?
Yes.
From the pictures in the tutorial,
it's pre-populated.
The second step of the Hello, World tutorial has you create an AVD.
Can I download these AVDs from
somewhere, am I missing something
here?
No, you create them on your machine using the SDK.

You need to create them. Simply click on the New button on the right of that screen. See this documentation for details.

Strangely enough - there's no way to import it.
There's a good walk-through including the configurations for popular devices here:
http://mobile.tutsplus.com/tutorials/android/common-android-virtual-device-configurations/

Related

System image folder in config.ini doesn't exist

Recently I installed Xamarin and the Android SDK in order to mess around with Android development. After spending all day fixing errors before writing a single line of code, this one has me stumped. I haven't found a solution anywhere on the internet.
I have installed the emulator and I have downloaded several system images. I have searched for this config.ini but didn't find which one the error seemed to be referencing. I can build the solution just fine but when I try to debug it just says "There were deployment errors", and in the output window just says "Error: cancelled."
Is there any way to solve this issue?
Thanks.
So I come across the same error message on my device manager. I solved it with following step:
Go to your ~\.android\avd. There should be a folder named
[YourDeviceName].avd. For my case it was Nexus_5X_API_28_x86.avd.
Inside the folder there should be a config.ini. Look for a property
named image.sysdir.1. Mine was image.sysdir.1=system-images\android-28\google_apis_playstore\x86\.
Make sure the your have properly downloaded such image in
%ANDROID_HOME%\system-images.
For me, it seems that I have installed Android SDK twice in two different locations with Android Studio & Visual Studio Xamarin installation, and they have messed up my device manager. So I uninstalled one and moved the images and it worked fine then. While this is probably a year too late for OP, I hope this could help someone in the future.
I just had the same issue.
You solve this problem like this:
Select the corresponding Android emulator device
Hit the Ellipsis character at the upper right corner of Android Device Manager
Select "Download system image" menu item
This will download the missing system images for your Android emulator.
Here are some screenshots, depicting the solution (they're in German):
I suspect Microsoft didn't add these because they're not courtesy of Google. You need to accept Google's license terms when downloading the images.

How to get the phone application new file type to show up? (eclipse)

I have installed the eclipse for android developers, when I launch it, it says that it is neon 3. I have installed the android 6 and the deafult packages from the SDK manager. When I try to create a new phone application file (acording to yourtube tutorials) it just simply doesn't show up. There are some phone related things in there, look at the screenshot.
Things that I have aleready tried:
-waiting
-restarting my PC
(I will edit this when I get an answer and it doesn't work)
My PC specifics:
-Windows 10 64-bit
(request some more specifications in the comments if you need any)
Also some of my built in tutorials don't work (I will put a link to that question after I post it)
When I try to create a new phone application file
That was never a menu option, AFAIK.
Android Activity is clearly visible, though.
Or new Project, and select Android Application from there

Android game crashed after displaying unity's splash screen

I found this question on different forums but they didn't helped me to find solution of my issue. I had port unity(5.4) game on my android device (OS 4.4). When i opened the game it crashed after displaying unity's default splash screen. I wonder, it was working fine on unity's editor but didn't worked well on device.
Here is the logcat file link. Please let me know if i can provide any additional information that may help to track the issue. Many thanks.
Regards,
Ali
90% it's native plugins. Try to remove all your native android plugins. You can find them under Plugins/Android folder. You also need to remove all links or scripts that uses those plugins. Don't forget to make a back up. If your app won't crash, replace them with some others or connect with plugin development support.
I found the solution. I followed following steps.
Solution
Go to 'Player Settings' -> 'Other Settings'. Uncheck Auto
Graphic Api. Remove 'OpenGLES2' from list.
Test your game on better android device. In my case i tested on Samsung Glaxy S5.
If solution doesn't work
Remove all objects from scene. Port the project and test, if that
works, it means you need to remove unnecessary objects from scene
that need a lot of render power to load on mobile device.
Make sure your Android SDK is uptodated a long with JDK.
Just make sure Virtual Reality support is unchecked

Emulator keep showing "Android"

I am new to android application.
i have downloaded Android Studio from http://developer.android.com/
I just created one project and click on run button.
but it just keep showing me from past 2 hours
what should i do now ??
is there any step by step instruction that i can follow?
This is usual, there are some tricks to avoid this, see this Why emulator is very slow in Android Studio?, and i use BlueStack for debugging. it's better than anything.

Cannot create new Device in AVD

I'm trying to add a new device using AVD Manager (not Android Virtual Device but in Device Definitions tab). I just installed a brand new version of the Eclipse (Luna) and the Android SDK (r23.0.2) under Windows 7 64 bit OS.
I then open the AVD Manager strait from the SDK folder and choose the Device Definitions tab.
In that tab I press the 'Create Device...' button, fill every field needed in the dialog that opened. The button 'Create Device' in that dialog is becoming enabled and I press it...
Nothing happens. The dialog is not closing and the device is not added to the list.
I saw very similar questions regarding creating a virtual device and tried to apply the suggestions made there but with no success. Added the path to java and SDK tools and platform tools in the PATH environment variable, choose a name with no spaces.. nothing helps.
Any help would be very appreciated.
Thanks.
Just found out that there is an open bug report on this exact issue:
Issue 73648 - Create new device definition broke
There's a workaround. Hope it will be fixed soon
Please check this path:
C:\Users\"your PC name".android\avd
Have you and file in this folder?
I had (or have) the same problem-'Create Device' does nowt. As a simpler workaround you can use the 'clone...' option which brings up the same dialog
Yes, select any device from the available and click on clone , and change the parameters.
New Device will be added successfully.

Categories

Resources