[android-developers] Android JUnit Test problem?
I build Android JUnit Project test my Android app project,my Android app import extra jar method,I import extra jar to Android JUnit project path,so test error(java.lang.IllegalAccessError: cross-loader access from pre-verified class).but comment extra jar method in Adroid app project,junit successful.My Android version 1.5 I don't know why is it so,help me.Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: android system make. error 45
Wow. This was frustrating. I was having the exact same problem. I am a nube to the Java and eclipse stuff and on top of that I had to get Ubuntu 9.04 for AMD 64 Dual Core running. Anyway, the Error 45 is generated in the build/coreidroiddocs.mk make file if javadocs command fails. The error generating line is: || (rm -rf $(PRIVATE_OUT_DIR) $(PRIVATE_SRC_LIST_FILE); exit 45) This appears twice: once for droiddocs and once for javadocs - don't ask me what the difference is. This file hides all the details from us so debugging requires an expert. I removed the exit 45 and enabled some extra output (like removing the -quiet option from the javadocs command and removing the $(hide) . Eventually I got to an actual error description - cannot resolve {...@link #setFinalX()} and { c...@link setFinalY()} links in this comment segment in (android root)/ frameworks/base/cor/java/android/widget/Scroller.java. /** * Extend the scroll animation. This allows a running animation to scroll * further and longer, when used with {...@link #setFinalX()} or {...@link setFinalY()}. * * @param extend Additional time to scroll in milliseconds. * @see #setFinalX(int) * @see #setFinalY(int){...@link setFinalY()} */ As I said, I am a nube. I would not have expected a comment field to generate errors. Apparently the javadocs command scours the code files for specially formatted comment fields to automatically generate documentation that someone finds useful. So even if the code compiles, the special comment fields can crash the javadocs function. I removed the @link phrased from this file, and viola the make file could progress. Eventually I ran into more errors that I was unable to debug, so far, but I was eventually able to complete the make process. While debugging, I was using "make docs" to isolate the problem. In this mode, at least, several javadocs are generated, each getting a new folder in "(android root)/out/target/comman/docs" and once completed the empty file "*-timestamp" is created in the same directory. The "offline-sdk-timestamp" should be generated when the "offline-sdk" documents have been successfully generated. The "-offline-sdk- timestamp" is used to signal make that these documents have already been generated. Since these documentation files should not be essential (for now, at least) you should be able to get around the problem by created the "*-timestamp" file with: touch (android root)/out/target/common/docs/offline-sdk-timestamp specifying the appropriate (android root) directory and the timestamp file given in the error 45 decsription This should let you finish the build, or a least progress beyound the javadoc portion. On Apr 20, 9:54 am, murray wrote: > I think this must be a conspiracy of some sort, as I too have > had the same issue for many weeks now... > I have not been able to get an answer from this forum or any > other.. google dev is not talking... why?...who really shot Kennedy? > > I'll take either answer..thanks > > On Apr 16, 4:20 am, "pcstal...@gmail.com" wrote: > > > hi there guys. im trying to make the latest android system. ive gotten > > past quite a few errors on my own. but i have been stoped dead in my > > tracks here. im makeing the system. and around 3 to 4 minutes into it. > > i get line after line of > > "Augh! {seemingly random code here}" > > followed by about 40 to 50 lines of > > "Null tags for gnu.classpath.tools.gjdoc.InheritDocTagImpl > > [na...@inheritdoc, text=, tagMap=null]" > > and after all of that. i see > > "make: *** [out/target/common/docs/offline-sdk-timestamp] Error 45" > > and thats where im stuck. i cant seem to find out what to do. i'm very > > grateful for any help at all :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Problems with 1.5 r1 on 64 bit Ubuntu 9.04?
Thanks, worked for me as well. On May 1, 8:34 am, csyperski wrote: > If anyone else has the issue it can be resolved by: > > Window -> Preferences -> Click Arrow next to android, not text itself > or it will crash -> Usage Stats -> "Send usage stats to google" set to > checked. > > I have no idea why this worked, but it fixed my problem. > > On May 1, 7:50 am, csyperski wrote: > > > I tried to set auto update and it didn't seem to help. I even created > > a new empty workspace. I happens most when I go to "Window" -> > > Prefences -> android > > > That is when the message pops up, I doesn't allow me to set the sdk > > path! > > > On May 1, 7:44 am, Eric Chen wrote: > > > > I fixed the problem by restart Eclipse and set the Auto update, may be you > > > should try to fix the project too. > > > Best Regards > > > > Eric Chen > > > > On Fri, May 1, 2009 at 8:33 PM, csyperski wrote: > > > > > Here is what I am getting in my .log file: > > > > > !ENTRY com.android.ide.eclipse.adt 4 0 2009-05-01 07:28:32.470 > > > > !MESSAGE pingUsageServer failed > > > > !STACK 0 > > > > org.eclipse.swt.SWTError: Not implemented [multiple displays] > > > > at org.eclipse.swt.SWT.error(SWT.java:3803) > > > > at org.eclipse.swt.widgets.Display.checkDisplay(Display.java:712) > > > > at org.eclipse.swt.widgets.Display.create(Display.java:842) > > > > at org.eclipse.swt.graphics.Device.(Device.java:154) > > > > at org.eclipse.swt.widgets.Display.(Display.java:471) > > > > at org.eclipse.swt.widgets.Display.(Display.java:462) > > > > at com.android.sdkstats.SdkStatsService.getUserPermission > > > > (SdkStatsService.java:278) > > > > at > > > > com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java: > > > > 126) > > > > at com.android.ide.eclipse.common.SdkStatsHelper.pingUsageServer > > > > (Unknown Source) > > > > at com.android.ide.eclipse.adt.AdtPlugin$12.run(Unknown Source) > > > > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) > > > > > On May 1, 7:03 am, csyperski wrote: > > > > > Has anyone been able to get the sdk version 1.5 to work with Ubuntu > > > > > 9.04 (64 bit)? I have tried the upgrade from and it fails with: > > > > > > Eclipse throws a "An SWT Error has occurred..." message then I get a > > > > > second dialog saying: > > > > > > pingUsageServer failed > > > > > > Android SDK Ping > > > > > pingUsageServer failed > > > > > > Anyone else getting this? I tried to do a reinstall of the sdk and > > > > > eclipse and I have the same issue. Everything worked great with SDK > > > > > 1.1 R1 > > > > > > Any help would be greatly appreciated! > > > > > > Thanks, > > > > > Chuck --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: About speech recognizer
No wonder the Voice Dialer never works for me :-/ -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Dave Sparks Sent: Tuesday, December 30, 2008 5:32 PM To: Android Developers Subject: [android-developers] Re: About speech recognizer There is no support for speech recognition in the current SDK. On Dec 29, 10:26 pm, michael wrote: > hi all >Does this ability is already provided now? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone Battery life
FWIW, I've found that if I use the G1 only as a phone, it lasts fairly long. In fact last time when I topped the battery off at 100% and removed it from the charger before I went to bed, it was at 99% 12 hours later when I checked it. So a pure standby-only time of 5 days seems fairly feasible to me given my experiences with my G1. But once you start opening up browser windows and turning on WiFi, it's easy to burn the battery down in just a few hours. This is on a non-Dev phone btw. From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of Disconnect Sent: Tuesday, December 30, 2008 11:21 AM To: android-developers@googlegroups.com Subject: [android-developers] Re: Android Dev Phone Battery life If you get really bad battery life, calibrate it. Drain it down until it absolutely won't boot. (Lower is better.) Then charge it -uninterrupted- for at least 8 hours (longer is better, up to about 24 hours..) The default charge calibration is worthless. On Mon, Dec 29, 2008 at 12:30 AM, victorcab mailto:victor...@gmail.com>> wrote: I've had a similar experience. 8 hours is normal with light use. On Dec 25, 9:51 am, albemuth mailto:albem...@gmail.com>> wrote: > I don't know if I screwed mine up (was using it during the first > charge), these last 2 days that I've been using it a lot I get 6 hours > at best :/ > > On Dec 22, 9:50 am, Michael > mailto:michael573...@gmail.com>> wrote: > > > Yeah, with light use, I charge ever 2 days. I generally plug it in > > every night, and only ran out once, right when it was new and I was > > showing it off constantly. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Android Dev Phone 1(tm)
I'm confused. Are you talking about the 6-pin/4-pin USB wire that doesn't fit? If that's what you're referring to, then you might want to try again. It does fit, although the at first glance it might not appear to. If you're talking about the wall-charger wire, I have no input for you on that one since I'm in the US and it fits perfectly. -Original Message- From: android-developers@googlegroups.com [mailto:android-develop...@googlegroups.com] On Behalf Of baker Sent: Friday, December 19, 2008 5:07 PM To: Android Developers Subject: [android-developers] Re: Android Dev Phone 1(tm) Sorry for the repost. Yes I can charge the phone with USB and yes the cable will connect to the wall with a converting. However always charging over USB isn't always convenient. However the socket to the phone is incompatible with the phone. It physically doesn't fit, different shape. Craig. On Dec 20, 10:02 am, baker wrote: > I received the phone last week but it came packaged with an incorrect > power cable. The cable doesn't connect to either my Australian wall > socket or the phone. That's right it isn't even compatible with the > phone. So what to do, brightstar and google have no contact > information should you have any problems with the shipment. None of > the emails from birghtstar have a support email. > > I've emailed both a brightstart email address from there web site and > a google market place email, but haven't heard from anybody after many > days. > > I just want a power cable for the phone, can anybody give me some > advice as to how I get these goons to send me the phone an equipment I > paid for. > > Thanks, > > Craig Baker. > > On Dec 11, 4:31 pm, kpowerinfinity wrote: > > > Same problem here. I placed an order, but the order doesn't appear on > > the Brightstar tracking page. It says that no orders have been placed. > > I have sent 3 emails to andr...@brightstarcorp.com but not received > > any useful replies. Anybody here knows how long it will take the > > phones to ship? > > > I am relying on somebody to bring the phone from the US to India for > > me ... and in fact I paid extra shipping to ensure it reaches in time. > > In case, they delay shipping too much, I would rather cancel the order > > because then I can't get the phone brought to India for me, but the > > customer services hasn't even replied. Anybody here can help? > > > Thanks, Krishna. > > kkme...@gmail.com > > > melp wrote: > > > I have the same issue. I placed an order twice on 8 Dec and got the > > > confirming email. Both times my credit card was charged(!) but my > > > orders disappeared off the tracking page. > > > > Customer service is non-existent. Repeated emails have not received > > > any replies and I have tried calling their number during their stated > > > operating hours but always get a recorded message that says they are > > > closed or serving someone else. > > > > Any google employees care to comment? > > > > On Dec 9, 9:33 pm, Logan wrote: > > > > Does anyone know more about this company, I placed an order and all I > > > > got was an e-mail confirming my order but no way to check shipping > > > > status, etc. Are these phones actually shipping now? > > > > > On Dec 8, 2:49 pm, Pastymage wrote: > > > > > > Does anyone have a more detailed FAQ than the text > > > > > onhttp://android.brightstarcorp.com/?Mymain concern is that GPS is > > > > > not listed anywhere in the hardware features - does it actually > > > > > support GPS, or not? > > > > > > Aside from that, I'm unclear on how the 3G bands work - what would > > > > > the actual bandwidth of this device be on AT&T, for example? > > > > > > -Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---