add new andorid library
Gradle
build.gradle(module:app)
compile project(':libraryname');
sync
add new andorid library
Gradle
build.gradle(module:app)
compile project(':libraryname');
sync
hash sum mismatch:
http://hk.archive.ubuntu.com trusty/main Translation-en_HK
http://hk.archive.ubuntu.com trusty/multiverse Translation-en_HK
http://hk.archive.ubuntu.com trusty/restricted Translation-en_HK
http://hk.archive.ubuntu.com trusty/universe Translation-en_HK
nano /etc/apt/sources.list ctrl+w(search) ctrl+r(replace) "hk." "" A(All) Ctrl+x save apt-get update apt-get update && apt-get upgrade
cd /System/Library/Frameworks/MediaToolbox.framework/ mv RegionalSystemSoundsThatShareBehaviour.plist RegionalSystemSoundsThatShareBehaviour.plist.bak
Inside activity tag
if you want VERTICAL fixed orientation
android:screenOrientation="portrait"
android:screenOrientation="landscape"
if you want HORIZONTAL fixed orientation
Recent Comments