Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building 1 new APK #21

Closed
nomr72 opened this issue Dec 8, 2019 · 8 comments
Closed

Building 1 new APK #21

nomr72 opened this issue Dec 8, 2019 · 8 comments

Comments

@nomr72
Copy link

nomr72 commented Dec 8, 2019

Hi,

I haven't found how to build just 1 APK, or how to add an APK. How is this done?

I wanted to see if I could patch https://github.com/SubhamTyagi/Last-Launcher on my phone.

@SDRausty
Copy link
Owner

SDRausty commented Dec 8, 2019

@nomr72 try ~/buildAPKs/build.github.bash https://github.com/SubhamTyagi/

@SDRausty
Copy link
Owner

SDRausty commented Dec 8, 2019

Results for SubhamTyagi:
io.github.subhamtyagi.encryption.apk

Build time: 187 seconds

@nomr72
Copy link
Author

nomr72 commented Dec 9, 2019

It sounds like their encryption project builds, but Last-Launcher doesn't. Is there a way to build just one project, so as to retry a lot and hunt down how to make it work?

@SDRausty
Copy link
Owner

SDRausty commented Dec 9, 2019

I wanted to see if I could patch https://github.com/SubhamTyagi/Last-Launcher
Is there a way to build just one project

Here are a couple of methods to accomplish this. Both of these methods use git clone:

git clone https://github.com/SubhamTyagi/Last-Launcher
cd Last-Launcher 

Followed by this command:

~/buildAPKs/scripts/bash/build/build.in.dir.bash

build.in.dir.bash finds AndroidManifest.xml files and initiates a build with build.one.bash. Another method is to use build.one.bash in the folder where the AndroidManifest.xml files are. Alternatively, similar scripts can be found in the scripts/sh/build and scripts/zsh/build directories.

@SDRausty
Copy link
Owner

SDRausty commented Dec 9, 2019

Is there a way to build just one project, so as to retry a lot and hunt down how to make it work?

You can use tar to aid in iterating builds; tar zcf Last-Launcher.tar.gz Last-Launcher will create a backup. To untar, you can use tar xf Last-Launcher.tar.gz to recreate a pristeen copy of the Last-Launcher clone and retry making it work...

@nomr72
Copy link
Author

nomr72 commented Dec 9, 2019

Thanks sdrausty, those scripts were what I was looking for. I usually use git to clean stuff up, doesn't need to rewrite unchanged files like tar does.

@nomr72 nomr72 closed this as completed Dec 9, 2019
@SDRausty
Copy link
Owner

SDRausty commented Dec 9, 2019

You are welcome @nomr72. When you manage to build Last-Launcher please share here.

SDRausty referenced this issue in BuildAPKs/buildAPKs.github Mar 31, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Apr 1, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Apr 1, 2021
@SDRausty
Copy link
Owner

SDRausty commented Apr 1, 2021

I haven't found how to build just 1 APK, or how to add an APK. How is this done?

Command ~/buildAPKs/build.repo.bash was just added. It enables building just one repository. This command has been tested with https://github.com/search/ and https://gitlab.com/explore/ successfully.

EXAMPLE USAGE: build.repo.bash https://github.com/BuildAPKs/buildAPKs.entertainment

If you find repo candidates for inclusion, please share an address to the sourcecode here in this topic.

SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 1, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 2, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 2, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 2, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Apr 2, 2021
@SDRausty SDRausty pinned this issue Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants