React-Native
React Native & Android: "Failed to Install the App"
· Reading time: ~1 minute(s) (137 words) programming mobile android react-nativeI’ve been setting up a MacBook Pro to be able to work on a React Native mobile app and hit a stumbling block when running the Android app locally.
I had already installed all the relevant applications needed (Android Studio, a JDK etc.) but when I ran react-native run-android, it would give me the following error:
error Failed to install the app. Make sure you have the Android development environment set up
I tried a few different things until I came across a solution proposed by Menon Hasan on Stack Overflow where they proposed the following command to set the executable permission on the gradlew file:
Testing Mobile App in AWS Device Farm using Appium and Node
· Reading time: ~6 minute(s) (1185 words) programming javascript react-native aws nodeWarning: this post is quite code heavy as I offer our solution as an example
At work, we’ve been working on a mobile app for our customers. We’ve been looking at automated testing to interact with the app like a user would on a device and came across Appium and Detox as potential options that wouldn’t cost too much to run.
As we primarily worked on Windows machines, Detox was out of the running as it seems to be only guaranteed support on MacOS, so we started looking at Appium instead. AWS Device Farm supports this already, so this looked promising and a good place to start.
(Continue reading)