
#Taskly app apk
To build and apk that does not need a Javascript server to connect to, run the following commands: This error may pop up in the console when running yarn start or yarn android:ĭistributionUrl=https\:///distributions/īuilding a Release build for Android (apk) In certain environments, there may be an issue with the Gradle version number. In the console run yarn android and the application should be installed to your phone.įor running the app on a real device do the same steps as above, but instead of opening the simulator connect your phone with USB to your computer and make sure you have enabled USB debugging.Open a simulator in Android Studio by clicking on the phone in the top bar and then selecting the phone and clicking the launch button.Start the react-native dev server by running yarn start.

Specify the location of the Android SDK by making a new file local.properties in the root of the android folder with the contents (for Macs): sdk.dir = /Users//Library/Android/sdk or the path that the Android SDK was installed for your device.Click the phone icon on the top right and add a virtual device to test with a simulator.If there is an "Upgrade Gradle" dialog that pops up, DO NOT do this.

