i just started android development and have the problem that my apps are not deployed to the phone - neither my hello-world nor the examples. after running them i cant find the apps on the emulator and the launch activity is not started either.
i use eclipse with ADT but also tried it via command line.
no errors in the console
any hints?
A few things you might want to check are the following:
Is your Android SDK attached to your eclipse.
Is your Android VD Attached to your PROJECT, not just to eclipse.
You need to go to the project->properties and then theres a place where you can attach the AVD and SDK to your project. I don't have eclipse right now to check for you, but If you dont get how tell me and I'll download it and check it for you.
Hope this helps,
kRizD
Related
It shows that I've already installed the Android SDK but I can't find it.:<
Tried in terminal to see what's in the folder but find nothing, this location is empty. Why the app tell me that I've installed it? How can I solve this problem? Thank you!!
I would say that you reinstall Android Studio after checking the SDK Manager at first. The SDK Path may also be corrupted, so check that.
For me it was two issues, proxy settings although tested okay was not connecting to display the list of available SDKs. Also launching Android Studio using "Run as administrator" was also required.
I had exactly the same issue and I came across this post but then before implementing the suggested solutions, I decided to first restart my AndroidStudio, on restart it gave me the option to download SDK and after that, it worked perfectly well.
I have fixed it by downloading the Android SDK from IntelliJ rather than Android Studio.
Then restart Android Studio, It detects the installed version.
So here is what i was trying to do. I was trying to create an android virtual device for eclipse, but i couldnt click ok button to create a AVD and i looked up online. someone says i need to install ARM AEBI System image thing. so i went to android sdk manager and tried to install the whole package. After i installed and i saw it said complete. i opened again the packages still showed up but this time i couldnt install anything anymore. then i tried to create a new virtual device, it still didnt work. What should i do? All i want is just import an android project i just wrote on eclipse and test it.
After installation you need to restart your IDE. While creating AVD you must select Android 6.0 as target Android version and then you can select armeabi-v7a as CPU type. Because the version of Android you installed now is Android 6.0. Try it again, hope it works for you.
I'm just getting started with Android development and was setting up Android Studio on my mac. (Following the instructions here)
When trying to run a simple hello world application and trying to learn my way around the IDE, I noticed the "Android Device monitor" disabled. Any ideas how I can fix this? This should be important when debugging apps hence the question.
I'm not sure what other info might be important for this question. I did make a few changes in the SDK manager, but they were just installing more components on top of what was already installed.
Once you open a valid project, the buttons become enabled.
Note that, even if the option is disabled, you can still bring up the Device Monitor by running the monitor.bat file in the tools directory of the Android SDK. (On Windows you can just double click the file or run it from a cmd shell.)
This problem occurs to me today. And I just click the button on the pic.
Problem solved.
and If this didn't work ,you can check this list in your Android Studio
1.Tools->Android->Enable ADB Integration
2.If you open DDMS, CLOSE it .
If these didn't work too, check the official file.
https://developer.android.com/studio/profile/am-basics.html
Recently i've started android training, and i've got the below 2 issues.
In my desktop i already had eclipse installed, and when trying to import the android plugins, I was getting some error, so what i did was downloaded eclipse+android package from android developers website and I copied it onto my programs files folder where java is installed and when i open it, it is throwing me an error saying the javaw is not found, goinf through the earlier posts on SO website, i've tried the below.
-vm
\adding the java path
But this didn't work for me. so what i did was installed the same package in my laptop(there is no another eclipse on my laptop). and it started working fine.
On my laptop in the eclipse+android package i write a program and when i hit the Android virtual device manager, it asks me to create a AVD, and when i've filled the entire data here, the OK button is still greyed out. Below is the screenshot.
Also i've tried to create by creating from Device definition,even here i'm not getting the ok button hoghlighted and below is its screenshot
please let me know how can i fix the above issues.
Thanks
Firstly you need not wonder for such a mess ..
For IDE purpose .. go to this link .. https://developer.android.com/sdk/installing/studio.html
Android Studio IDE contains all you need .. Just download ..extract and start creating your first Android project.
And now for tutorials to learn .. try these site ..
(1) https://buckysroom.org/videos.php?cat=6 ( Travis ... provide best tutorial in this world )
(2) https://developer.android.com/index.html
Now you are good to go ..
You can see it clearly says: "CPU/ABI: No system images installed for this target"
So either:
Lower your target.
Update your SDK.
Then set a CPU and you can go on in the AVD creation process.
update the sdk, install ARM/intel(x86) for CPU/ABI
Try using Android Studio by IntelliJ ,as it is for more better than eclipse and moreover ADT plugin for Eclipse is no longer in active development.
if you then also get the same error again try this link android Developer and setup java environment.
Initially I was working on Android in Eclipse and everything went fine. But two weeks before i installed Texlipse plugin and was working with it. Now, when i wanted to switch back to Android i'm unable to.
In new project there's no option for creating a new Android project nor even a Java project.
Even i tried to change the Preference window to Java or Java Browsing but anything didn't work. Now i'm unable to run or compile even a single java file even after changing the perspective. I don't know whether this could be due to Texlipse, i tried searching google for ways to uninstall Texlipse but nothing worked.
So, pls anyone help me to sort this out...
Unninstall eclipse and install ADT again
If you want to play something before eclipse uninstall, what you can do is, go to your eclipse--->plugin folder (C:\eclipse\plugins something like this). There you will see all androind plugins which starts with com.android.....You may delete them and repeat the steps defined in this link.Android eclipse setup
This is one try but can't guarantee (Remember this may messup your eclipse if it don't work, so get ready for eclipse unstall if it doesn't work).
You could try launching Eclipse with the -clean parameter. This saved me when Eclipse was hanging on startup. Certainly worth a try before a re-install. More info here:
http://www.eclipsezone.com/eclipse/forums/t61566.html
go to windows/android sdk manager. If it works and androids vesions you've choosed are there, AND you don't see android in eclipse, I am afraid you will need to reinstall everything.
If sdk manager won't work, than install start sdk kit (http://developer.android.com/sdk/index.html). After that run sdk manager and set up the packages you need. If it won't work,
go to help/install new software and uninstall items that were installed in the backward sequence. After every remove check the prev step
I HAVE met the situations where only cleaning off all eclipse info and reinstalling it helped.
So, good luck!