How to build a React app without using Android Studio - javascript

I was able to run the React project on the Android emulator that came with Visual Studio 2022. At this point, I decided to generate an apk file, but due to the lack of Android Studio, there is no way to fully generate the apk file. How to assemble the project in this case?
To publish, the application needs to generate a key, at the key generation stage everything goes well. But due to the lack of configuration files and gradle itself, it is not possible to sign the application.

Related

Phonegap build final apk file locally without phonegap build website

I use Phonegap CLI to make my android apps every thing works fine, but when I want to make my final .apk I face a problem
I have SDK JDK Java and all environment variables
I generated my .keystore and when i run phonegap build --release i have no error my problem is this
there is no folder called bin or any .apk file in my folder
I red all documents and questions from stackoverflow and I still have this problem
what do you think? should i switch to cordova CLI ?
PhoneGap has been discontinued.
Switching to Cordova CLI is certainly an option, but many find that installing the build toolchain is a lot of trouble to get working (and keep working).
If you prefer the convenience of a build service like you had with PhoneGap, have a look at VoltBuilder, Ionic or Monaca.

I can not find "generate signed apk" in android studio after I load my source code

I got source code from my android developer, then I loaded it using android studio. There is no process sync, the code just loaded successfully.
After that, I tried to produce new APK. Unfortunately the tool does not appear in my android studio, but when I load different source code, the tool appears (generate a signed apk).
I already cleaned and rebuilt the project, but the result is the same. It's not showing generated signed apk.
I searched in build.gradle, inside app folder, and I also found this in configs:
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
rebuild the project
Doesn't generate a new singed APK. Go to > Build > Generate Singed Bundle/APK....
Be sure that you open project with your android studio well.
If it, not an android studio project. You should go to. File -> New -> Import Project...

how to generate apk or ios file of React Native project

I am building a RN project with "create-react-native-app" and "Expo". So how it is possible to run on Android & Ios device? How i can generate APK file? I am using sublime text 3 for writing code.
If you don't mind opening your app through the Expo app on real devices, all you need is to publish it onto the Expo ecosystem. Read more about publishing.
If you do mind that extra step and want to go the normal way, you need to create a standalone app for distribution:
When you’re ready to distribute your app to end-users, you can create
a standalone app binary (an ipa or apk file) and put it in the iOS App
Store and the Google Play Store. See the full guide to building a
standalone app.
Source

Build hangs in Tizen IDE 2.4

I am using Samsung Tizen IDE 2.4.0 Rev5 for building Apps for Samsung Tizen TV(emulator - version 2.4).
I created an App which plays video using HTML5 player.
I want to use video.js along with the HTML5 player for playing the videos. So I took it from:
https://github.com/videojs/video.js/releases (Version 5.10.1)
The issue which I am facing is that when I build the project, it (the build) hangs when it tries to build video.js. This happens every time. However, if I use video.min.js (which I believe is the obfuscated version of the same file) instead of video.js, I do not see any such build issue and I am able to run the project.
The tizen SDK is build on top on eclipse, so I checked the following question:
Eclipse building workspace hangs after importing existing maven project because of JavaScript validation
Where similar issue was faced and the solution was to disable javascript validation. However I checked my project files and javascript validation was anyway not enabled.
This could be an issue with R5. We have a product which builds fine with R3 & R4. When we upgraded to R5, the build would hang because of the size of our 'browswerified' client library file. When we rolled back to R4, the project built again. Samsung support has privately confirmed to me that they can reproduce the issue with our project.
I would encourage you to log a 'Q&A 1:1' through the Seller Office (http://seller.samsungapps.com/tv/portal/main).

Maintaining code base for Android/iOS Hybrid Applications

I am planning to develop hybrid application for Android and iOS using Angular,Phonegap etc.
My main query is how to maintain single code base for iOS/Android?
Q1:I execute cordova create command to create project for Android. and write one Hello World App.Do I need to do create project again in iOS and copy www?
Q2: How about maintaining single code in git ? I am confused since folder structure are different for Android and iOS ?
Any help is appreciated.
I have searched many blogs but didn't find the this concepts.
Just develop your code under project/www
cordova platform add android
cordova platform add ios
Will create both platforms, and with cordova prepare, and cordova build, it will copy the files to each platform
To maintain code, just add your project into a GIT, and both platforms project/platforms/[IOS/android] will be in the same project. You can also gitignore the platforms if you want to maintain light your project

Categories

Resources