Building android source for the first time on new machine java version error,

by MCON Dev » Sat, 27 Feb 2010 12:41:47 GMT


Sponsored Links
 Issue 1 : Error : Your version is: java version "1.6.0_0". The correct
version is: 1.5.
Should I downgrade java ?

Issue 2 : I was unable to process gpg --import for some reason it hung for a
very long time, or never prompted me for the key. I then pasted the key to a
file key.asc and ran gpg --import key.asc, Error : "no valid OpenPGP data
found."

The source.android.com/download needs a bit of improvement. It would be good
if you did not assume repo and git knowledge (80% of my audience during
trainings). I request that you change just these few lines to ensure that it
builds more easily.

Please help
mConDev Team

--



Other Threads

1. OOT: Benchmark minggu pagi

mengerikan  bro....ini nexus ato ferrari?? mantabb..... ;)




As attach....

:))

~A-Sty
neXus oNe with FROzen YOughurt......
Powered by RodriguezStyle v2.3+ovuc1267

-- 
"Indonesian Android Community [id-android]"

2. onKeyDown not being called in TabActivity



Do not use Activity as simply a means of code organization. You waste
RAM, increase the odds you will run into stack-overflow errors via
your use of activities in tabs, and so forth.


Just because some collection of code *can* be used as an Activity *in
some cases* does not mean it has to *always be used as an Activity*.
For example, you could use a custom View class, reused as a tab in one
setting and as the main content view of an Activity in another
setting.


I suspect that may be intercepted by the framework between TabActivity
and your child Activities, because it is expecting to delegate that to
the currently-active child Activity via the normal option menu
methods. That is just a guess, though.

You could try intercepting the key in the child Activities. Then, if
getParent() is not null, they know they are children in the
TabActivity and can call some method on that TabActivity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1
Available!

-- 

3. Is it possible to wake the device with : PowerManager.WakeLock.acquire()

4. Meeting Point @WonderGirls

5. creating and opening sqlitedb on sdcard for api7

6. what kind of Android Virtual Device can be used as the emulator for ADP2

7. CyanogenMod 5.0.8 for Nexus One STABLE!!