Android :: SDK Fails To Install ?
Jan 6, 2010
When I try to install the android SDK it fails to install.
My OS is Windows XP. I just downloaded and installed Java JDK 1.6 Java -version from the command line returns: http://stackoverflow.com/questions/ask java version "1.6.0_17" Java(TM) SE Runtime Environment (build 1.6.0_17-b04) Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
My environment vars have: JAVA_HOME=c:progra~1javajdk1.6.0_11. I downloaded android-sdk-r04-windows.zip. I unziped it in V:AndroidInstall
When I go to the V:androindinstallandroid-sdk-windows> and type "SDK Install.exe" nothing happens...If I go this from graph
When I do this from a graphical file viewer I get a quick flash that looks like a command line window and nothing....
When I try to run android list targets from the tool directory I get:
Error: Error parsing the sdk.
Error: V:androindinstallandroid-sdk-windowsplatforms is missing.
Error: Unable to parse SDK content.
So the basic install setup is not happening.
Additional clues:
I have a G1 and Android 1.0 was running on this machine. (Almost a year ago) I've updated my G1 to 1.6 so I thought I'd update my SDK before starting new development.
When I tried to upgrade it tried and then died as the "directory was in use"
So I cleaned out all the android directories, rebooted and redownloaded everythign from scratch.
Now it won't run at all.
I've clearly got something in an unhappy state, but I've cleaned up all the directories and no remanants seem to be running I've rebooted....
View 3 Replies
Sep 22, 2010
Did a factory reset. Unrated did not remove Ny bloatware juat rooted to use wifi tether. Now the ota update keeps failing. What is going on?
View 45 Replies
View Related
Nov 14, 2010
My X10i fails to install the update, it downloads and starts updating then about 2 seconds later says failed, it does this with PC Companion and SE updater, it does this on win 7 64bit and win xp whats going wrong?
View 1 Replies
View Related
Apr 22, 2010
I rooted my phone for the first time yesterday, which was easier than I thought, and I flashed Fresh 2.0d and it is running awesome. I am having one issue and that is downloading the HTC battery widget back to my phone, it fails on install. Is that because the battery is being sent to the SD card and it can't run there? Any work around on that? Or is there a better battery app out there to use?
View 3 Replies
View Related
Nov 15, 2013
How to install kit kat on my nexus 10 wifi
I downloaded the update file (279e5e2396480cbffd97943a5db5bbc743ef7e77.signed-mantaray-KRT16O-from-JWR66Y.279e5e23.zip) placed it in my rooted device and started twrp custom recovery.
When i click on flash a zip file the flash always fails?
View 1 Replies
View Related
Apr 23, 2012
I have captivate. I just up rom to CM9 "update-cm-9-20120417-NIGHTLY-captivatemtd-signed" and "gapps-ics-20120317-signed". However i connect to 91 PC suite, it show messenger error follow:
" Sorry, phone daemon install fails!; there is not enough memory to install the daemon, check your phone's memory space and then connect your phone".
View 9 Replies
View Related
Sep 24, 2010
I am running UD8.0 and chevys 1.0ulow kernel first of all...for some reason this will download but the install fails...anyone else having this trouble?
View 18 Replies
View Related
May 13, 2009
I have upgraded my phone's images to Android 1.5 images (from http://www.htc.com/www/support/android/adp.html) Now when I try commands like adb remount, chmod, adb push etc I get "Operation not permitted" and "Permission denied" errors
I was able to give this command when I had 1.0 images flashed on my phone.
Has something related to permissions changed with Android 1.5?
View 2 Replies
View Related
Apr 16, 2010
I'm trying to do is open a very simple application that is supposed to do nothing but display an imageView above a textView. The application worked fine until I added the imageView so I'm assuming my problem has something to do with that.
Here is the code:
CODE:............
Here is my layout -> main.xml
CODE:....................
When I try and run the app in Eclipse through the Emulator the emulator gives me the following error:
The application Application Name (process.com.isi.sa) has stopped unexpectedly. Please try again.
The Console log in Eclipse shows the following messages:
CODE:.......................
View 1 Replies
View Related
Feb 28, 2009
I'm using the SAX parser to read some RSS feeds and have found a problem. Some feeds, for example CNN Money Top Stories, have embedded some characters in their content, i.e. the copyright symbol. Well, that's not valid XML and the SAX Parser fails with an exception "invalid token". The only help I have seen given is to fix the XML at the source and that's not an option obviously. So, I can think of 2 options and they both stink:
(a) read the content first, scrub it, and then pass it to the parser.
(b) Use DOM instead of SAX.
What I *want* to do is make the parser a little more forgiving and just accept or discard/ignore the bad text. I'm not have any luck with setErrorHandler. My error handler does not get called.
View 7 Replies
View Related
Sep 10, 2009
I'm trying to build a simple video recorder for an Android device and I've had limited success and mixed results. It worked once, but now, without changing anything, I'm getting a "Camera is not available" error followed by "prepare failed -2147483648" error.
View 1 Replies
View Related
Sep 24, 2010
I recently upgraded my SDK from 7 to 8. One of my applications uses Google GeoCoding, specifically the Geocoder object. After the upgrade, when I call the getFromLocation method, it doesn't return any addresses and I see a message in the logcat to the effect that GLS failed with status 20. My Google Maps API key is working fine because I'm seeing the map tiles, but GeoCoding is broken. It works fine if I run a previous (SDK 7) build of my app.
View 6 Replies
View Related
Oct 3, 2010
I want to upload an upgrade in the market. But when I upload the apk and new images and click save or publish everything is lost when I return to the listing (the old apk and images are restored). The only thing that changes is the saved versioncode of the app. Is there something broken?
View 2 Replies
View Related
Sep 11, 2010
The following code works when I either have no min sdk version specified in the app manifest or if it's 5 or greater. But if I set the min sdk level to 4 (Android 1.6) , it fails to create a subdirectory in the sdcard.
There is no error. mkdir() or mkdirs() just returns false.
CODE:....
Am I doing something wrong here? Or is this a bug? I'd prefer not to set the target to 2.1 and min version to 1.6. But right now, I have to set it to 2.0 for it to work.
View 8 Replies
View Related
Apr 28, 2010
I use the following code to create a folder "mymir" and a file ".nomedia" (in the mymir-folder) on the sdcard of an android unit. However, somehow it fails with the exception that the folder the ".nomedia"-file is to be placed in dosn't exist.
Here's the code:
CODE:....................
View 1 Replies
View Related
Jul 30, 2010
I am brand new to developing for android and have hit something of a stumbling block that I cant seem to get around.
Using the NotePad example, I have created my own ContentProvider to serve up data from a database that I will eventually host on a webserver. But that is lightyears away from where I am right now.
Just testing my ContentProvider has caused a bit of a headache that I cant solve. For some reason, when the provider calls SQLiteDatabase db = mOpenHelper.getWritableDatabase(); I get a null pointer exception.
Code Follows:
CODE:............
Stack Trace
CODE:......................
View 1 Replies
View Related
Mar 24, 2009
I'm testing an app I'm developing and asked a friend to install on their device. I wanted to make it as easy as possible for them to help me out so I put the .apk up on my website for them to download to the phone (rather than making them download the SDK and use adb to install). The install of the downloaded .apk fails, complaining of a package conflict.
I have since gotten my hands on the phone briefly and I verified that:
* they have selected "allow unsigned apps" in settings
* there is no package with the same (or similar) name in data/data * installing via adb works with not a peep
* when I download the .apk to my phone the app installs fine.
It would be really nice to make it as easy as possible to distribute to people who might be willing to do me the favor of testing.
View 3 Replies
View Related
Mar 11, 2009
I tried connect to AP(DHCP componet is disabled) with Google dev phone 1. It fails to connect to that AP. Can't get a ip address from AP. I hoped the dev phone successfully connect to the AP, and assign own auto-ip by itself(169.254.xx.xx). But It didn't happened. I think it must be abnormal case. Is there any special way to get an Auto IP address?
View 2 Replies
View Related
Oct 14, 2009
I am trying to test the availability of a service with a socket. the code is quite simple. Code...
View 5 Replies
View Related
Apr 19, 2010
My build was failing with a dex error. After I turned verbosity up to debug I got the following:
CODE:............
Here is the source of the class where it is failing to place debug info:
CODE:..................
View 4 Replies
View Related
Aug 4, 2010
I have a and Android project and its test project. I can run tests successfully in the emulator. As the Android project has dependencies on a third library project, I want to use classes of the third project in the test cases too. For this, I need to add a dependency from the test project to the third project as well. Compile-time this works, but when I do a remote run of my AndroidTestCase, all tests fail. For each test, I get a NoClassDefFoundError, but not for third project classes, but for a class in the Android project itself!
View 4 Replies
View Related
Apr 15, 2010
Building our Android app from Ant fails with this error:
[apply]
[apply] UNEXPECTED TOP-LEVEL ERROR:
[apply] java.lang.OutOfMemoryError: Java heap space
[apply] at java.util.HashMap.<init>(HashMap.java:209)
[apply] at java.util.HashSet.<init>(HashSet.java:86)
[apply] at com.android.dx.ssa.Dominators.compress(Dominators.java:96)
[apply] at com.android.dx.ssa.Dominators.eval(Dominators.java:132)
[apply] at com.android.dx.ssa.Dominators.run(Dominators.java:213)
[apply] at com.android.dx.ssa.DomFront.run(DomFront.java:84)
[apply] at com.android.dx.ssa.SsaConverter.placePhiFunctions(SsaConverter.java:265)
[apply] at com.android.dx.ssa.SsaConverter.convertToSsaMethod(SsaConverter.java:51)
[apply] at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:100)
[apply] at com.android.dx.ssa.Optimizer.optimize(Optimizer.java:74)
[apply] at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:269)
[apply] at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
[apply] at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
[apply] at com.android.dx.command.dexer.Main.processClass(Main.java:297)
[apply] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
[apply] at com.android.dx.command.dexer.Main.access$100(Main.java:56)
[apply] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)
[apply] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[apply] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[apply] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[apply] at com.android.dx.command.dexer.Main.processOne(Main.java:245)
[apply] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[apply] at com.android.dx.command.dexer.Main.run(Main.java:139)
[apply] at com.android.dx.command.dexer.Main.main(Main.java:120)
[apply] at com.android.dx.command.Main.main(Main.java:87)
BUILD FAILED
Ive tried giving Ant more memory by setting ANT_OPTS="-Xms256m -Xmx512m". (This build machine has 1Gb RAM). Do I just need more memory or is there anything else I can try?
View 4 Replies
View Related
Jan 19, 2010
My code is calling setContentView(R.layout.someLayoutID); from an activities' onCreate method. The activity is launched with the following: Code...
View 4 Replies
View Related
Apr 3, 2009
Tried to trace for the first time but got the following exception when I started the "traceview" application with my trace file. mane@Labbe:/tmp$ traceview gldraw.trace Exception in thread "main" java.lang.RuntimeException: Method exit (java/lang/BootClassLoader.getInstance ()Ljava/lang/BootClassLoader;) does not match currentmethod (dalvik/system/VMDebug.startClassPrep () V) at com.android.traceview.ThreadData.exit(ThreadData.java:116) at com.android.traceview.ThreadData.handleCall(ThreadData.java: 78).....
View 4 Replies
View Related
Jun 22, 2009
Uploading pictures to picasa always fails in my phone. Does anybody has faced similar problem. It always says retrying after 1 minute, 3 minute.
View 4 Replies
View Related
Jul 13, 2009
I have a class that implements a multipart file upload. The code works on every java client I've tried it on but does not work on Android, *and* it's the only HTTP request code in my Android app that doesn't play nice with my back end service. I've looked through the posts to see if other are having similar issues but so far have only found posts like this http://groups.google.com/group/android-developers/msg/c4b0270153d194d9 , which are nearly the same as mine. T The symtoms I'm seeing are that the connection responseCode is "-1" & no entries show up in the Apache access or error logs. It seems as if the request is never making it off of the android platform. The code gets right through the connection writes in the debugger with no errors, but hangs on the connection read, times out and then returns with -1. Behavior is same for real phone and emulator. As I mentioned, this code is in use elsewhere and works fine.
Does anyone know of any gotchas one needs to look out for when posting a multipart file in Android? Anything about doing a POST or a POST w/ data on Android?
I'm including the code/class below so you can see what I'm up to.
CODE:.................
View 2 Replies
View Related
Dec 5, 2009
I just resuscitated an old laptop, wiped out the old corrupted XP, installed Ubuntu 9.1, installed Eclipse 3.5.1, installed the sun-java6- jdk from the Synaptic Manager, then I tried to install the ADT as described in
http://developer.android.com/sdk/eclipse-adt.html,
but the installation fails with the following message:
Cannot complete the install because one or more required items could not be found. Software being installed:
Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404)
Missing requirement: Android Development Tools 0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 0.9.5.v200911191123-20404) requires 'org.eclipse.wst.xml.ui 0.0.0' but it could not be found.
View 5 Replies
View Related
Jun 29, 2010
playing youtube videos in android. I have tried the RTSP but it fails to stream the video.
View 2 Replies
View Related
Nov 8, 2009
I'm trying to make a horizontal layout with two TextViews, one should take up 40% of available width, the other 60%. This works unless the text is longer than available space, then a stack overflow exception is thrown. Pasting this into an empty 1.5 project xml file should cause it (though this seems to work ok on 1.6+):
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:weightSum="100" >
<TextView android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="40" android:text="Some really long sentence AAAAA" android:singleLine="true" />
<TextView android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="60" android:text="Some really long sentence BBBBB" android:singleLine="true" /> </LinearLayout>
Is there some other way to do this? I need to just break a row up into these separate columns with specific widths. I'm ok with the text just getting truncated on overflow,
View 5 Replies
View Related
Nov 12, 2010
I've been having an issue with using AudioRecord for Android. I've read as much as I can find online about it, but I cannot seem to get a good initialization. I have tried the Android 2.2 emulator, 1.5 emulator and my phone, an HTC Incredible running Froyo. The emulators and my phone fail initialization. I've tried sampling rates of 8000, 11025, and 44100, formats of CHANNEL_IN_MONO/STEREO and CHANNEL_CONFIGURATION_MONO/STEREO, 8bit and 16bit encoding (8 bit makes the getMinBufferSize fail), and Audio Source of MIC and DEFAULT. All result in the variable test becoming 0 after running a get state(failed initialization). It seems from everything I've read that this should correctly initialize the object. I have played around with the multiplier on buflen, to have it range from 512 (the result of the function) to 102400 because I had heard that HTC devices require something above 8192. For testing my problem I made a new, small project that recreates my problem as simply as possible. I pull out the constants needed into local ints then run the constructor and access the getState method for checking if it worked. Code...
View 1 Replies
View Related