Unable to unzip '/Users/lin/.gradle/caches/modules-2/files-2.1/android.arch.lifecycle/runtime/1.0.0/30c60a8a357ee1321ffd0c9f08ef54b24045cd10/runtime-1.0.0.aar' to '/Users/lin/.android/build-cache/461463660edaf90dfdbbbdf1b3fd11a320fb50df/output' or find the cached output '/Users/lin/.android/build-cache/461463660edaf90dfdbbbdf1b3fd11a320fb50df/output' using the build cache at '/Users/lin/.android/build-cache'.
解法:加上sudo
4.
error: could not install *smartsocket* listener: Address already in use
或是
adb server version (40) doesn't match this client (39);
19.Warning: Activity not started, intent has been delivered to currently running top-most instance.
這樣 app 不護更新畫面,需要把 app 從模擬器關閉後重新 run-android
20. Execution failed for task ':app:mergeDexDebug'
When your app and the libraries it references exceed 65,536 methods, you encounter a build error that indicates your app has reached the limit of the Android build architecture
const blacklist = require('metro-config/src/defaults/blacklist');
// blacklist is a function that takes an array of regexes and combines
// them with the default blacklist to return a single regex.
// 下面輸入不要觸發更新的資料夾名稱
module.exports = {
resolver: {
blacklistRE: blacklist([/server\/.*/])
}
};