Difference between revisions of "Android SDK Setting"

From AdLocus
Jump to: navigation, search
(→‎Getting Start with AdLocus)
(→‎Getting Start with AdLocus)
Line 6: Line 6:
 
* Min SDK : 19
 
* Min SDK : 19
 
* Compile Sdk Version : 26
 
* Compile Sdk Version : 26
−
 
+
--------
 
Dependency lib:
 
Dependency lib:
−
===============================
+
 
 
=== Hyxen SDK ===
 
=== Hyxen SDK ===
  

Revision as of 10:44, 3 December 2019

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

// Google
implementation 'com.google.android.gms:play-services-ads:15.0.1'