veritrans / veritrans-android

The easiest way to integrate with Veritrans payment API on android
MIT License
74 stars 54 forks source link

Got error when trying to open the SDK #345

Closed cphs closed 7 years ago

cphs commented 7 years ago

[EDITED] This is the real error.

Unable to start activity ComponentInfo{com.cphs.midtrans/com.midtrans.sdk.uikit.activities.UserDetailsActivity}: android.view.InflateException: Binary XML file line #32: Error inflating class

the previous one is my fault :), I got this error in example also

rakawestu commented 7 years ago

Hi @cphs which version of SDK did you use?

cphs commented 7 years ago

@rakawestu compile 'com.midtrans:uikit:1.6.1-SANDBOX'

cphs commented 7 years ago

I try the example also and get

Unable to start activity ComponentInfo{com.cphs.midtrans/com.midtrans.sdk.uikit.activities.UserDetailsActivity}: android.view.InflateException: Binary XML file line #32: Error inflating class

can you help me?

cphs commented 7 years ago

Remove .setDefaultText("open_sans_regular.ttf") when build the SDK, then fixed