I'm having trouble with my android studio and I even changed my windows, now I'm just frustrated. Can someone help me? I almost looked everywhere.
So this is when I've installed android studio and this appears.
Then it automatically goes to this page and wants to download android SDK but the check box is not activated! and as you can see the download size is 0!
And that's the next one!
So I quitted the setup and opened the SDK manager from the android studio and this is what it says:
picture
does anyone know what should I do to download SDK? And by the way, I'm living in Iran, that's one of those countries that include United States sanctions. Do you think it's related and if Yes what should I do?
p.s: This is the first time I'm asking a question on Stackoverflow, so forgive me if I did something wrong in the asking process.
After doing some changes to my IP I could fix the problem. So, if anyone has the same problem I think it's related to their countries limit problems. You should change your IP.
Related
Hey guys and girls for a the past week I've grown a lot of interest in android studio (even without knowing quite much about it) I decided to create an app that I deemed quite useful. However the app required maps to be integrated in it and I really did not know what I was doing and at one point I started messing with the settings and then all hell broke loose and I kept getting AAPT2 errors and I even tried to fix this issue with the gradle properties line that you add (I forgot the line of code to add). Anyways it still didnt work. However I rembered that I always kept the good version (before I broke everything) of the app on my phone. So when I go in my phone the app is there and it works just fine. Ive tried so many things to get the source code from the app on my phone without any succes. My question is, how can I get the source code back from the working app onto my laptop to continue coding in android studio? If it helps I am using Linux 18.04 LTS and running the newest version of android studio. Thank you for any help from you guys. This means a lot to me.
You can’t get back the ‘source code’ from an already compiled app.
You should consider using some version control platforms like git from the next time
I want to start learning Android programming and recently downloaded the Android Studio. Now if I want to start a new project, I can't get past this initial screen. Whenever I click next, the window just jerks, which I guess is indicating that I am doing something wrong. So how can I solve this problem?
Note: I am a total beginner but I am genuinely trying to learn and searching the web for the problem didn't give me any solution.
I guess something is wrong with your Android Studio / JDK installation. In the status bar on the bottom, I can see a NullPointerException. I think this is the cause. Try to open the Android Studio Log and hopefully the error is better explained there.
How to find Android Studio Log
Maybe you have unknown characters in your package name like "ı,ö,ü" ? And you may want to watch a android starter tutorial video which has a part about starting a project to see if you are doing something wrong?
If it couldn't be a good answer sorry for it but that's all i can offer :3
I need some help with the designer of the visual studio/xamarin on the android.
I'm kinda noob with development, but I was hoping to do some examples, but the designer isn't showing up...
The tutorial videos, from the Xamarin itself, only says it need to create a new project and play with the designer, but when I do that, the designer is empty and I can't do nothing...
Here some pictures from what I have and from what I see on videos:
There's a couple things I'm thinking here. It's quite possible that your installation of Xamarin didn't go according to plan. Check your detailed Visual Studio version information in "Help -> About -> Copy Detailed Info".
Additionally, you might also be running on an outdated version of the Android SDK or there might be an issue with your Java config. Ensure you've got the Android SDK installed and updated and that you're using a current version of the Java SDK.
I also see there's a white box showing up on your Designer screen. Does that ever populate with an error? Usually, that will show some info on what exactly is going wrong.
Lastly, you can also check your logs in the following directory for more hints as to what's going on:
%LOCALAPPDATA%\Xamarin\Log
I hope this helps!
I've recently started android programming, and I'm extremely frustrated to say the least with a lot of things that to me seem simple but are totally holding me back from making any progress. The first of which is the "my first app" hello world that I started a tutorial from http://developer.android.com/training/basics/firstapp/creating-project.html
This tutorial worked fine when I was originally looking into android a while ago. Then when I came back after learning a bunch of java this program will no longer work unless I change the target-sdk to version 10 (I found that solution after extensive searching on this site).
Then I moved on to starting tutorials by thenewboston
All of these work fine as long as I didn't use any new targetsdkversion, so I'm wondering what happened that everywhere I go looking for tutorials I can't find anything that will actually work on the current ADT(4.4W and L are what my eclipse automatically set up) and eclipse (indigo). I'll also get issues saying lint isn't working, or trouble with android SDK content loader when I'm not even doing anything.
I've also found snippets of code example on the developer website that I linked earlier that don't work when implemented either
So, am I missing something, is that just old documentation, or is something up with eclipse and ADT? I'm just so frustrated that everything wants to bug out on me when I'm just trying to follow simple introductory tutorials and I don't even know where to turn for tutorials that I can trust to work..
edit:removed code because it wasn't needed.
To not get blocked What you can do is continue to set "targetVersion as '19'" instead of setting it to 20 or so. Ensure that you've downloaded API19 through SDK Manager and create the AVDs with that targetSDK version for checking you apps.
That way you can proceed ahead with your coding and later when things get resolved by google for API20...you can always comeback to that new version. This way you can follow 'TheNewBoston' and start coding in Android.
I also recommend 'Slidenerd' tutorials over youtube as well for the beginner.
BTW, I've also selected 'Blank Activity / Empty Activity" during the project creation with API19 and been able to move ahead with my coding.
The Google Bug thread about this latest version issue can be tracked here : The google bug
As a beginning developer, I suggest you use API 19. It has been out for a while and is more stable than L or Google Wear.
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!