Kivy buildozer 64 bit apk not being accepted by google play store - kivy

Google Play Store was not accepting my 32 bit apk. So I followed the instruction from this link https://github.com/kivy/python-for-android/issues/1519 to change the android.arch to arm64-v8a in the buildozer spec file.
I did exactly that. Here are all the steps that I took:
1. Change android.arch from armeabi-v7a to arm64-v8a. Save the spec file.
2. Run sudo buildozer android release . Get an unsigned apk file.
3. Run zipalign -v -p 4 kindact-0.1-release-unsigned.apk kindact-0.1-release-unsigned-aligned.apk to get an aligned apk.
4. Copy that file along with the key file into a folder contained apksigner.
5. Run sudo ./apksigner sign --ks my-release-key.jks --out kindact-release.apk kindact-0.1-release-unsigned-aligned.apk to get a signed apk.
6. Upload that file to the App Releases in Google Play Store.
I get the same error "This release is not compliant with the Google Play 64-bit requirement.The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 7212." as in the 32 bit version, before editing the buildozer spec file.
On the same Google Play Store page, I click on the dropdown of the apk and the Native platforms is still showing armeabi-v7a.
I try uploading 1 32 bit apk and 1 64 bit apk as suggested here Kivy and Google Play 64-bit but still get the same error.
What did I do wrong? Please help.

Related

Alternative for hybrid web app without knowledge in app/server

i used to upload my ZIP (with HTML5/CSS web app) in phonegap since 4, 5 years and create cool mobile apps. But since some months it's look like Adobe dismiss the project, no more answer on forum etc.
Is there a good solution, when you don't know everything about shift/cocoa/java and server things, to simply upload your webapp (basically a website in a zip) and get IPA/APK ?
I heard about monaco or voltbuilder. Thanks
Not really. Although I can confirm https://build.phonegap.com works for me. If you have an error related to a malformed xml, you can try to delete the project on the website and re-uplading the zip file onto a new project. That's a bug I have experienced in the past.
Otherwise, you can install Cordova and Phonegap on your pc to build it using npm on the terminal (Linux/MacOs).
$ sudo npm install -g cordova
or for windows (CMD):
C:\> npm install -g cordova
then navigate with the command line using cd to go to a folder
eg. cd myfolder.
You can see the files in your current directory with ls (Linux/MacOs) or lsdir (windows)
Once you are in your project's folder and that you can see with lsdir or ls your config.xml file of your project, then you can run those commands to add the platform you want to build:
cordova platform add ios
cordova platform add android
Finally to build the app, you need to:
cordova build
Note: To build an Ipa, you will need to use a device running MacOs since it requires XCode. I highly recommand you to get familiar with Cmd or the terminal if you are building an app.
I hope I have answered your question well

Submit iOS Build to Facebook from Xamarin.Form

I made a Cross platform app using xamarin form , I uploaded the android version to Facebook review team and I need to do the same for the iOS version, the instructions says you need to zip the file by using:
ditto -ck --sequesterRsrc --keepParent `ls -1 -d -t ~/Library/Developer/Xcode/DerivedData/*/Build/Products/*-iphonesimulator/*.app | head -n 1` path/to/YourApp.zip
to zip the build found in Xcode derived data , anyway my Xcode derived data doesn't contains the Build folder(that's because I am using Xamarin?) referred in the comand line, what i have to do? I didn't found any tutorial to achieve this in xamarin form.
It seems the code above wants to compress a set of .app files. You could find the files under Xcode/DerivedData if you use XCode to build the project. But if you use Xamarin to develop applications, there won't be corresponding files in the folder.
However, you can find the files in the path: YourProjectPath/bin/iPhoneSimulator/Debug. Then at last, you could make the .zip file using the path above.

How to generate ionic apk or ios without extra applications?

Is there any ways to generate apk or ios file with using only node.js ?
most of solutions doesn't work or need some addition applications to build the application as apk/ios.
The solution of generating our application as "apk" or "ios" are so easy and fast and first of all open cmd screen with path of your application by using "shift + right click" on any place of your app folder > "open command windows here" and follow the steps
For APK, enter:
ionic package build android
For IOS, enter:
ionic package build ios
This process will take few minutes (just wait until the end)
Next step To download our apk/ios file, just enter:
ionic package download
when downloading completed, you will find the apk/ios file in the same path of your application
Very important note: sometime downloading process will display error message such as "your application not ready to download".
The solution very simple, just try to wait one or two minutes and re-write downloading command.
Finally, These commands tested on Ionic 2 so I'm not sure if its works with other Ionic versions.

The binary being analyzed must be an executable trigger.io

This seems to be a proble with permissions on how forge packages the IPA ( wild guess )
anyhow I also found that phonegap build users are having the same issue
I'm using Windows.
It looks like Apple might have changed their validation for IPA files, Trigger will have to look into this and update the way IPAs are created.
In the mean time IPAs are actually just zip files, you should be able to unzip it, make the Forge binary executable and zip it back up. I've not tried this so it might not work, but its worth a try until there is a better fix.
To do so using a command line on a mac you should be able to run the following commands (I assume you have access to a mac to use application loader). bad.ipa is the ipa file you tried to submit which didn't work, and good.ipa is the resulting ipa file which you should hopefully be able to submit.
unzip bad.ipa
chmod a+x Payload/device-ios.app/Forge
zip -r good.ipa Payload
You need to give executable permission mentioned file trigger.io
This is what i did when i have same issue with google Admob library
chmod +x libGoogleAnalytics_debug.a
and compile again and upload ipa back to itunes connect.

How to generate PKCS7 format signature using IOS iphone SDK?

I could Generate PKCS1 formatted raw signature.. and was able to verify it even.
But could not find the resource to generate PCKS7 Formatted Signature using IPHONE IOS SDK.
I need to sign a simple text message.
Which library I have to use?
Can we use openssl for this? if yes? then how to include it in the XCODE library framework?
Pls help out.
Yes you can use openssl for this, however you will need to compile it yourself and link your App against the static library. If you want to run it in both the iPhone Simulator and a real iPhone Device (you do), you'll need to create a 'fat' library containing both armv7 and i386 architecture code. If you want to support iPhone 3 instead then you'll need to include armv6 architecture code. It's best therefore to build the library with all 3 architectures.
Here's a couple of resources that describe how to build openssl for iOS:
http://atastypixel.com/blog/easy-inclusion-of-openssl-into-iphone-app-projects/
https://github.com/st3fan/ios-openssl
EDIT: I actually modified st3fan's build script, which I have pasted here:
setenv.sh and build_openssl.sh
Download these scripts and keep them somewhere like ~/bin (review them and then chmod them 0755 once you are sure they are not malicious).
Next edit setenv.sh as it assumes there is a directory where you will install your 3rd-party libraries. By default this is /opt/local/ioslibs so make sure that exists and is owned by you else the final bit will fail. It's been configured for Xcode 4.2/iOS SDK 5 using the default locations so that might need correcting too.
build_openssl.sh is configured to build a specific version of openssl (1.0.0e) and will download the source tarball if it's not in the current directory (you need wget for that, but if you cannot be bothered to install wget then manually download it using the link within the script). When you run it, it will build the library in armv6, armv7 and i386 arch's and copy the correct files to the installation directory.

Resources