We have the light

然后对门徒说:"我们再往犹太去吧。" (约翰福音 11:7 和合本)
and then he said to his disciples, "Let us go back to Judea." (John 11:7 NIV)
门徒说:"拉比,犹太人近来要拿石头打你,你还往那里去吗?" (约翰福音 11:8 和合本)
"But Rabbi," they said, "a short while ago the Jews there tried to stone you, and yet you are going back?" (John 11:8 NIV)
耶稣回答说:"白日不是有十二小时吗?人在白日走路,就不至跌倒,因为看见这世上的光。 (约翰福音 11:9 和合本)
Jesus answered, "Are there not twelve hours of daylight? Anyone who walks in the daytime will not stumble, for they see by this world's light. (John 11:9 NIV)
若在黑夜走路,就必跌倒,因为他没有光。" (约翰福音 11:10 和合本)
It is when a person walks at night that they stumble, for they have no light." (John 11:10 NIV)


Photo by Wes Hicks / Unsplash

react-native run-android : do not build/update modified code(App.js)

Solution

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 

c:\Users\lenger\Desktop\webrowser>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
Scanning folders for symlinks in c:\Users\lenger\Desktop\webrowser\node_modules (43ms)
Scanning folders for symlinks in c:\Users\lenger\Desktop\webrowser\node_modules (38ms)
Loading dependency graph, done.
bundle: start
bundle: finish
bundle: Writing bundle output to: android/app/src/main/assets/index.android.bundle
bundle: Done writing bundle output

Run react-native run-android again, you will find your modification work.

react-native run-android : Could not find com.android.tools.build:gradle:3.0.1

Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools.build:gradle:3.0.1.
Searched in the following locations:
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom
https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.jar
Required by:
project :

Solution

Add google() inside buildscript() and Sync Project.
gradle-issues

react-native run-android : buildToolsVersion "23.0.1" is ignored

c:\Users\lenger\Desktop\webrowser>git diff android/build.gradle

diff --git a/android/build.gradle b/android/build.gradle index eed9972..c5fecab 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -5,7 +5,7 @@ buildscript {          jcenter()      }      dependencies { -        classpath 'com.android.tools.build:gradle:2.2.3' +        classpath 'com.android.tools.build:gradle:3.0.1'           // NOTE: Do not place your application dependencies here; they belong          // in the individual module build.gradle files 

warning

c:\Users\lenger\Desktop\webrowser>git diff android/app/build.gradle

diff --git a/android/app/build.gradle b/android/app/build.gradle index b589c49..b20457c 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -95,7 +95,6 @@ def enableProguardInReleaseBuilds = false   android {      compileSdkVersion 23 -    buildToolsVersion "23.0.1"       defaultConfig {          applicationId "com.webrowser" 

react-native run-android : Failed to notify project evaluation listener

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

Failed to notify project evaluation listener.
com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

Open your app via Android Studio, you will get more info to resolve the issue.
gradle-sync-issues
The versions of the Android Gradle plugin and Gradle are not compatible.
Please do one of the following:

  • Update your plugin to version 2.4.
  • Downgrade Gradle to version 3.5.

vim : switch off automatic creation of backup files

~/.vimrc

set nobackup set nowritebackup 

Delight is in the law of the Lord

不从恶人的计谋,不站罪人的道路,不坐亵慢人的座位, (诗篇 1:1 和合本)
Blessed is the one who does not walk in step with the wicked or stand in the way that sinners take or sit in the company of mockers, (Psalms 1:1 NIV)
惟喜爱耶和华的律法,昼夜思想,这人便为有福! (诗篇 1:2 和合本)
but whose delight is in the law of the Lord , and who meditates on his law day and night. (Psalms 1:2 NIV)
他要像一棵树栽在溪水旁,按时候结果子,叶子也不枯干。凡他所做的尽都顺利。 (诗篇 1:3 和合本)
That person is like a tree planted by streams of water, which yields its fruit in season and whose leaf does not wither— whatever they do prospers. (Psalms 1:3 NIV)
恶人并不是这样,乃像糠秕被风吹散。 (诗篇 1:4 和合本)
Not so the wicked! They are like chaff that the wind blows away. (Psalms 1:4 NIV)
因此,当审判的时候、恶人必站立不住;罪人在义人的会中也是如此。 (诗篇 1:5 和合本)
Therefore the wicked will not stand in the judgment, nor sinners in the assembly of the righteous. (Psalms 1:5 NIV)
因为耶和华知道义人的道路;恶人的道路却必灭亡。 (诗篇 1:6 和合本)
For the Lord watches over the way of the righteous, but the way of the wicked leads to destruction. (Psalms 1:6 NIV)

A single tree in the middle of a field during sunrise
Photo by Roman Averin / Unsplash

fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...