In my recent project, I created a brand new React-native project, and run that on the simulator, then the captioned error pops up:
“No dimensions set for key window”
What hell does this mean? After a quick search on the internet, we found the solution: it turns out that the terminal (Mac) or the command line window is running for quite some time, and for unknown reasons, some of the information is outdated, which results in the captioned errors.
So the solution is simple:
- Turn off all the terminal instances, restart the terminal/command line window,
- Re-run the command: react-native run-ios
That is it! Happy coding!
Chapter 1 | Hello Virtual World
Chapter 2 | Panoramic Road Trip
Chapter 3 | Outdoor Movie Theater
Chapter 4 | Transitions and Animations
Chapter 5 | Star Wars Modeling
Chapter 6 | Vector Graphic Exploration
Chapter 7 | UI/UX Principles for VR Design
Chapter 8 | Building a VR Video App
Chapter 9 | Reacting to Our Exploration
Please support Michael Mangialardi either by up-voting his articles as shown above or purchase his git book.
Recently, I build some open source Android libraries, and when building the project, below error occurred:
Error:(2, 0) Plugin with id ‘com.github.dcendents.android-maven’ not found.
install Yarn, everything works!
Mac: brew install yarn
Windows: refer to this link.
A less elegant solution is to manually change the top level build.gradle:
classpath ‘com.github.dcendents:android-maven-gradle-plugin:1.5‘ //Add this
classpath ‘com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3‘ //Add this
Rebuild. It should work. But this is tedious, for every project (e.g. react-native), you repeat doing so? Emmmmmm!
Now try to create a new react-native project using:
react-native init ProjectName
Run the project:
react-native run-android // or
It compiles and works! Happy coding.
This is the 2nd part of the series of tutorial. If you have not setup the Firebase SDK and want to know how to create and manage project in Firebase Console, refer to my previous post below:
In this article, I am going to focus on using Firebase to support user authorization or user login features. Simple user name and password based authorization is demonstrated.
Source Code hosted at GitHub here.
(Open Assets\EmailPassword.Unity and run on your android device!)
Firebase is a platform that helps you quickly develop high-quality apps, It is made up of a collection of features that is very handy for Unity3D, Android, iOS app developers.
In this series of tutorials, I am going to cover how to harness Firebase features to streamline your app development process. Each tutorial is designed to be compact, and follows the SRP (Single Responsibility Principle), so that you can use these take-aways quickly in your own development.