System image folder in config.ini doesn't exist - android

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.

Related

Android Studio SDK download location

Ok, so my questions not really about programming, but it concerns Android Studio so I thought I'd get help from here. Does anyone know where Android Studio initially downloads SDKs?
I don't have a very powerful setup, when I downloaded Android Studio I only had about 30gb in my C:Drive and 70gb in D: Drive.
When I opened Android Studio the first thing I did was, ofc, download the SDKs that I needed. I set the SDK location to D:/sdk Drive.
The problem with that was when it was downloading, I was doing idle stuff, the computer suddenly prompted me that it nearly had no space left. I opened My Computer and saw that C: only had 1gb left. Which was stupid! I chose D: as my SDK location. Now since this couldn't be, and my computer was lagging like hell because of this, I had to uninstall Android Studio, but now the new problem is that I got "some" memory back, but only 9gb! I literally lost 20gb of memory without knowing where it went.
My guess is that it's from those uninstalled, undeleted SDKs, or something. Correct me if I'm wrong? I wanna know if there's a way for me to find those unwanted data. I still plan on reInstalling Android Studio but maybe another time.
General answer if you still have Android Studio installed You can check the download location of the Android SDK from Android Studio in case you have it installed ( Settings -> Appearance & Behavior -> System Settings -> Android SDK ).
In my case on a Windows machine it was C:\Users\$user\AppData\Local\Android\Sdk – so you might have a look in this folder.
I found it. Altho thumbs up to Matthias Wenz, since he pointed me to the right direction. It's in "AppData\local\temp" if anyone's lookign for them too.
In Windows OS, you can find them in the following addresses:
%temp%\PackageOperationXX
Or
%userprofile%\AppData\Local\Temp\PackageOperationXX
like:
%temp%\PackageOperation01
%userprofile%\AppData\Local\Temp\PackageOperation01

How to use DDMS within Android Studio?

I'm trying to see the contents of a database I'm using through the execution of my program via DDMS. I've looked at lot of questions on here that explain how it's done. My understanding relies on the fact that on clicking Tools--> Android--> Android Device Monitor, there is a change in perspective however nothing of the sort happens when I do the above. In fact, there seems to be no indication at all, that I selected the Android Device Monitor. Could someone please point me in the right direction of finding out what could be wrong?
Going off what #will421 said in the comments, I ran monitor.bat and the typed out monitor in the console (Both needed to be done.) and then I was prompted to enter my sdk path. What tripped me up was the fact that I had two folders labelled sdk and sdk1 so choosing the right one is important. To view the contents of the dtatabase, I just followed along with the great answer at View contents of database file in Android Studio

Android 9 patch won't load

I have a question regarding Android 9 patch. Basically when I click and open the 9Patch tool, the screen went blank and can never start. I have tried to drag a picture into it, and it just crashes. Things I have tried are:
re-download Android SDK and re-install
re-start my computer
I am sure I have downloaded the correct version of Android SDK, so my guess is maybe it has nothing to do with Android, but settings in my computer, but I don't know where and how to fix it. So any suggestions and advices are welcome!! Thanks!
This seems to be a known problem on Mac.
https://code.google.com/p/android/issues/detail?id=57473&can=1&q=draw9patch&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
There seems to be a patch available from Apple which should fix this problem.
Also, check this thread.
draw9patch just hangs on Mac 10.7.5
Try to use Android Asset Studio
This link presents Icon generators and Simple nine-patch generator. it's very simple.

Eclipse Juno Install Dependencies (Offline Solution)

Good day guys
I have this kind of problem from my Eclipes Juno
I can't create a new android project because of this one
and i found several topics about this problem
but almost of the answers was pointing into two solutions
"Uninstall the support library from the Android SDK manager"
"have an internet connection and update online"
and i have two problems too...
first, i don't have internet connection in our home
Second, "i don't have it" (Support Library)
This is my android SDK
as you can see I have no Support Library so notting to uninstall
maybe you'll be confused "where did i get that platforms if as i said i have no internet connection in our home"
well i've manually downloaded all of it and manually extracted to my "plaform" directory....
i have encountered some errors before like this one
and luckly i was able to solve it using just manual downloading and extracting (a little workarounds)
but this one seems to be one of the hardest to me for now...
I keep browsing the web for finding such a "support library.zip" so that all i have to do is extract that one to its respective directory
and a step by step to where do i extract it... but sadly i found nothing...
i im thinking of some posible solutions
and maybe i need a help of a person who has a good running Eclipse Juno
make a request like " can you zip your support library folder from your SDK and upload it here"
and a simple "path" to what directory do i have to extract it.
whatever it maybe...
ill just trying every single workarounds just to solve it "offline"
i know online solution is less hassle and just a little clicks and problem solved,
but did you know how it happened?
do you know what eclipse or SDK did to solve that?
that's the reason why i want it offline just for me to understand every bit of it...
i want to solve it Offline...
Thank you in advance.....
you can go to download ADT-20.0.0.zip ,Install it and then restart Eclipse.
because Google is 2.2 and the earlier version to official library, support many 3.0 and higher version of the function, in the new construction time, the default will give you add libs folders and android - support - v4. Jar。
I also can be directly sent to you ADT-20.0.0.zip。please tell me your E-mail!

Content Assist not working in Eclipse for Android

I've been working in Eclipse programming for Android for about a year now. I suddenly have an enormous problem. Here is the error:
"Content Assist" did not complete
normally. Please see the log for more
information.
java.lang.NullPointerException
I go to Help>About Eclipse SDK>Installation Details>Configuration>View Error Log and it is nothing but a blank page. No errors at all.
I tried researching online. The most relevant pages I could find are http://forums.adobe.com/thread/455543 and http://www.themorphicgroup.com/blog/2009/10/27/content-assist-did-not-complete-normally/ and http://www.airtightinteractive.com/2010/01/fix-for-flash-builder-content-assist-did-not-complete-normally/ . All of these pages say to close FB, delete the .metadata folder,restart FB, import/export some SWC file, and/or delete some file with "flexbuilder" in it's name. None of these work and I see nothing on my whole machine with any of "Flash Builder", "FB", "flex", or "flexbuilder" in it's name.
As a desperate last resort I deleted all traces of Eclipse, Android, Adobe anything, and Java from my machine.
Absolutely no difference what-so-ever. Besides exhaustion and heartache for me.
The content assist features seem to work fine in java files (for now anyway). It seems that only .xml files are affected.
What can I do to resolve or work around this issue?
Make sure the correct editor is opening the xml files. I have aptana and some other plugins that support xml files. Right click the file in project explorer and select open with, then select Android Xml Editor and see if you have completion.
I dont know if that is the exact name, because my eclipse just went south and wont even open :)
Right clicking the file and opening it specifically with Android Layout Editor is what solved the problem for me. Eclipse will continue to open it up with that editor after choosing that editor.
Uninstalling and re-installing the Android Developement Tools Plugin for eclipse at least partyl fixed the problem for me.
Strangely it worked best when completely uninstalling the plugin!?

Categories

Resources