you can type :

make

在 2010年3月20日 下午12:02,a a <[email protected]> 写道:
> 明峰,
>
>      I'm harvey....
>
> 2010/3/20 M.F.Wu (吳明峰) <[email protected]>:
>> Hi SN,
>> Do you use VM?
>> If yes, try to increase the memory for your VM (>= 1024mb).
>>
>> 2010/3/9 SN <[email protected]>
>>>
>>> This is my update. Today i update the repositoy. Did the following:
>>>
>>> source build/envsetup.sh
>>> lunch sdk-eng
>>> make sdk
>>>
>>>
>>> It built for a while and failed at the unit test:
>>>
>>> collected 3102 test methods in 225 junit test classes
>>> Exception in thread "main" java.lang.RuntimeException: failed to parse
>>>        at
>>> util.build.BuildDalvikSuite.parseTestMethod(BuildDalvikSuite.java:
>>> 734)
>>>        at
>>> util.build.BuildDalvikSuite.handleTests(BuildDalvikSuite.java:359)
>>>        at util.build.BuildDalvikSuite.compose(BuildDalvikSuite.java:170)
>>>        at util.build.BuildDalvikSuite.main(BuildDalvikSuite.java:136)
>>> Caused by: java.io.FileNotFoundException: cts/tools/vm-tests/src/dot/
>>> junit/opcodes/rem_long_2addr/Test_rem_long_2addr.java (Too many open
>>> files)
>>>        at java.io.FileInputStream.open(Native Method)
>>>        at java.io.FileInputStream.<init>(FileInputStream.java:106)
>>>        at java.io.FileReader.<init>(FileReader.java:55)
>>>        at
>>> util.build.BuildDalvikSuite.parseTestMethod(BuildDalvikSuite.java:
>>> 710)
>>>        ... 3 more
>>> make: *** [out/host/linux-x86/obj/EXECUTABLES/vm-tests_intermediates/
>>> tests] Error 1
>>>
>>>
>>> Does anybody know how to fix it or disable unit test during building?
>>>
>>>
>>> Thanks,
>>>
>>> On Mar 8, 10:14 am, SN <[email protected]> wrote:
>>> > The above error of AlarmClock is caused by my download is corrupted.
>>> > After delete everything and start a new download again. It passed that
>>> > error but another error showed up:
>>> >
>>> > Docs droiddoc: out/target/common/docs/services
>>> > javadoc: error - In doclet class DroidDoc,  method start has thrown an
>>> > exception java.lang.reflect.InvocationTargetException
>>> > com.sun.tools.javac.code.Symbol$CompletionFailure: class file for
>>> > sun.util.resources.OpenListResourceBundle not found
>>> > 1 error
>>> > make: *** [out/target/common/docs/services-timestamp] Error 45
>>> >
>>> > Can anybody help me fix this error? This is an straight download from
>>> > repository and i can't get it build successful.
>>> >
>>> > Thanks,
>>> >
>>> > On Mar 6, 2:36 am, SN <[email protected]> wrote:
>>> >
>>> > > Thanks Xavier! It is working. However thebuildfails at this step:
>>> >
>>> > > Install: out/target/product/generic/system/app/
>>> > > AccountAndSyncSettings.apk
>>> > > target R.java/Manifest.java: AlarmClock (out/target/common/obj/APPS/
>>> > > AlarmClock_intermediates/src/R.stamp)
>>> > > packages/apps/AlarmClock/res/values-el/strings.xml:44: error: Error
>>> > > parsing XML: not well-formed (invalid token)
>>> > > make: *** [out/target/common/obj/APPS/AlarmClock_intermediates/src/
>>> > > R.stamp] Error 1
>>> >
>>> > > It looks like the strings xml for AlarmClock is not correct. Is there
>>> > > a fix for this xml or mybuilddoesn't set up correctly?
>>> >
>>> > > Thanks,
>>> >
>>> > > On Mar 4, 7:17 pm, Xavier Ducrohet <[email protected]> wrote:
>>> >
>>> > > > use "lunchsdk-eng" followed by "makesdk"
>>> >
>>> > > > On Thu, Mar 4, 2010 at 6:48 AM, SN <[email protected]> wrote:
>>> > > > > Can anybody help mebuildingAndroidSDK? I followed all the steps to
>>> > > > > download AndroidSDKand when I try tobuildit. I got error. Here is
>>> > > > > all my step ofbuildingit.
>>> >
>>> > > > > $ sourcebuild/envsetup.sh
>>> > > > > including vendor/aosp/vendorsetup.sh
>>> > > > > $ lunch 1
>>> >
>>> > > > > ============================================
>>> > > > > PLATFORM_VERSION_CODENAME=AOSP
>>> > > > > PLATFORM_VERSION=AOSP
>>> > > > > TARGET_PRODUCT=generic
>>> > > > > TARGET_BUILD_VARIANT=eng
>>> > > > > TARGET_SIMULATOR=false
>>> > > > > TARGET_BUILD_TYPE=release
>>> > > > > TARGET_ARCH=arm
>>> > > > > HOST_ARCH=x86
>>> > > > > HOST_OS=linux
>>> > > > > HOST_BUILD_TYPE=release
>>> > > > > BUILD_ID=MASTER
>>> > > > > ============================================
>>> >
>>> > > > > $ make
>>> > > > > ============================================
>>> > > > > PLATFORM_VERSION_CODENAME=AOSP
>>> > > > > PLATFORM_VERSION=AOSP
>>> > > > > TARGET_PRODUCT=generic
>>> > > > > TARGET_BUILD_VARIANT=eng
>>> > > > > TARGET_SIMULATOR=false
>>> > > > > TARGET_BUILD_TYPE=release
>>> > > > > TARGET_ARCH=arm
>>> > > > > HOST_ARCH=x86
>>> > > > > HOST_OS=linux
>>> > > > > HOST_BUILD_TYPE=release
>>> > > > > BUILD_ID=MASTER
>>> > > > > ============================================
>>> > > > > ***Buildconfiguration changed: "generic-eng-sdk-{mdpi}" ->
>>> > > > > "generic-
>>> > > > > eng-{mdpi}"
>>> > > > > *** Forcing "make installclean"...
>>> > > > > *** Done with the cleaning, now starting the realbuild.
>>> > > > >build/core/base_rules.mk:117: ***sdk/archquery/src:
>>> > > > > MODULE.HOST.JAVA_LIBRARIES.archquery already defined by
>>> > > > > development/
>>> > > > > tools/archquery/src.  Stop
>>> >
>>> > > > > I tried with 'makesdk' also but got the same error. Does anybody
>>> > > > > know
>>> > > > > how to fix it?
>>> >
>>> > > > > Thanks,
>>> >
>>> > > > > --
>>> > > > > You received this message because you are subscribed to the Google
>>> > > > > Groups "Android Developers" group.
>>> > > > > To post to this group, send email to
>>> > > > > [email protected]
>>> > > > > To unsubscribe from this group, send email to
>>> > > > > [email protected]
>>> > > > > For more options, visit this group at
>>> > > > >http://groups.google.com/group/android-developers?hl=en
>>> >
>>> > > > --
>>> > > > Xavier Ducrohet
>>> > > > AndroidSDKTech Lead
>>> > > > Google Inc.
>>> >
>>> > > > Please do not send me questions directly. Thanks!
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Android Developers" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>> To unsubscribe from this group, send email to
>> android-developers+unsubscribegooglegroups.com or reply to this email with
>> the words "REMOVE ME" as the subject.
>>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to