I work with Windows 10 and Android Studio.
When I press the button "SDK manager", nothing happens.
When I open the "AVD Manager", window that opens is the "Create AVD", but when I set a new AVD, well, nothing happens.
Of course, I defined JAVA_PATH, SDK location and everything else (including sdk\tools\android.bat - java.exe).
Android studio and SDK installed in D drive, JDK and JRE installed in C drive.
Is there anything else I can do? Is there a way to spend an error report?
Some time ago I do have kind of problem like this.
You can try running sdk manager with Run as administrator from your drive where it is located at.
let me know if it helps you if not please let us know the best solution you get from others friend . :)
Ok. I think the problem in the build of Windows 10. There are many programs that do not work, and there are also a lot of feedback on it.
Related
when i install it and try open for the first time, it works perfectly, but when i tried after, and click in "Start a new Android Studio project", the window opens, but gets transparent for ever(see in the image). it gives no error alerts, files missing, nothing.
after that, i tried to:
update all tools and SDKs, not works.
run it as ADM, not works.
run this with nothing more running to have more power of the pc, not works.
add the "JAVA_HOME" system variable with the JDKs and JREs locations, not works.
install individual SDK tools, not works.
uninstall and reinstall all JREs, JDKs and Android Studio, not works.
Change JREs and JDKs versions to older ones, not works.
search for the Minimal System Requirements to run it (that you can see here: http://developer.android.com/sdk/index.html)
and my pc supports i guess (that have 4gb RAM, 150gb of free space on the install location, AMD Sempron 145 2.8ghz processor, Win 7 32-bit, 1280x1024px screen resolution and all JREs, JDKs and SDKs needed).
yesterday i tried to change the installation location to another HD, not works too
and in my last try, i undo my pc with a System Restore to 4 days before the first installation, nothing of this works
anyone knows what i can do to solve this? if not, exist another program that i can use instead of the Android Studio? i'm a newbie in android development, i relly relly need some help pls :(
sorry my bad english and the big post, i'm just trying to be more specific as possible.
Thanks in advance, have a good day.
go to your user directory.
Example : C:\Users\yourName.
delete the directory..
.AndroidStudioX.X
if you have few of them delete all of them.
this should reset Android Studio as a fresh install
helped me a lot of times.
Yesterday i updated eclipse and sdk, and now have made some changes to the code but not able to see the changes made in emulator when i run it.
These are the things i have tried by googling:
restarted eclipse and avd
clean the project
checked whether all the options are checked under project
properties->builders.
Checked whether all the options are checked under
windows->preferences->android->build
When I tried to test it on device, I was not able to export, but got "No Build Tools installed in the sdk".
So I installed the tools in the sdk, but I still could not get updated output.
Can anyone help me out?
Are you sure the latest apk is getting installed on the device? There are some instances where it will not overwrite an installed apk. For example if your build-signing key has changed recently. Try uninstalling the app fully from the device first, and try again.
Go to device manager edit device virtually created by you or system ..you will find one check box saying enable snaps shot. check mark it. it will work..
I've researched this on the internet so much and nothing I find is helping me out. I got the SDK manager to run, but when I try to run the Adroid AVD Manager, it doesn't run!!!!! Why?
It says, word for word,
"Failed to execute tools\android.bat:
The system cannot find the file specified."
Why can it not find a file that is clearly where it is looking?
PS I'm running windows 8, installed the latest version of the ADK.
The latest SDK has AVD Manager in the SDK Manager itself. Open SDK Manager -> Tools -> Manage AVDs
I was getting the same error and solved it by going to the tools folder (up one level in my case) and then running the android.bat file.
This then runs the SDK Manager and then follow Samarth Jain's answer above.
Make sure you have the sdk/add-ons folder. I created that and SDK and AVD Managers both worked correctly
I just copied sdk manager.exe and avd manager.exe from ..sdk\tools\lib to ..sdk
You may not have the correct permission level to run the program.
Try doing the following:
Right click
Run as administrator
The beat and working way to solve this problem is to download the ARM EABI v7a system image for your respective API level and also the Intel x86 Emulator Accelerator(HAXM installer). After that you can run the AVD manager from the SDK manager and now select the ARM system image in the CPU section and now thw OK button will work. It worked for me and hope will work for you.
I installed the Android SDK on my computer a few months ago and now I've finally motivated myself to begin developing.
At the moment, I'm trying to install the plugin for Eclipse, and I need to set the location of the SDK on my computer but... I can't find it.
I know it's installed, since the SDK Manager says it is, but I don't know where!
There's no Android folder in Program Files or in C:\
Searching for Android in explorer didn't yield anything relevant.
So.. Does anybody know where I can find the SDK?
It doesn't seem to be in the default location.
Thanks
If what you say about the SDK Manager in the OP is correct, and if you have access to the SDK Manager, then it shows where the SDK is currently located.
Right below the Package and Tools menu, it shows the SDK path.
However, if you cannot access the SDK Manager, then odds are you downloaded either the ADT Bundle or the SDK Installer.
If it is the earlier, then the file that you downloaded is named: adt-bundle-windows-x86.zip. If it is the later, and if you remember installing it, then the default path for the installation is in your Program Files\Android..... The installer is named something like this: installer_r21.1-windows.exe (this is the current available version)
If none of the suggestions on this page, helps, then the last resort is to download the SDK all over again. On a good connection, you should be done in about 15 odd minutes.
Download Source
Good luck with coding. ;-)
I'm following the Android App HelloAndroid tutorial on http://developer.android.com/resources/tutorials/hello-world.html and I seem to be doing well so far. I got the SDK downloaded and installed, emulator works... I am using Android 2.2
it works.. but I do not see the text string... This is my first android app so I am doing something wrong.
Yeah, getting Eclipse to talk to the Emulator can be a PITA. If you can debug on an actual device, don’t waste your time with the emulator.
You can look in Eclipse’s console window to see what’s up. Chances are it has installed the package, but it never got around to launching the application. Press the debug button again to see if it works, or just launch the app from the home screen manually. Unfortunately this won’t connect the debugger, but at least you can use it.
I’ve struggled with this a few times and can’t come up with anything more conclusive than “delete your emulator image and try again” or “restart Eclipse to see if it works this time”.
try the following:
unlock the emulator. if do not show text. restart the emulator or try the code
TextView tv = (TextView)findViewById(R.id.textview1);
tv.setText("first app");
....
Based on your screenshot it looks like an error occured while installing the app, you could try to install the app via adb. It's in ANDROID_SDK_FOLDER/platform-tools/ in the current sdk or in ANDROID_SDK_FOLDER/tools on the old version, where ANDROID_SDK_FOLDER is the folder where you placed your sdk. With the emulator open, use:
adb install path_to_the_apk_folder/HelloAndroid.apk
You can usually find your apk on the bin folder of your project.
Even if it doesn't work adb can give you more information about how to handle the problem.
You could also take a look at the troubleshooting tips on developer.android.com. http://developer.android.com/resources/faq/troubleshooting.html#eclipse and http://developer.android.com/resources/faq/troubleshooting.html#noapp might be relevant.