mbuchalik / cordova-build-architecture Goto Github PK
View Code? Open in Web Editor NEWForce Cordova to build for arm or x86
License: MIT License
Force Cordova to build for arm or x86
License: MIT License
When using npm to install cordova-plugin-build-architecture, somehow it's not the last release (1.0.4) that adds support for cordova-android >= 7.
Is there any way to make it work with multiple builds such as arm + arm64, instead of just one?
Something like <preference name="buildArchitecture" value="arm,arm64" />
, or maybe <preference name="buildArchitecture" value="arm64,x86_64" />
FYI I added this plugin to the npm registry so it is easier to install : https://www.npmjs.com/package/cordova-plugin-build-architecture
Hi!
via npm I don't see any changes for android v7+... can you synchronize repos/releases?
Hello! Thanks for this awesome library!
I am trying to build both 32-bit APKs and 64-bit APKs and upload them to Google Play. In order for Google Play to allow this the 64-bit APKs must have a higher versionCode
than the 32-bit version.
I am finding something very strange with Android versionCode
s. My app has a version code of: 2320202
.
When I build the 32-bit arm7, and upload it to Google Play, I see that the Version Code on Google Play is 23202022
. Not sure why there is an extra 2
on the end, but whatever...
Then I build the 64-bit arm7, and upload it to Google Play. I see that the Version Code on Google play for that APK is 2320211
. It replaced the last two digits with 11
???
The problem is that I can't get the version code for the 64-bit builds to be higher than the 32-bit build because of this issue.
Do you know what is happening here?
Thank you!
I went ahead and made 64-bit versions of my application and just assumed crosswalk worked with those architectures. I just saw a post on another issue that says it doesn't work. Unfortunately, I don't have a 64-bit device to actually test it. Has anyone confirmed one way or the other whether crosswalk works in x86_64
or arm64
? The size of my apk files implies binaries are included.
"cordova": "^8.0.0"
"cordova-android": "^7.1.1"
`* What went wrong:
A problem occurred evaluating script.
/Users/dev/JenkinsHome/workspace/Bayam/_DEV/AppBayam/cordova/platforms/android/app/res/xml/config.xml (No such file or directory)`
I think something changed on cordova-android 7.1.1 (path of app - src).
Hello,
It is a way to ask multi output architecture ?
For my projects, i have to use x86_64 + arm64. I have to build 2 times, with diferent arch preference.
The idea is to can buils 2 arch apk simulaneusly.
nota : it's for a xwalk plugin.
apparently there have been path changes in the latest crosswalk version and this plugin is looking only for the old version
Here's the change made: crosswalk-project/cordova-plugin-crosswalk-webview@3f43da9
I have zero knowledge of gradle or I'd attempt some sort of PR, but is there a way to try reading the new XML path and then fail over to the old if not found?
I have got an error during the Android build.
A problem occurred configuring root project 'android'.
All flavors must now belong to a named flavor dimension. Learn more at https://d.android.com/r/tools/flavorDimensions-missing-error-message.html
I've added plugin for providing 64 bit architecture for my project
I've added preference in my config.xml file
<preference name="buildArchitecture" value="arm64" />
when trying to build with new PGB and phonegap 7.0.1
it appears that pgb doesn't recognize arm or x86 architecture.
it builds an APK with the 2 versions inside.
is it possible for you to check what changes they made ?
thanks !
I use your project but get 1.0.6 version, but this version doesn't build because not find config.xml
https://www.npmjs.com/package/cordova-plugin-build-architecture
i think this bellow fix but in the last version doesn't have this code
if (file('src/main/res/xml/config.xml').exists()) {
// Cordova-android >= 7
file_content = file('src/main/res/xml/config.xml').getText()
} else {
file_content = file('res/xml/config.xml').getText()
}
@MBuchalik Thank you for this excellent pluign.
Please is it possible to add a preference to support x64 (64bit) apk builds?
Thank you so much
please .
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.