I am new to Android development, I just got Eclipse for the first time a few days ago.
I've made a simple app in Eclipse which I've got running through the emulator, but it's pointed at Android 4.3.
In Eclipse I've gone to Window -> Android Virtual Device Manager -> Edit, but the only "Target" in the list is Android 4.3 - API Level 18. I am using Nexus 4 as the device to emulate.
I've Googled (and Stackoverflow'd!) around for this to no avail. I haven't seen any articles which clearly outline what needs to be done to get Android 4.1 to appear in that list, and if there are any steps afterwards that I need to follow.
Do I need to download anything; is it just a configuration thing?
Any advice would be much appreciated. Thanks.
You need to install the SDK packages for the versions you want to target. Open the Android SDK Manager from Window->Android SDK Manager, then check the box for the latest Android 4.1 (API level 16).
I think you have installed Android 4.3 image only.
Try to install other SDKs using android SDK Manager.
Go to ur direcotry where you have placed your android sdk and run sdk manager
You will get whole list of supported API's
Just go ahead and download the required one
Install SDK's and Plugin's if you haven't installed.. Go through the links I mentioned, you will have an actual idea.
Hope this helps.. :)
If want to configure in eclipse then you've to update the latest version in your SDK manager.You can also use android ADT-Bundle.it support all API level.You can download from the developer site.
Related
I'm trying to develop an Android app that has a native Google Maps control. Seems simple enough, but unfortunately I've run into a lot of trouble setting it up.
I have very carefully followed the instructions here multiple times with no success. Every time I try to load up my app, I get the message <my app> won't run without Google Play services, which are not supported by your device. I have confirmed in the settings that I do in fact have Google Play services on the device.
I have tried to uninstall and reinstall downloaded google services apk's, but abd does not allow me to uninstall it with the error DELETE_FAILED_INTERNAL_ERROR, I assume it is because I don't have root access.
You need to update your SDK and install the latest Google Play Services library under "Extras" section. The AVD can be launched using "android" binary under your SDK tools folder.
So I found the answer to my own question. I made a dumb mistake...
In my manifest, I entered my api key where it says API_KEY: android:name="com.google.android.geo.API_KEY but it should just be API_KEY. Changing this, and using Google Play services 9 instead of 10 fixed it.
I am relatively new to Eclipse IDE and want to build facebook login option in my android app. I looked up developers.facebook documentation but can't find one for Eclipse IDE (they have it for Android Studio). So i want to know if it is possible? (if yes then how could it be done?)
I am trying to develop an apps with google maps features, so I followed a few tutorials and I realized that making this apps requires the project to use google play service libs library.
But I have problem with the CPU usage when trying to run the project on my AVD which cause the eclipse won't even run the project and keeps loading and I had to force close my Eclipse.
My task manager
So I tried to pinpoint the problem by making new blank android project and try to run the project as I follow the tutorial step by step.
And I found out that as soon as I add the google play libs to my project, I can't run the project anymore because of the CPU usage problem.
My library used
I have downloaded the latest verison of the google play service (rev 27) from my SDK manager.
Can anyone please help me? thanks a lot..
Problem solved when I stopped using Eclipse and started using Android Studio
I am going through the video tutorial at O'Reilly video training course "Developing Android Applications with Java" by Tony Hillerson. He mentioned that I must build my app against the "Google APIs" rather than the standard Android 1.6 API to use the Google Maps API for my app. I need this in order to import "com.google.android.maps.MapActivity" in my application class.
Problem is: I can't find this "Google APIs" anywhere under the latest Android SDK manager.
Where can I find this "Google APIs" for Android 1.6? Please assist.
Use SDK 2.1-update minimum. Personally, I use 2.2 most of the time, but 2.1-update will support pretty much every phone out there.
You should be able to install it from the ADT plugin from inside Eclipse or externally from SDK Manager
I apologize for the newbie question as I am a newbie in developing for the android devices (started developing 2 days ago).
I understand though, that to make use of google map's location services, when you create a project and eclipse prompts you for a SDK target, you should target the GoogleAPI instead of the Android 4.0.3 (or whatever there is).
If such, will I be able to make use of everything there is in Android 4.0.3 when I click GoogleAPI ? Or is it possible to make use of the google api even if I target the Android 4.0.3 SDK?
The google enhanced version (with maps) of the 4.0.3 SDK in the AVD creation wizard is a superset of Android 4.0.3. The Google version just has additional google libraries included. There is no other supported way to get access to these libraries from the emulator or inside your development environment.