reacct native preparing apk fails - android

I am in process of learning react-native, and in that regard, I initiated react-native default app, screenshots are attached.
I am struck at preparing apk via expo and react-native-cli both, when generating apk via exp it crashes on an android device whereas it works just fine in the browser, android, and ios simulators.
this is the error when exporting via react-native
I'm following this guidelines link https://reactnative.dev/docs/signed-apk-android
Any help or hint would be appreciated, thanks in advance

Related

EXPO Mobile app changes after installing generated APK

I'm building a EXPO app for iOs and Android.
When testing the application using the Expo Go app on the Android emulator everything looks as it should be. When I generate the APK and install this on the emulator the whole top get pushed down and a bar appear.
The Expo App
The APK version
Does anyone know what I need to do to fix this?

flutter apk test on my friends' android devices

I've finally completed building my own first flutter app, a lot thanks to SO. But I've still got an issue about testing my flutter apk in others' devices. So, finally i got 'app-release.apk', 'app.apk' and few more apk-related files. So excited, I sent those files to my friends, but friends told me that the app is well downloaded but not able to open it. So here's the question! Is there any additional essential commands to successfully open the apk file on real android device? If so, is there really no way to install and successfully open and use .apk or .aab flutter app in my friends' android device? I want to test my app in friends' device BEFORE google's review is done! Thank you in advance [:
Hey congratulations that you have completed the first app.
you have to run this command
flutter build apk --split-per-abi
this command gives your three apk file so you have to ask your friend that which processor he has. Depends on it you will give it.
<app dir>/build/app/outputs/apk/release/app-armeabi-v7a-release.apk
<app dir>/build/app/outputs/apk/release/app-arm64-v8a-release.apk
<app dir>/build/app/outputs/apk/release/app-x86_64-release.apk
Make sure your app is running perfectly in release mode as well
you can verify it via flutter run --release -v.
-v means verbose you can see the complete logs of your flutter app
I use VSCode so can't comment on AS. Basically though, to give your friends apks that they can side load on Android devices. In the terminal, first do a Flutter clean and when it completes execute 'flutter build apk --target-platform android-arm64'. The resultant app.apk in your outputs folder should be able to run on their devices.

Could Not Load App error APK Android React Native

So, I'm stuck with an error after generating APK with React-Native. I tried on multiple computers, 32-bit and 64-bit operating system and had no success.
How I got here
First, I created my app with
create-react-native-app suporteecontrole
Then I started developing my app, installing dependencies, and etc. After making sure that the APP was running without any errors, I ejected with the command line:
npm run eject
I've put my expo credentials and it worked without any errors too. I figured that it was going to work.
Generating APK's
To generate APK, i followed the instructions on this link:
React Native Build Signed APK
1 - I installed the JAVA 8 SDK, and all dependences too.
2 - I generated the Key by following the step one on the link.
3 - I changed all gradle files according to the link
4 - Then I runned this lines on cmd:
cd android
And
gradle assembleRelease
No errors popped up. I made it to the build successfully.
So, It generated some files: app-dev19-release.apk, app-dev-release.apk, app-devRemoteKernel-release.apk, app-prod-release.apk.
I installed app-prod-release.apk on my mobile, and returns an Expo error:
Could not load app
photo_2018-07-24_12-57-51
I searched Google for this, and found nothing.
Can anybody help me with this?
It is frustrating how the create-react-native does expo by default instead of normal react app. But you've already ejected from the expo app, and your code now wont be working on it.
Instead you'll see a new app on your phone with the name and icon you chose. Try to find the App and run it. And to assemble a release, you actually need to sign it too, so I hope you've done the signing right. Take a look at this https://facebook.github.io/react-native/docs/signed-apk-android.html for signing if you face that error.

Ionic package build android not working

I am trying to publish my app for Android and iOS using Ionic Cloud Package. When I do this I am successfully creating the .apk and .ipa but the app does not work on my device. However when I build the app for android using ionic build --release I am getting a working application. Why are these two methods behaving differently. I would like to use cloud Packaging. Because I do not have a mac. So Without it I cannot create an app for iOS.
You could use Phonegap Build for Building in the cloud.
This method requires you to install phonegap cli.

Phonegap 5.4.1 icons and build issues

I am developing an app using phonegap 5.4.1, I found out that there is a overall new documentation for adobe phonegap. I have gone through that and I have created the app using CLI as per documentation see the link below http://docs.phonegap.com/getting-started/3-create-your-app/cli/ and it has been created successfully. While running the app I have installed "Phonegap Developer App" in my device and through this app I can run my app. Check below
http://docs.phonegap.com/getting-started/4-run-your-app/cli/
Now my enquiry is, how can I store my app in the device, as its not getting stored anywhere and if I need to send apks to other device how can I accomplish that. Need help. Thanks a lot in advance.
You need to create an apk with the CLI
cordova build android --release
This will create a debug version that can be run on developer unlocked phones.
You'll need to sign it if you intend to upload it to the Play Store: Here

Categories

Resources