Comments (14)
@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.
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.
Basically I can't compile
from buildapks.
a) Can you share the error details?
b) What is the result of dpkg -s ecj
?
from buildapks.
@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.
This 96c78ef commit, and the accompanying series of commits automates resolving an ecj error.
from buildapks.
@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.
@HemanthJabalpuri thank you for your contribution; I shall attempt to integrate your comments with:
~/buildAPKs/scripts/build/build.github.bash HemanthJabalpuri
from buildapks.
I modified your build.one.bash for learning purpose and stripped it heavily
Wonderful distillation 🎴 thank you 🌞
from buildapks.
Removing the quotes may fix it. ecj -d ./obj -sourcepath . $(find . -type f -name "*.java")
resolved:
BuildAPKs/buildAPKs@4a6ee78
730063a
Thank you 😁 ⛵🎆 🍯🕯️
from buildapks.
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.
If package
findutils
is installedfind ~/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.
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.
Thanks for adding script to repo.
You are welcome; My pleasure.
from buildapks.
Related Issues (20)
- Building APK HOT 2
- buildOne.bash --> Unbound "DAY" and "RDR"? HOT 7
- Java is missing HOT 6
- Request to add support for gradle project HOT 8
- some more apps and questions HOT 14
- BuildAPKs tots.bash EXIT: Signal 1 received by build.entertainment.bash! HOT 3
- error with buildMyFirstAPK.sh HOT 4
- Building 1 new APK HOT 8
- some error while building package HOT 2
- Lets bring The power of Pascal and Pandroid bundle to yours wonderful tool HOT 9
- Getting error when i am running zsh script (~/buildAPKs/scripts/bash/build/build.entertainment.bash) HOT 6
- seems broken HOT 5
- lets try to build Pandroid projects HOT 18
- Artifacts only for API 23.x are supported. HOT 15
- Can this app be built? HOT 3
- appcompat not working HOT 3
- Your moon.apk was copied to /sdcard/Download/moon.apk It is ready to be installed. Install moon.apk from /sdcard/Download/ using your file manager from Android HOT 3
- Not sure how to do this HOT 3
- Error building APK Neamar/KISS HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildapks.