顯示具有 android 標籤的文章。 顯示所有文章
顯示具有 android 標籤的文章。 顯示所有文章

2019年6月26日 星期三

How to use Android Studio build static library

使用版本 Android Studio 3.1.3





















AndroidManifest.xml
CMakeLists.txt
都不用改
直接找最右邊的選項


























如果不會產生 library 就 clean































最後產生的檔案位置


2018年8月30日 星期四

Android debug keystore

參考網址:https://stackoverflow.com/questions/16622528/android-studio-debug-keystore

一般使用android run app時都會是跑debug build
如果要切換成release build跑時就會跳出app no signed的警告

因為懶得申請一個新的keystore
我是拿android幫你產生的debug keystore來用

它的位置在
~/.android/debug.keystore

它要的資訊可以按照下面的輸入
Key Alias => androiddebugkey
Key Password => android
Store File => ~/.android/debug.keystore
Store Password => android