[PROBLEM] Android Stuido 3 with Gradle 3.0.0

candidosales
Helper

[PROBLEM] Android Stuido 3 with Gradle 3.0.0

We migrated our app to Android Studio 3 and Gradle 3 and this error occurred:

 

/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_ca.xml
Error:(145, 7) Cannot find the getter for attribute 'bind:selectedValue' with value type java.lang.String on android.widget.Spinner. 
/Users/candidosg/Documents/Projects/app-android/app/src/main/res/layout/adapter_carousel_session_item.xml
Error:(32, 29) Cannot find the setter for attribute 'app:imageUrl' with parameter type java.lang.String on android.widget.ImageView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_au.xml
Error:(150, 7) Cannot find the getter for attribute 'bind:selectedValue' with value type java.lang.String on android.widget.Spinner. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_verification_no_suggestion.xml
Error:(122, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_error_dialog.xml
Error:(28, 21) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_review_and_continue.xml
Error:(152, 29) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_manual_signin_fragment.xml
Error:(41, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_ie.xml
Error:(142, 7) Cannot find the getter for attribute 'bind:selectedValue' with value type java.lang.String on android.widget.Spinner. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vcop_wallet_load_error_fragment.xml
Error:(26, 21) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_welcome.xml
Error:(49, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/Documents/Projects/app-android/app/src/main/res/layout/content_register_photo.xml
Error:(34, 29) Cannot find the setter for attribute 'app:imageUrl' with parameter type java.lang.String on android.widget.ImageView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_fragment_device_locked.xml
Error:(40, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vcop_fragment_wallet_selector.xml
Error:(34, 23) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_add_payment_method.xml
Error:(340, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_es.xml
Error:(169, 7) Cannot find the getter for attribute 'bind:selectedValue' with value type java.lang.String on android.widget.Spinner. 
/Users/candidosg/Documents/Projects/app-android/app/src/main/res/layout/adapter_carousel_session_item_small.xml
Error:(39, 47) Cannot find the setter for attribute 'app:imageUrl' with parameter type java.lang.String on android.widget.ImageView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_create_account.xml
Error:(206, 31) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.CheckBox. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_rnc_fragment.xml
Error:(42, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_add_address.xml
Error:(143, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_suggestion_item.xml
Error:(80, 23) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_verify_otp_fragment.xml
Error:(43, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/Documents/Projects/app-android/app/src/main/res/layout/adapter_carousel_session_item_icon.xml
Error:(32, 29) Cannot find the setter for attribute 'app:imageUrl' with parameter type java.lang.String on android.widget.ImageView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_fp_create_password.xml
Error:(43, 29) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_fragment_challenge_generate_verification_code.xml
Error:(39, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_fp_sign_in_content.xml
Error:(39, 21) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_address_us.xml
Error:(144, 7) Cannot find the getter for attribute 'bind:selectedValue' with value type java.lang.String on android.widget.Spinner. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_update_tc.xml
Error:(75, 25) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_signin_modal.xml
Error:(112, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.Button. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_exo_get_new_verification_code_fragment.xml
Error:(40, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
/Users/candidosg/Documents/Projects/app-android/app/src/main/res/layout/content_store_header.xml
Error:(30, 33) Cannot find the setter for attribute 'app:imageUrl' with parameter type java.lang.String on android.widget.ImageView. 
/Users/candidosg/.gradle/caches/transforms-1/files-1.1/visacheckout-android-sdk-5.5.0.aar/84fbd178e4e7c3f79dfcf048a45457cf/res/layout/vco_fragment_fp_reset.xml
Error:(50, 27) Cannot find the setter for attribute 'app:font' with parameter type java.lang.String on android.widget.TextView. 
Error:Execution failed for task ':app:compileAlphaDebugJavaWithJavac'.
> android.databinding.tool.util.LoggedErrorException: Found data binding errors.

 

Can you upgrade Visa Checkout to the new version of Gradle?

We are using Visa Checkout version 5.5.0.

3 REPLIES 3
API_Products
Visa Developer Support Specialist

Re: [PROBLEM] Android Stuido 3 with Gradle 3.0.0

Hello,

 

Thank you for posting your question. To address this issue, there is an Android 5.5.2 release available on the Visa Checkout page under the section called, "Adding Visa Checkout to a Mobile Application".  Please feel free to access that webpage with this link - https://developer.visa.com/capabilities/visa_checkout/docs#adding_visa_checkout_to_a_mobile_applicat....

 

Thanks,

Diane

Visa Developer Team




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: [PROBLEM] Android Stuido 3 with Gradle 3.0.0

Hi @MilesSmith,

 

I'll take a look and get back to you soon!

 

                             




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

API_Products
Visa Developer Support Specialist

Re: [PROBLEM] Android Stuido 3 with Gradle 3.0.0

Hi @MilesSmith,

 

After doing some research on Gradle, it appears that there are several later versions than 3.0. Have you tried a more up to date version? After the app crashes, are there any error messages?

 

Can you please submit this query using email to developer@visa.com, and reference this community forum query? There is additional information I'd like to request you to provide so that we can provide you with further direct assistance from the Visa Checkout Merchant Services team.

 

 

 

 

                              




Thanks,

Diana



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.