Skip to content

Latest commit

 

History

History
110 lines (85 loc) · 7.21 KB

android.md

File metadata and controls

110 lines (85 loc) · 7.21 KB

Android is a mobile operating system based on a modified version of the [[Linux]] kernel and other open source software, designed primarily for touchscreen mobile devices such as smartphones and tablets. Android is developed by a consortium of developers known as the Open Handset Alliance and commercially sponsored by Google. It was unveiled in November 2007, with the first commercial Android device launched in September 2008.

Learn

Practice

build

apk unpack & repack

  • apktool d test.apk
  • apktool b test -o test.apk
  • jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore test.keystore test.apk test -signedjar test_signed.apk
  • apksigner sign --v1-signing-enabled true --v2-signing-enabled false --v3-signing-enabled false --ks test.keystore test.apk

sign

  • 查看签名:
    • apksigner verify -v ./XXX.apk
    • Get APK Certificate Signature
      • unzip the APK and extract the file /META-INF/XXX.RSA
      • keytool -printcert -file XXX.RSA
  • 重新签名(仅 V1):
    • apksigner sign --v1-signing-enabled true --v2-signing-enabled false --v3-signing-enabled false --ks ./XXX.keystore ./XXX.apk
  • keytool -printcert -jarfile XXX.apk
  • keytool -list -v -keystore XXX.keystore
  • Bundletool is a command-line tool to manipulate Android App Bundles
    • 查询 aab version code bundletool dump manifest --xpath /manifest/@android:versionCode --bundle AAB_FILE_PATH

Projects

  • Telegram for Android source
  • topeka, A fun to play quiz that showcases material design on Android
  • androidpn, An open source project to provide push notification support for Android -- a xmpp based notification server and a client tool kit.

Tools

  • scrcpy, Display and control your Android device
  • LeakCanary is a memory leak detection library for Android. https://square.github.io/leakcanary
  • AndroidGodEye A performance monitor tool , like "Android Studio profiler" for Android , you can easily monitor the performance of your app real time in pc browser
  • Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system https://anbox.io
  • AndroidAutoSize: A low-cost Android screen adaptation solution (今日头条屏幕适配方案终极版,一个极低成本的 Android 屏幕适配方案).

FAQs

Resources

  • Awesome Android, A curated list of awesome Android libraries and resources. For general Java libraries have a look at awesome-java.
  • Open-Source Android Apps, This is a collection of Android Apps which are open source.
  • AndroidDevTools: 收集整理Android开发所需的Android SDK、开发中用到的工具、Android开发教程、Android设计规范,免费的设计素材等。