How to compile the user version for Android 12?

156 views
Skip to first unread message

Jun Zhang

unread,
Aug 1, 2023, 12:38:33 PM8/1/23
to Android Building
How to compile the user version for Android 12 
When I was compiling the source code for the Android 12 system, I found that there was only a userdebug and no user was found. How should I add a user or compile the user version

Fabien Sanglard

unread,
Aug 2, 2023, 11:10:54 AM8/2/23
to android-...@googlegroups.com
When you select the lunch target, in the name, after the hyphen, you can add either "eng", "userdebug", or "release". 

I think by "user", you mean "release".

On Tue, Aug 1, 2023 at 9:38 AM Jun Zhang <ysgl...@gmail.com> wrote:
How to compile the user version for Android 12 
When I was compiling the source code for the Android 12 system, I found that there was only a userdebug and no user was found. How should I add a user or compile the user version

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
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 android-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/784025a3-188f-4cc2-84ef-0e68083c9201n%40googlegroups.com.

utz...@gmail.com

unread,
Aug 2, 2023, 11:12:43 AM8/2/23
to Android Building

You can lunch the same target with -user suffix. For example, if you lunch emulator_x86_64-userdebug to build userdebug variant ROM, and you can lunch emulator_x86_64-user to build user variant ROM. Don't worry if you can't see emulator_x86_64-user in the lunch list, you can lunch it direct.

Dan Willemsen

unread,
Aug 2, 2023, 11:18:23 AM8/2/23
to android-...@googlegroups.com
I think by "user", you mean "release".

Just to clarify, it is "user". There used to be a "release" vs "debug" choice too, but that hasn't existed or done anything for many years.

And yes, the list you see in the `lunch` menu is just a small selection of targets someone thought would be commonly used. The vast majority of the time I'd suggest just specifying what you want directly.

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
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 android-buildi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages