I've been developing on a Droid X2 w/ Android 2.3.4 for about 4 months. The SDK I used the entire time was Android 4.0.3, which worked w/o incident. I downloaded and set up the 2.2 SDK for use with an older phone, and now no SDK is 'compatible' with my phone. I've messed with the manifest (min/max/target version), creating new simple programs and tried running with that, nothing works. I've also reinstalled everything. Any ideas? Thank you.
Related
I am using Android Studio, I was learning some Android, everything was fine to the time that I realized I installed Android M (sdk 22 ) and Android 5.0.1 (api 21), I always run the emulator on api 21, everything worked correctly, and then I wanted to get some free Disk space, so I deleted the android M from the sdk, and therefore, the emulator couldnt anymore run my apps.It starts normally but nothing happens, any help guys ?
So I've been playing around with the Virtual Devices for a while working on a few Android Apps. I have the 2.2 and 4.1 SDKs installed on the computer like is suggested by the developers website (this incorporates most of the phones around today).
Recently I purchased an Android phone, the HTC One XL running Android 4.0.3, and in trying to run my apps through it, the system is not finding the device.
I fiddled around a bit searching for the device but it says that it is searching for 4.1 devices in the Android Device chooser.
The phone is in debugging mode, and as far as I can tell, the most up to date driver is installed.
So, is there a way to tell Eclipse to look for devices with lower OS's or should I uninstall the 4.1 kit and put on the 4.0.3? Or is there a better option?
I'm developing a taxi order application for Android. Two days ago I got stuck with a problem that I couldn't use Internet on emulator - it refused to work. The cause was in network settings in Windows, but I learned it later. That time I just tried to reinstall Android SDK hoping everyrhing will be repaired. Before that I was working with revision 16. Now I installed revision 20. My Eclipse ADT plugin automatically updated to support newer SDK version.
Now I work without real device and test everything on Android emulator. Today I sent the newest release of my app to my chief but I refused to be installed. The minimal SDK version is 8 (2.2), and the chief has an Android 2.3 device. He tried to install this app onto other two devices. Another 2.3 device also declined apk, but a 2.2 device accepted it. What's the problem? Note that I didn't set max SDK version. I also tried installing and running my application an a 2.3 emulator, everything was fine.
P.S. Problem solved, see Tim's suggestion below.
If he had an old version installed have him try uninstalling that first. My guess is that you got a new debug key and it is failing install due to different keys.
I am using QT for programming for android. I was always using- API 10 for my Andorid device and it was always recognized but suddenly it always starts emulator. But I want it to start on my device.. any idea?
SDK r15, phone is htc, Nexus One, Android version: 2.3.7
Problem is solved. I have reinstalled drivers and API 10. Restarter android and everything seems to be working.
I've just started learning android and I've completed the hello world sample program which running on my galaxy tab emulator successfully.
Now i have the following concerns as below
can this hello world program run on galaxy y handset?
From where I can get the emulator for galaxy y model from samsung?
I am using sdk platform 2.2 , can this code run on Android OS v2.3.5 (Gingerbread - real handset)?
1) Yes
2) I'm not sure if such thing exists
3) Yes
You should try running the program on your handset; you can't learn unless you do. just FYI, I had to install Samsung Kies to get the drivers that let Eclipse see a Galaxy tab. I'm not sure if you have to do the same for the handset, but if that's the case, now you know what to do.
If you are beginning to learn Android you are better off learning with the default emulator that comes with the SDK. Setting up handset manufacturer specific emulators is not the hassle to address right now. Just use the default SDK, you will be fine.
Hello world programs, in almost all cases in Android will work with any emulator or SDK (from Android 1.6 onwards). So you should be okay.
Also, if it doesnt run due to some reason, learning how to recognize it and address it is a useful skill too, so dont think its not important.
If you're new to Android start your app projects with
Minimum required SDK-android 2.2 froyo
Target SDK- 4.2 jelly bean
Compile with android 4.2.
After creating the project go to your workspace APP project folder/bin/.apk file, copy and paste the .apk file and run it on your Samsung Galaxy y. It works, even I to have a Galaxy y mobile and tried it, it works.
Thank You. :)