原创 Linux環境裏,重新啓動數據庫

描述 服務器很久沒使用,突然有人告訴我說,我服務器進不去,說實話,啥都忘記了。只能各種找回賬號密碼,辛苦登上了阿里雲,先啓動Spring服務,再去啓動mysql數據,搞了兩個小多時,終於完成。記錄下,解決問題的過程,希望看文章的,

原创 Error: Duplicate resources

[drawable-xhdpi-v4]png: Error: Duplicate resources 解決辦法: https://stackoverflow.com/questions/53239705/react-native

原创 Android規範寫法

內容來自https://blog.csdn.net/xiabing082/article/details/54092357 TextView mTextView = this.findViewById(R.id.mTextVie

原创 0.57.5版本的RN報錯:undefined is not a function(evaluating '_this.registerEvents()')

CSDN上有人給出瞭解決方案,我項目跟他類似,也是0.57.5版本的RN項目 https://blog.csdn.net/u012852597/article/details/82696226 官方解決問題記錄是在:https:/

原创 小米手機安裝出錯:It is possible that this issue is resolved by uninstalling an existing version of

使用AS3.0.1版本,手機是紅米note2,安裝測試AndroidTest,安裝提示以下錯誤。 Installation failed with message Failed to establish session. It i

原创 Cannot resolve symbol 'R'

這個問題,很煩,不解決也沒問題,但看着心累,實在是受不了,就查下解決辦法,有說clean build的,有說Restart的,試過,都不行; Cannot resolve symbol 'R' 最後的解決辦法: 參考知乎上的網友

原创 Maven開發

基於上次使用springMvc+mybatis+maven開發的接口,居然一點筆記都沒寫,這次好好把使用方法補上。 1,使用MyBatis Generator 要先把下面第三步的mysql安裝好,這步才能做。 這其實就是一

原创 Rn錯誤集

錯誤集 1、Attempt to invoke virtual method 'android.graphice. Attempt to invoke virtual method 'android.graphice.drawab

原创 RN: requireNativeComponent:"RCTView" was not found in the UIManager.

國內學習RN的難度確實不低,很多錯誤沒遇到,遇到也很難找到答案。多做些錯誤記錄,能幫助後來者解決問題。 我的環境是: RN:0.59.5 Android手機調試,本意是想開始Debug模式,從網頁端能查看到日誌,並做斷點調試,之前我是

原创 React-Native:從0.57.5升級到0.59.5,Android端遇到的錯誤以及解決辦法

錯誤日誌: Could not get unknown property ‘mergeResourcesProvider’ RN從57.5升級到59.5,先把原先的mode_modules刪乾淨,再npm install,完了之後

原创 Python: ImportError: Could not import 'xxx' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'

錯誤日誌 ImportError: Could not import 'myapp.api.base.MyAuth' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. Attribu

原创 error:com.android.ide.common.process.ProcessException: Failed to execute aapt

運行命令打包文件 cd android && gradlew assembleRelease 報如下錯誤 Execution failed for task ':aliyun-oss-react-native:verifyRelea

原创 undefined is not a function(evaluating '_this.registerEvents()')

CSDN上有人給出瞭解決方案,我項目跟他類似,也是0.57.5版本的RN項目 https://blog.csdn.net/u012852597/article/details/82696226 官方解決問題記錄是在:https://g

原创 This is related to npm not being able to find a file

以下是React-Native導入第三方包時報的錯誤,老手請躲避。 運行命令:npm install --save martian-android-supporter npm ERR! path F:\Git\xxx\xxx\node

原创 More than one file was found with OS independent path 'lib/armeabi-v7a/xxx.so'

問題描述,我這個so文件在第三方庫中,主程序中找不到該so庫,報如下錯誤。 Error:Execution failed for task ':app:transformNativeLibsWithMergeJniLibsForDeb