google changed lunching a little bit, instead of release variant "trunk" do 
"ap1a"
like this: sdk-ap1a-eng
________________________________
From: [email protected] <[email protected]> on 
behalf of Connor Tumbleson <[email protected]>
Sent: 14 May 2024 04:03 PM
To: Android Building <[email protected]>
Subject: [android-building] Struggling to build aapt/aapt2

Hi,

After my last sync I knew something was off - I missed the announcement of 
master to main. So I swapped out the entire tree and re-synced (-c -j8).

└─$ repo sync -c -j8
Fetching: 100% (1376/1376), done in 1m12.709s
Checking out: 100% (1376/1376), done in 21.502s
repo sync has finished successfully.

Once done I did my classic.

source build/envsetup.sh
m aapt
m aapt2

This failed immediately with

> build/make/core/release_config.mk:231: error: No release config set for 
> target; please set TARGET_RELEASE, or if building on the command line use 
> 'lunch <target>-<release>-<build_type>', where release is one of: next 
> protobuf_flags trunk
trunk_food trunk_staging.

So I thought I would do "lunch sdk-eng" which failed

Invalid lunch combo: sdk-eng
Valid combos must be of the form <product>-<release>-<variant>

So I try lunch sdk-trunk-eng which fails, so then I try and run "lunch" to 
figure out what I'm missing

└─$ lunch

You're building on Linux
Warning: Cannot display lunch menu.

I'm just lost - all I want to do is build aapt & aapt2 and I'm struggling.

--
--
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]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/6b54580a-8ee9-49ea-bdd9-3647430c6a3fn%40googlegroups.com<https://groups.google.com/d/msgid/android-building/6b54580a-8ee9-49ea-bdd9-3647430c6a3fn%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
-- 
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/TY0PR0101MB431097C71FBEB339332EA312A8E32%40TY0PR0101MB4310.apcprd01.prod.exchangelabs.com.

Reply via email to