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

Parsing Gradle Files for Dependencies #13

Closed
JanuszChmiel opened this issue Dec 7, 2019 · 28 comments
Closed

Parsing Gradle Files for Dependencies #13

JanuszChmiel opened this issue Dec 7, 2019 · 28 comments

Comments

@JanuszChmiel
Copy link

I AM aware, that it will not be easy. But unfortunately, more and more projects are Gradle based. And more and more project are bing used by Android studio, which uses specific folder structures of The project and in some cases, it is even not simply possible to build those Gradle based projects outside Android studio by only typing gradlew AssembleDebug or by typing similar command.
Yours approach is really revolutionar. Why? .dex files of Java source sample apps are very small. There is not app compat .jar library build as default and if projects allow this, The apps are really very small and memory efficient.
So.
How complex would be to compile Open JDK from source directly on Android devices. Or do you think, that even Gradle based projects would be compiled to apk with no need to use Open JDK or Android build tools?
You have collected many functioning Examples. It is Java code and I have tested apps and really, it work without issue.
So really, excellent project.

What do you thinkk about finding The algorithm for building even complex Gradle based projects?
Sure. Users who are using compatible kernel and non case insensitive file system can even install some Debian based distribution by using Proot and it is even possible to experiment with Android SDK for Linux by this way.
But yours project is more effective. It is not based on Proot so no next machine code retranslation. Faster execution of building of apks.
I Am ready to test and debug on this complex idea with you. Thanks to The opportunity to run Termux by using SSH protocol, I can debug and work by using Putty and NVDA screen reader. So even I do not see at all, I can constructively help.

Sure, I can not reformat my EXT4 partitions inside my phone so The file system of my device will stop to be file name case insensitive.
It is not possible without rooting and it would end with totally corrupted phone.
But I can debug by using Termux.
Yours project have even The potential to allow not only visually impaired Pascal developers to develop Pascal apps directly on Android device.
The potential is very big.

@github-actions
Copy link

github-actions bot commented Dec 7, 2019

Good issue; you are awesome person 😎 Keep up and follow to solve this one.

@SDRausty
Copy link
Contributor

SDRausty commented Dec 8, 2019

@JanuszChmiel gradle is available in TermuxArch on handheld. To install gradle in Arch Linux you can use: pc gradle after using setupTermuxArch.bash .

Screenshot_20191208-124924

BUILD SUCCESSFUL in 17s
1 actionable task: 1 executed

Parsing gradle files for dependencies can be added to BuildAPKs. FLIST has names of some of the configuration files not used to build APKs by BuildAPKs. How would you integrate these configuration files into the build process? Submit pull requests here and here regarding this issue.

@SDRausty SDRausty changed the title Try to add Gradle project support in future Parsing Gradle Files for Dependencies Dec 8, 2019
@SDRausty SDRausty added artifacts enhancement New feature or request labels Dec 8, 2019
@JanuszChmiel
Copy link
Author

JanuszChmiel commented Dec 8, 2019 via email

@SDRausty
Copy link
Contributor

SDRausty commented Dec 9, 2019

it will not be easy

Downloading dependencies like appcompat from https://mvnrepository.com into ~/buildAPKs/var/cache/lib is possible.

Commit 3d51ec2 automates loading artifacts from the ~/buildAPKs/var/cache/lib directory. This should ease processing dependencies.

@SDRausty
Copy link
Contributor

SDRausty commented Dec 9, 2019

ready to test and debug on this complex idea with you

@JanuszChmiel file opt/db/BNAMES with for NAME in $(awk '{print $1}' ~/buildAPKs/opt/db/BNAMES) ; do ~/buildAPKs/build.github.bash $NAME ; done is one of a few starting points. Enjoy 🌌 testing and debugging on this complex idea with me.

@SDRausty
Copy link
Contributor

@SDRausty
Copy link
Contributor

@github-actions
Copy link

Stale issue message

@JanuszChmiel
Copy link
Author

JanuszChmiel commented Oct 22, 2021 via email

@SDRausty
Copy link
Contributor

SDRausty commented Oct 22, 2021

Thank you very much for confirming orcaconf and sharing about its improved stability.

can you please share the commands, all of them up to this point?

I have been stuck because I can not download Build tools.

Can you please share all the commands that you used to install and configure the Android NDK and SDK up to the point in which you got stuck?

@JanuszChmiel
Copy link
Author

JanuszChmiel commented Oct 22, 2021 via email

@JanuszChmiel
Copy link
Author

JanuszChmiel commented Oct 22, 2021 via email

@SDRausty
Copy link
Contributor

Warning: Dependant package with key emulator not found!

I get the same error. I have also tried adb:
error: no devices/emulators found the errors might be related.

@JanuszChmiel
Copy link
Author

JanuszChmiel commented Oct 23, 2021 via email

SDRausty referenced this issue in shlibs/shlibs.sh Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.sh Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
SDRausty referenced this issue in shlibs/shlibs.bash Oct 24, 2021
SDRausty referenced this issue in BuildAPKs/buildAPKs.github Oct 24, 2021
@JanuszChmiel
Copy link
Author

JanuszChmiel commented Oct 26, 2021 via email

@github-actions
Copy link

github-actions bot commented Feb 1, 2022

old issue sanse activity message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants