Flexbox float right

Use justify-content: space-between it will push elements to the sides: Expand snippet Refer to this amazing tutorial to easily understand how flex box behaves: https://css-tricks.com/snippets/css/a-guide-to-flexbox/

Unable to load script from assets index.android.bundle on windows

I’ve encountered the same issue while following the React Native tutorial (developing on Linux and targeting Android). This issue helped me resolve the problem in following steps. (in project directory) mkdir android/app/src/main/assets react-native bundle –platform android –dev false –entry-file index.js –bundle-output android/app/src/main/assets/index.android.bundle –assets-dest android/app/src/main/res react-native run-android You can automate the above steps by placing them … Read more

React Native: JAVA_HOME is not set and no ‘java’ command could be found in your PATH

I’ll answer my own questions and sponfeed my fellow linux users: 1- To point JAVA_HOME to the JRE included with Android Studio first locate the Android Studio installation folder, then find the /jre directory. That directory’s full path is what you need to set JAVA_PATH to (thanks to @TentenPonce for his answer). On linux, you can set JAVA_HOME … Read more

Failed to find Build Tools revision 23.0.1

I faced the same problem and I solved it doing the following: Go to /home/[USER]/Android/Sdk/tools and execute: $android list sdk -a Which will show a list like: Android SDK Tools, revision 24.0.2 Android SDK Platform-tools, revision 23.0.2 Android SDK Platform-tools, revision 23.0.1 … and many more Then, execute the command (attention! at your computer the … Read more

tech