Wednesday, December 28, 2016

[Android Studio] 建立及使用 AAR



Note:
引用  AAR  有  2 種方式:

    1. 引入編譯好的  AAR.
                 
                會將  .aar  檔案複製到目前的專案資料夾,並新建一個資料夾放 .aar。

    2. 引入AAR的模組(module).

               會將原本  AAR module 資料夾的內容複製到目前專案的資料夾 。



所以,
         1. 無論是引入編譯好的 AAR , 或是引入  AAR  Module, 都是把 .aar 或是資料庫的程式碼複製一份到目前的專案, 而不是連結到原來的資料庫程式碼,和大部分的 C++ 的 IDE 不同。

     2. 引入編譯好的 AAR 可以看到原始碼,但不能修改。 引入AAR模組可以修改程式碼, 但因為原始碼已經複製到目前的專案,所以只會修改目前專案程式碼,不會更動原始的程式碼。

Friday, December 16, 2016

Android Studio USB device not found??!!

[Reference] Android Studio關於USB device not found
  • Run Android SDK Manager as Administrator
  • Download Google USB Driver
  • Open Device Manager of the Computer
  • Update Driver Software of your device

 

phpMyAdmin 無法存取 MariaDB 10 的解決方法

 [Reference]  https://www.qnap.com/zh-tw/how-to/faq/article/%E7%82%BA%E4%BB%80%E9%BA%BC%E7%84%A1%E6%B3%95%E5%9C%A8-phpmyadmin-%E5%AD%98%E5%8...