Android build old production version


#1

Hello,

I deploy my app to Amazon EC2 using https://github.com/arunoda/meteor-up .
Im following this step to do the build for mobile
meteor build --server=http://domain.com …/build
jarsigner -keystore app.keystore -verbose -sigalg SHA1withRSA -digestalg SHA1 android-release-unsigned.apk MyApp
~/Library/Android/sdk/build-tools/23.0.1/zipalign 4 release-unsigned.apk production.apk

The build is generated but the problem is that is building an older version. On iOS everything is good and take the latest version. But on android it generate an older version.
Also it ignore the version from mobile-config.js (0.5.0) it do 0.0.1 and any file that i remove are still added (images, fonts and audio files)

Anyone know what is going on?

Thanks


#2

I manage to fix it. The issue was that i add crosswalk to the app and was still making the unsigned.apk in the android folder i have remove the local folder and do the build again and i have use the one from the android/project/build/outputs/apk