Upload ipa and apk after build to s3 using teamCity - android

I would like to upload my ipa and apk to s3 bucket using team city...
My app builds with react native and for iOS Im using Xcode and for android I'm using Gradle and visual studio code
For example: I would like after I'm doing cd android && ./gradlew assembleRelease in the cmd so the app builds for android and when it done to upload the apk which created to my s3 bucket using team city. (same with Xcode after pressing the play button)
I have been trying to find a good guide to explain me how to do it but I couldn't find a guide that will satisfy me...
I would like to get some help and to know my options
Thank you

You can set up an external S3 artifacts storage in TeamCity and publish necessary files as artifacts in General build configuration settings. TeamCity will automatically publish data to the configured bucket at the end of the build.

Related

What is the difference between apk built in ci/cd on gitlab and one built in Android studio

I have an Android project and it's on gitlab with ci/cd configured according to this article
https://about.gitlab.com/blog/2018/10/24/setting-up-gitlab-ci-for-android-projects/
I build debug version of the app both on gitlab and in Android Studio
The apk files are different, although their content are identical. The gitlab apk doesn't install on the phone(the play market protection error). The Android studio file does install on the phone.
Is there any meta data in jar (zip?) files? From what I see (by looking at the Meta-Inf folder) both are not signed. What could be the difference between them?
Please advise

Android Teamcity Setup

I am trying to setup Android build in Teamcity. I have some doubts about setting up the CI. Apologies for Naive questions
Where to install the Android SDK and JAVA_11. Tamcity server or Build Agent?
How to handle builds for different app flavors?
How do I generate .aab file for prod?

Generate apk file from playground online

I have written a small test app on nativescript playground online, and I want .apk file of it. Is there any online tool to generate .apk file from playground, instead of having to install tns and run 'tns run'/'tns debug'/'tns build' on my local machine ?
No, it's not possible to generate APK from Playground.
If you don't want to setup Android SDK locally, you may try cloud build option but at least that requires NativeScript CLI / Sidekick setup on your local machine.

Phonegap remote build

I'm developing app in Sencha touch(Touch 2.4 && CMD 5) and packaging using Phonegap/Cordova for Android and iOS. I'm developing on windows machine with Android device(HTC) and iOS device(iPhone 5).
Initially i packaged the app with cordova, and with limitation of iOS build i keep working for Android build only. I added 5 plugins (Facebook, Network Information, Camera, FIle Transfer, Email Composer) using cordova and all working fine for android build. My latest Android apk file size is 3.8 MB.
Now i need to build iOS ipa as well, so i opted "Phonegap Remote Build Service" option. I clone my Sencha touch project and packaged it to Phonegap, added all plugins, mention the iOS platform in app.json and set remote true and add local.properties file with email and password set of paid adobe phonegap account. When i execute command "sencha app build native" , it did everything right but gave error of "Invalid email or password". Then i went for other option, i made zip file of phonegap folder and uploaded manually, and build on Adobe Phonegap Build portal, it provided me both the builds but with one big issue of huge size. Both files(apk, ipa) reached 37-40 MB.
Now i need help of different options which i can take(Other than iOS machine), how i can minimize the size of files. As locally cordova packaging providing me very lightweight apk file. If I'm doing something wrong in Phonegap packaging, please mention it.
Thanx in advance.
When you say manuall upload turns zip size to 37 - 40 MB ,i think it must contain library folder as well .
for Invalid email or password : - there must be some typo mistake only this is possible scenario i could think off.
Thanks

Android build not generating, after submitting iOS app to AppStore : Is there limit for phonegap build compilation?

I already submitted iOS app to AppStore which is developed by using Phonegap Build. After that when I went to compile Android app version from Phonegap build, it is not completing [as we can see screen shot] For your information, both Android and iOS version app has got same package name. The zip file uploaded completely, and clicked on "Ready to build" button. The build is not generating/completing even after 15min.! as you can see in below screen shot.
Any quick solution ?
/***** UPDATE ******/
Now I am able to compile build through friend's github account, but not with mine! IS THERE ANY NUMBER LIMIT FOR THE BUILD COMPILATION IN PHONEGAP BUILD ??
Thanks and Regards,
iOS submission to AppStore has nothing to do with the Android build.
As I can see you are using PhoneGap.
Is the iOS version building and the Android not building?

Categories

Resources