Hello, I have done some tricks to make build successful, let me share it with you guys.
*# Step 1. Fetch Android* repo init -u https://android.googlesource.com/platform/manifest -b android-q-preview-5 repo sync -cq *# Step 2. Fix Android* rm -rf cts/hostsidetests/jdwptunnel/ pushd frameworks/base git revert b39d83ebf002 --no-edit git revert 62af80f9c81d --no-edit popd pushd art git checkout android-o-mr1-iot-release-1.0.12 git revert 1389dd450eb --no-edit popd pushd external/f2fs-tools patch -p1 <<EOF --- a/Android.bp +++ b/Android.bp @@ -17,4 +17,5 @@ cc_defaults { "-Wno-sign-compare", "-Wno-unused-function", + "-Wno-string-plus-int", ], local_include_dirs: [ EOF popd *# Step 3. Prepare environment* source build/envsetup.sh lunch 1 *# Step 4. Update API information* make core-platform-api-stubs-update-current-api make api-stubs-docs-update-current-api *# Step 5. Build* make -j #### build completed successfully (44:05 (mm:ss)) #### On Monday, June 10, 2019 at 5:30:01 PM UTC+3, Varun Kumar wrote: > > Hi It's working with preview-1 but not preview 2 and preview 4. > > While building zndroid-q-preview-2.5 getting below error > > FAILED: out/soong/build.ninja > out/soong/.bootstrap/bin/soong_build -t -l > out/.module_paths/Android.bp.list -b out/soong -n out -d > out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o > out/soong/build.ninja Android.bp > *error: cts/hostsidetests/jdwptunnel/Android.bp:15:1: > "CtsJdwpTunnelHostTestCases" depends on undefined module "jdi-support"* > 21:27:19 soong bootstrap failed with: exit status 1 > > > On Friday, June 7, 2019 at 3:20:41 AM UTC+5:30, Glenn Kasten wrote: >> >> Reminder: see March 14 post. It still applies: >> >> *"This preview is not a full platform update and only for reference."* >> >> On Thursday, June 6, 2019 at 2:41:09 PM UTC-7, Paulo Costa wrote: >>> >>> Same problem here building Beta 4 (And beta 2.5 before) >>> >>> Did you ever figure it out? >>> >>> On Monday, May 20, 2019 at 12:30:07 PM UTC-3, Jean-Marc GRIMAUD wrote: >>>> >>>> Hi, >>>> I now try to build android-q-preview-2.5, and have the following error: >>>> error: cts/hostsidetests/jdwptunnel/Android.bp:15:1: >>>> "CtsJdwpTunnelHostTestCases" depends on undefined module "jdi-support" >>>> >>>> Any idea how to solve it ? >>>> thanks in advance ! >>>> >>> -- -- You received this message because you are subscribed to the "Android Building" mailing list. 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-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/16fb38a3-4bf4-42c2-a3da-55b420e099ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
