Comments (6)
Comment by townxelliot from Tuesday Jan 07, 2014 at 11:26 GMT
Yes, this is an issue. The current version will only work with very recent xwalk android versions. I don't do any directory walking to find the library files (though it would be possible to change that: I do fall back to walking directories when looking for the Android SDK tools, for example).
I have reasons for not directory walking (e.g. if multiple .so files were in the app template, you would only want the one in the x86 directory, so you need to discriminate at least a little bit). But I raised another issue to suggest solutions so I can support multiple versions of xwalk-android: see #8.
The issue for the native libraries is that the Ant task needs to be passed the directory two levels up from the .so file, and I haven't done anything sophisticated enough to cope with that. Instead I look for a specific directory.
For the jar files, I could probably just search for multiple filenames and include any that match.
from deprecated-crosswalk-apk-generator.
Comment by townxelliot from Tuesday Jan 28, 2014 at 13:59 GMT
I've now added a comment that xwalk-apk-generator supports Crosswalk-4.
In future, if there's call for it, I will resolve #8 to provide support for multiple versions of Crosswalk.
If you have no objection, I will close this issue and consider it covered by #8.
from deprecated-crosswalk-apk-generator.
I am unable to get shared mode to work in crosswalk-5. Embedded mode works fine. Even after I install the related ./crosswalk-5.32.90.0-arm/apks/XWalkRuntimeLib.apk file on the device, the shared mode apk which is much smaller in size compared to embedded mode apk, fails to detect that the shared mode library is avaliable on the device. Is Crosswalk-5 supported and is there some specific issue with Shared mode?
from deprecated-crosswalk-apk-generator.
I've just tried creating a shared mode apk using this project, rather than the make_apk.py script (I'm not sure which you're using), with the same crosswalk version (5.32.90.0-arm). Shared mode works for me. If you are using this generator (rather than make_apk.py) and it's producing a non-working apk, please file a separate bug with more details and we'll try to help.
from deprecated-crosswalk-apk-generator.
I am using this generator I think. I have opened Issue29 with more information. Thanks
from deprecated-crosswalk-apk-generator.
The apk generator does support versions 4 and 5 of Crosswalk now. I'm closing this as there's no movement on the bug any more.
It should be possible to add additional search paths for libraries if they move directory or change name in future, as the code can support multiple search paths and will fall back to globbing if it can't find a particular file.
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.