Difference between revisions of "Android SDK Setting"
From AdLocus
(→Getting Start with AdLocus) |
|||
| Line 1: | Line 1: | ||
| − | + | = Getting Start with AdLocus = | |
以下將說明您怎麼整入 AdLocus SDK. | 以下將說明您怎麼整入 AdLocus SDK. | ||
| − | + | ==環境設置== | |
* Min SDK : 19 | * Min SDK : 19 | ||
* Compile Sdk Version : 26 | * Compile Sdk Version : 26 | ||
-------- | -------- | ||
| − | Dependency | + | ==Dependency lib== |
| − | + | ||
=== Hyxen SDK === | === Hyxen SDK === | ||
| Line 16: | Line 15: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | == 系統 == | + | === 系統 === |
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
implementation 'com.android.support:appcompat-v7:26.1.0' | implementation 'com.android.support:appcompat-v7:26.1.0' | ||
| Line 32: | Line 31: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | == Http agent == | + | === Http agent === |
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
// Http agent | // Http agent | ||
| Line 38: | Line 37: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | == RxJava == | + | === RxJava === |
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
implementation 'io.reactivex.rxjava2:rxjava:2.0.6' | implementation 'io.reactivex.rxjava2:rxjava:2.0.6' | ||
| Line 45: | Line 44: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | == Google == | + | === Google === |
<syntaxhighlight lang="java"> | <syntaxhighlight lang="java"> | ||
// Google | // Google | ||
implementation 'com.google.android.gms:play-services-ads:15.0.1' | implementation 'com.google.android.gms:play-services-ads:15.0.1' | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 10:47, 3 December 2019
Contents
Getting Start with AdLocus
以下將說明您怎麼整入 AdLocus SDK.
環境設置
- Min SDK : 19
- Compile Sdk Version : 26
Dependency lib
Hyxen SDK
//implementation(name: 'adlocusaar-debug', ext: 'aar') implementation 'com.hyxen.adlocusaar:adlocusaar:4.1.07'
系統
implementation 'com.android.support:appcompat-v7:26.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
Json parser
// Json parser annotationProcessor 'com.bluelinelabs:logansquare-compiler:1.3.6' implementation 'com.bluelinelabs:logansquare:1.3.7' implementation "com.github.aurae.retrofit2:converter-logansquare:1.4.1"
Http agent
// Http agent implementation 'com.squareup.retrofit2:retrofit:2.2.0'
RxJava
implementation 'io.reactivex.rxjava2:rxjava:2.0.6' implementation 'io.reactivex.rxjava2:rxandroid:2.0.1' implementation 'com.squareup.retrofit2:adapter-rxjava2:2.2.0'
// Google implementation 'com.google.android.gms:play-services-ads:15.0.1'