Comments (4)
It's likely you have some kind of jdk installed, otherwise you wouldn't have javac (to compile .java files), jarsigner (which make_apk.py uses), or tools.jar (which ant uses).
JAVA_HOME is usually necessary to tell Ant where your Java install is. There may be some other voodoo going on in your setup so that Ant can find Java, but if you install from a tarball (which is the most consistent way to do it cross-platform in my opinion) you have to set JAVA_HOME yourself.
I think the instructions suggest "Java JDK". It might be worth saying instead "Oracle JDK" (and remove the piece about JAVA_HOME) , then it doesn't matter how you set it up as long as it works. (And Ant can find it.)
The scripts do actually check whether you've got all the tools and they're all working before they will do a build, so you could just give it a go and see what happens :) Though they enforce the use of the Oracle JDK, as I've seen it mentioned that gcj doesn't work well with Android.
from deprecated-crosswalk-apk-generator.
It suddenly occurred to me to look in the most obvious place - since javac and jarsigner are both in /usr/bin - and indeed it is installed via dpkg :
ii oracle-java7-installer 7u45-0webupd80 all Oracle Java(TM) Development Kit (JDK) 7
I don't have JAVA_HOME set - obviously not needed for javac and jarsigner, but I'm not sure how it can find tools.jar (and my memory is telling me that this has been an issue for me in the past...).
I'll see how far I can get.
from deprecated-crosswalk-apk-generator.
Should we close this now, or do you think we need to add the links still?
from deprecated-crosswalk-apk-generator.
close, I think...perhaps it will end up in an faq at some point.
from deprecated-crosswalk-apk-generator.
Related Issues (20)
- How to avoid Access-Control-Allow-Origin error on Android? HOT 19
- Add a check that the outDir is not inside the appRoot
- output still too noisy/meaningless HOT 1
- Don't add arch to filename when in shared mode
- Modify extensions examples to use promises
- Refactor relationships between Env, App, BuildTools, AppSkeleton
- Refactor logging
- though xwalk_android_dl have default arch? HOT 1
- xwalk_android_dl doesn't work when output directed through a pipe HOT 1
- Clear up failed downloads if an error occurs HOT 2
- too many apks HOT 2
- 'version' is a mandatory parameter in xwalk_apkgen, should probably be optional HOT 2
- xwalk_apkgen fails on Mac due to ENAMETOOLONG error HOT 3
- Update to new download folders HOT 2
- update downloader to accommodate new download structure and arch-ind files. HOT 1
- Apk generated by the tool crashes HOT 5
- missing aapt.exe HOT 1
- Add support for generating an apk from a Crosswalk manifest via a --manifest option HOT 1
- Why was this abandoned in favor of make_apk.py? Feat req, sorta HOT 5
- How to add cordova plugin in Crosswalk python script
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 deprecated-crosswalk-apk-generator.