How to run ngCoradova github App? - javascript

I was just exploring the ng-coradova for ionic and came accross this, I'm not getting how to run this App in mobile to test the device Api's
Here is what i did.
Cloned and moved to WIP-coradovaReady-new branch
Went into the demo folder
did ionic platform add android
then ionic build android
The Apk was generated but no functionalities worked when I installed it in phone.
Can anyone pls help or guide If I'm missing anything
chrome remote debugging shows empty screen

Related

React native App fails to launch after buid

guys, I'm totally new here and I'm hoping I really get the help I need 🙏🏼
I built an apk package with eas build -p android --profile test, the build was successful. App installed successfully on mobile but it fails to open. once clicked, it just opens then immediately closes back.
I’m all new to expo and development in general.
I saw a documentation to run the app via npx expo start --no-dev --minify ; as this mimics production mode in local server. I did that and It returns a “uncaught error: java.lan.exception:failed to load all assests” I reloaded like 4 times and app opens fine after that. And does not bring the error again when I rebundle app.
However I have observed it brings the error (java.lang.exception:failed to load all assests) once everytime I stop and restart the expo server.
But app doesn't launch at all when I build to standalone.
Please help here, how do I fix this? 🙏🏼
This is the way I solved it
Follow the steps.
1.) Turn on USB Tethering & USB Debugging Mode in your mobile.
2.) Connect your mobile to your laptop through USB.
3.) Verify the connection options on your device, I just added WIFI bridge / I assume i the same as wifi debugging and then, restarted the device and run expo and it worked.
Above solution is worked for me.

Failed to launch emulator. Reason: No emulators found as an output of `emulator -list-avds`. , Failed to install the app

enter image description here
Im new to React-Native and this is driving me insane, I just want to launch the project in the and view the project in the emulator so I can just start coding, I have tried downloading the latest version of JDK, which is apparently not even needed since android studio comes bundled with its own version & also how do I know what version of JDK my android studio comes bundled with ?
I have been trying to fix this for days now, I even got Blue screen of death when after I messed around with the enviroment variables so now I am desperate and want someone to point me in the right direction.
React native install app on a single running device. Make sure your emulator is in running condition
check all connected devices which are eligible for installing using a command
adb devices
one device at a time
Please check your JDK path for android and ios, if all things are correct the see the project files in the project.
Then run your project.
I hope it runs.

Can't test my app on IOS using Expo.io. Cannot find module hashAssetFiles

I’m new to expo.io and I’ve created a simple app using Expo XDE. I’m using a windows 10 PC and testing via QR with an IPhone 6S and a Galaxy S8.
The problem is that I can’t test my app on the iPhone because it throws an error saying “Cannot find module project route/node_modules/expo/tools/hashAssetFiles. Meanwhile, on the Galaxy S8 works perfectly!
Error image here.
Does anyone know how can I solve this problem? Thanks in advance!
It seems this occurs when you don't have expo installed as a dependency in your node_modules and package.json, you have the wrong version of a package installed, or you have it installed in the wrong section. Make sure your expo dependencies are under dependencies and not under dev-dependencies.
Reference: Github Issue

Adding Cordova Platforms

Hey, Guys! I recently started to work with Cordova and when I run the Cordova platform add android i get the following error. I have successfully placed the environment variables for Java and for the Android SDK as well. But the npm modules does not exist in C:/Windows/System32/npm as shown in the error, It is in the Users/My username/AppData/Roaming/npm folder. Some guidance would be appreciated.
I followed the following scripts which are shown in the official Cordova documentation to create a new project.
Cordova create hello com.example.hello HelloWorld
cd hello
Cordova platform add android -> where I'm stuck at
Kindly Check the Android Version Provided by Cordova and verify with your current Android version installed on your system , if there a mismatch :
1) Update Android Version From Android Studio SDK Manager
2) Update Cordova Platform - Refer: Cordova Documentation
External Source
cordova - Error: Failed to fetch platform android
I figured out halfway what the the problem was. There was a file named 'npm' in my C:/Windows/System32 directory wich was of 0kb size, and once i deleted it, the error vanished. But not all the way though. I was able to install the browser platform but not the android platform via cordova platform add android or even specifying what the matching cordova-andriod pluggin to be with cordova platform add andriod#version.
Only through the cordova platform add https://github.com/apache/cordova-android.git script I could install the andriod platform and once it was done other steps worked fine, and the project ran through the Android AVD. Any idea why the normal command to add the android platform didnt work, Just want to know but if it happens again i think Im gonna have to run the get from git command again. Thanks

Cannot read property 'Constants' of underfind

I have tried to integrates react-native with an existing android app.I followed Official guide.When everything was done. I started the development server then run my android app.I got the following error.
In genymotion
In chrome console.
How to solve this problem.Thanks for any suggestion.

Categories

Resources