Monthly Archives: December 2016

keytool usage sample script for Android keystore

1.Generate keystore keytool -genkey -v -keystore [keystore filename] -alias Release -keysize 2048 -validity 10000 -keyalg RSA -dname “CN=[CNName], OU=Mobile Development, O=[AuthorName], L=[CityName], ST=[StateName], C=[CountryName]” -keypass [password] -storekey [Storekey] 2.List keys information in keystore keytool -list -v -keystore [keystore filename] -storepass … Continue reading

Posted in Android development | Leave a comment

Android Studio 加 Admob 步驟(2016/12/09)

官網文件連結 https://firebase.google.com/docs/admob/android/quick-start 1.在Firebase建立新project https://firebase.google.com/docs/android/setup 1.1設定 此處的 app id 要和 Android Studio 裡的 package name 完全相同 否則會錯 例: 1.2下載 google-services.json 1.3修改 專案層級 的 build.gradle buildscript { dependencies { // Add this line classpath ‘com.google.gms:google-services:3.0.0’ } } 1.4修改 app 層級的 build.gradle //Add … Continue reading

Posted in Android development | Leave a comment