Sign in


Could not launch “Your App” failed to get the task for process 537

Have you ever tried to launch your app in different scheme but Xcode said it could not launch it? It was perfectly fine to launch in one scheme but not the other scheme. And you received an error prompt just like the above image.

Then you would click the “Details”…


Oh no, an error occurred.

I guess you’re here is because you’re using M1 for your Xcode project with Cocoapods, but you cannot perform pod install right?

The error message is a little frunstrating but at the same time it is very clear:

LoadError — dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle — /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle

This…


Have you ever experience your fragment’s UI not updating after exit from another fragment?

I spent hours to find out that the reason of this weirdness is that the fragment state after supportFragmentManager.popBackStack() is causing this issue

supportFragmentManager.popBackStack()

So, the solution is to use

supportFragmentManager.popBackStackImmediate("theFragment", 0)

instead, where the “theFragment”…


Gradle Build Failed at ':app:processDebugResources'

Previously, we talked about this version of Android Studio has an issue of Launcher Activity (See here). Now we got another issue about Android Studio 4.0.1, which is Gradle Build Process failed at ':app:processDebugResources'

This issue will produce log like:

AGPBI: {“kind”:”error”,”text”:”Android resources linking failed” …..

AAPT: Error: failed writing…


Android Studio 4.0.1 July 2020

Android Studio 4.0.1 just came out July 2020 and it has some instability issues. One of which is unable to launch your launcher activity for your project if you uninstalled it on the device.

The error from Android Studio is as below:

Error while executing: am start -n “LauncherActivity” -a…


CameraX

CameraX is a relatively new Camera API in Android. Unlike the predecessors, CameraX is easy to use and requires less tweaking in order to adopt a Camera View in your application. Since, in the official sample code, Google made it a little buggy (for good intentions though) and they only…


Apple just announced what’s new in web/safari on WWDC2020. Let’s take a look at what API changes are concerning web developers and wkwebview users.

1. Web Animation API

Web Animation API is new in Safari 13.1.

Web Animation API in #iOS14

i. Create and Control animation in JavaScript — Developer can now directly create and control the playback of…

Rick_HK

Hi this is Rick from Hong Kong. I am a native iOS and Android mobile developer and also a tech enthusiast. Find me on Twitter https://twitter.com/rick3817

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store