When running flutter apps on the device, sometimes you may encounter the captioned error message as following (either from Android Studio, Intelligidea or CLI):
Could not install build/ios/iphoneos/Runner.app
To resolve this, try below measures, preferably sequentially in terminal:
cd "$(xcrun --sdk iphoneos -- show-sdk-platform-path)/DeviceSupport" sudo ln -s 10.3.1\ \(14E8301\) 10.3
After running these commands, it should work fine, and if not, try run this command below in terminal:
Re-run the app, now it works like a charm.
Vuforial is a widely used AR toolkit, and if you use it for some time, you will find “Delayed Initialization” for sure.
You would like to try it, right?
Go and do it, cry please, you will see below errors:
Vuforia cannot be started before it is initialized.Please disable Delayed Initialization in the Vuforia configuration or initialize Vuforia manually with the VuforiaRuntime-class.
You would Google this, frustrated, as you can hardly find good answers, and here is why this article comes into play. Read the rest of this entry »
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!)