14

I want to compile all the GUI LineageOS apps and release their APKs.

To make them installable on other Android OS, I need to change the app ID. Otherwise Android would attempt an upgrade and fail because of mismatching keys.

For example the LineageOS Clock

There are many many files that refer to com.android.deskclock which I want to change to org.lineageos.deskclock.

Do I just need to change this line? And can I leave all the others normal?

I think I got build failures when changing more, and I wonder if I would need to change all the lines (using sed or something)

you are viewing a single comment's thread
view the rest of the comments
[-] huginn@feddit.it 2 points 5 months ago

I'm not seeing any build.gradle files so you wouldn't need to change namespace in those.

It looks like there's a build config file you might need to change but I'm unsure.

Ultimately you can pop open android studio and hit Ctrl+shift+R and replace all com.android.deskclock with org.lineageos.deskclock - that might be easiest. I'd do a Ctrl+shift+F for org.lineageos.deskclock first to be sure I don't have any clashing namespace but I think you're good.

this post was submitted on 07 Jul 2024
14 points (88.9% liked)

Ask Android

2243 readers
36 users here now

A place to ask your questions and seek help related to your Android device and the Android ecosystem.

Whether you're looking for app recommendations, phone buying advice, or want to explore rooting and tutorials, this is the place for you!

Rules
  1. Be descriptive: Help us help you by providing as many details as you can.
  2. Be patient: You're getting free help from Internet strangers, so you may have to wait for an answer.
  3. Be helpful: If someone asks you for more information, tell us what you can. If someone asks you for a screenshot, please provide one!
  4. Be nice: Treat others with respect, even if you don't agree with their advice. Accordingly, you should expect others to be nice to you as well. Report intentionally rude answers.
  5. No piracy: Sharing or discussing pirated content is strictly prohibited. Do not ask others for a paid app or about how to acquire one.
  6. No affiliate/marketing links: Posting affiliate links is not allowed.
  7. No URL shorteners: These can hide the true location of the page and lead people to malicious places.
  8. No lockscreen bypasses: Please do not comment, link, or assist with bypassing lock screens or factory reset protection.
  9. No cross-posting: Please take the time to make a proper post instead of cross-posting.
Other Communities

founded 1 year ago
MODERATORS