Archive for the ‘未分類’ Category
Android Studio – BuildConfig could not resolve
2025年5月26日Add follwoing setting into app/build.gradle
android {
buildFeatures {
buildConfig true
}
}
Namespace not specified. Specify a namespace in the module’s build file: …/app/build.gradle
2025年4月15日remove package attribute form <manifest> in AndroidManifest.xml
add ‘namespace’ in ‘android’ in app/build.gradle
android {
namespace "com.xxx.yyy.zzzzzz"
…
}
git error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
2025年3月13日https://stackoverflow.com/questions/38378914/how-to-fix-git-error-rpc-failed-curl-56-gnutls
git config --global http.postBuffer 1048576000
git config --global https.postBuffer 1048576000
ReactNative Error: Can’t create handler inside thread Thread[create_react_context,5,main] that has not called Looper.prepare()
2025年3月12日java.lang.RuntimeException: Can't create handler inside thread Thread[create_react_context,5,main] that has not called Looper.prepare()
Need to pass 'Looper.getMainLooper()' to constructor of Handler
pip error: This environment is externally managed
2025年3月9日
python3 -m pip config set global.break-system-packages true
error C1090: PDB API call failed, error code ‘3’
2025年3月6日project properties: C++ > Output files: Program Database Filename
Set empty this field, then rebuild
ReactNative Android : build error > A problem occurred starting process ‘command ‘node”
2025年2月26日<solution 1> Stop the running Gradle daemon
https://github.com/facebook/react-native/issues/6875
cd android
./gradlew –stop
<solution 2> Open Android Studio from the Terminal to ensures it inherits the environment variables set in your shell.
open -a /Applications/Android\ Studio.app
[expo android gradle buid error] A problem occurred evaluating settings ‘android’. A problem occurred starting process ‘command ‘nod
2025年1月27日open Android Studio from terminal using this command for Mac users open -a “Android Studio”