-fno-integrated-as
를 사용하여 빌드하는 경우 이 플래그를 삭제할 수 없다면 버그 신고)ndk-gdb
는 LLDB
사용)NDK r24
부터 sysroot
의 armeabi-v7a
라이브러리가 Neon으로 빌드됨$ sudo apt-get install git-core gnupg flex bison build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 libncurses5-dev lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z1-dev libgl1-mesa-dev libxml2-utils xsltproc unzip fontconfig
$HOME/bin
create$ mkdir ~/bin
PATH
에 등록~/.zshrc
에 등록함 (근데 보통 ~/.profile
에서 $HOME/bin
을 PATH
에 넣게 되어 있음)# ~/.zshrc
PATH=~/bin:PATH
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
# repo file은 python 파일임
$ chmod a+x ~/bin/repo
$ gpg --recv-key 8BB9AD793E8E6153AF0F9A4416530D5E920F5C65
$ curl https://storage.googleapis.com/git-repo-downloads/repo.asc | gpg --verify - ~/bin/repo
$ ~/bin/repo init -u https://android.googlesource.com/platform/manifest
$ ~/bin/repo sync -j8 # 오래걸림
$HOME
디렉터리에 bin 디렉터리를 만들고 $PATH
에 등록한다.$ mkdir $HOME/bin
PATH는 자기가 쓰는 셸 설정 파일에 insert 할 것
Manifest.xml
을 가지는데, 이는 Android 빌드 도구, Android OS 및 App에 관한 정보를 포함한다.<?xml version="1.0" encoding="utf-8">
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1"
android:versionName="1.0"
package="com.example.myapp">
<!-- Beware that these values are overridden by the build.gradle file -->
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="26 />
<application
android:allowBackup="true"> .... 중략
<application>
요소에서 android:icon
특성은 앱을 식별하는 아이콘에 대한 리소스를 가리킨다.<activity>
요소에서는 android:name
특성이 Activity 하위 클래스의 완전 정규화된 클래스 이름을 나타내며, android:label
특성은 액티비티의 사용자에게 표시되는 레이블로 사용할 문자열을 나타낸다.<activity>
: Activity<service>
: Service<receiver>
: Broadcast Receiver<provider>
: Content Provider... Manifest 내용 출처: https://velog.io/@wlgy33/Manifest%EB%9E%80