GithubHelp home page GithubHelp logo

Comments (14)

SDRausty avatar SDRausty commented on July 22, 2024

@Archangel45 can you be a little more specific please? What kind of problem do you have?

Calculating for /data/data/com.termux/files/home/buildAPKs...
  Results for /data/data/com.termux/files/home/buildAPKs.
  6 possible
  6 built
  2659 deposited in /storage/emulated/0/Download/builtAPKs/
  37 deposited in /storage/emulated/0/Download/builtAPKs/Entertainment20190202/

Releasing wake-lock: DONE

from buildapks.

Archangel45 avatar Archangel45 commented on July 22, 2024
buildAPKs buildOne.bash ERROR:  Signal 255 received!  See `stnderr*.log` files.
On Signal 255 try running buildOne.bash again; This error might have been corrected by clean up.  More information in `stnderr*.log` files.
Calculating for /data/data/com.termux/files/home/buildAPKs...
  Results for /data/data/com.termux/files/home/buildAPKs.
        6 possible
        0 built
  0 deposited in /storage/emulated/0/Download/builtAPKs/
  0 deposited in /storage/emulated/0/Download/builtAPKs/Entertainment20190203/

from buildapks.

Archangel45 avatar Archangel45 commented on July 22, 2024

Basically I can't compile

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

a) Can you share the error details?
b) What is the result of dpkg -s ecj?

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

@Archangel45 see whether running fix.ecj.error.bash which installs a working version of ecj helps.

You might also want to share your adventure https://github.com/termux/termux-packages/issues?q=is%3Aissue+ecj here too, especially termux/termux-packages#3157 here. Unfortunately, I cannot access those issues interactively due to the moderators, but you should be able to expand on this topic at Termux.

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

This 96c78ef commit, and the accompanying series of commits automates resolving an ecj error.

from buildapks.

HemanthJabalpuri avatar HemanthJabalpuri commented on July 22, 2024

@SDRausty I also have this error.
I observed your build.one.bash and noticed that
ecj -d ./obj -sourcepath . "$(find . -type f -name "*.java")" takes java files as single arg.
So it may give File /path/to/som/javafile /path/to/some/javafile error and quit.
Removing the quotes may fix it. ecj -d ./obj -sourcepath . $(find . -type f -name "*.java")

I modified your build.one.bash for learning purpose and stripped it heavily. (Attached)
build.txt

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

@HemanthJabalpuri thank you for your contribution; I shall attempt to integrate your comments with:
~/buildAPKs/scripts/build/build.github.bash HemanthJabalpuri

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

I modified your build.one.bash for learning purpose and stripped it heavily

Wonderful distillation 🎴 thank you 🌞

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

Removing the quotes may fix it. ecj -d ./obj -sourcepath . $(find . -type f -name "*.java")

resolved:
BuildAPKs/buildAPKs@4a6ee78
730063a

Thank you 😁 ⛵🎆 🍯🕯️

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

If package findutils is installed find ~/buildAPKs/sources/ -name "AndroidManifest.xml" -execdir ~/buildAPKs/scripts/sh/build/build.sh {} \; will attempt to build everything available in subdirectors. I hope you enjoy the addition to these projects. Beautiful two in one that you created @HemanthJabalpuri, build one && build all 🎇 🎆

from buildapks.

HemanthJabalpuri avatar HemanthJabalpuri commented on July 22, 2024

If package findutils is installed find ~/buildAPKs/sources/ -name "AndroidManifest.xml" -execdir ~/buildAPKs/scripts/sh/build/build.sh {} \; will attempt to build everything available in subdirectors. I hope you enjoy the addition to these projects. Beautiful two in one that you created @HemanthJabalpuri, build one && build all

May be below is just fine if we dont have findutils

for app $(find sources -name "AndroidManifest.xml"); do
    sh build.sh $(dirname $i);
done

Thanks for adding script to repo.

Edit:- Some of support library links
https://android-development-tools-offline.blogspot.com/p/download-android-support-library-offline.html?m=1

https://stackoverflow.com/questions/12518002/android-support-library-direct-link-for-downloading

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

Managed to drop -execdir from findutils with:

for i in $(find sources/ -name "AndroidManifest.xml") ; do build.sh ${i%/*} ; done

find -exedir can be substituted with xargs too. There shouldn't be a need for a loop with xargs.

from buildapks.

SDRausty avatar SDRausty commented on July 22, 2024

Thanks for adding script to repo.

You are welcome; My pleasure.

from buildapks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.