Implementation with Android App SDK
In Android Studio, choose File→Project Structure→Dependencies • In “Modules”panel, choose “+”
• Choose “import .JAR/.AAR Package”
• Browse to path of the file “sdk-alipay_release.aar”, select it by click “OK”, then“finish”
• The package will be imported to the project as dependency of your app in your Android project
• In you payment activity, import com.ottpay.sdk.*
• implement the payment SDK as following the code sample
Last updated