paypal / paypal-here-sdk-android-distribution

Add credit card (swipe & key-in) capabilities to your Android app
Other
83 stars 95 forks source link

java.lang.IllegalArgumentException #195

Closed inabdev30 closed 3 years ago

inabdev30 commented 3 years ago

Unable to build the sample app, facing this issue:

Execution failed for task ':compileDebugJavaWithJavac'. java.lang.IllegalArgumentException: '_' may not be a valid Java identifier.

EarthyOrange commented 3 years ago

@inabdev30 Thanks for raising this issue. Can you please check this again on the master branch?

inabdev30 commented 3 years ago

@EarthyOrange Just check the sample app from master branch, i am still facing the same issue.

FAILURE: Build failed with an exception.

EarthyOrange commented 3 years ago

@inabdev30 We have verified that the Sample App on the master branch builds with the latest SDK.

Can you please attach the complete stack trace?

inabdev30 commented 3 years ago

I just check the sample app again and still facing same issue, I attach the file containing complete stack trace please have a look. complete build logs.txt

EarthyOrange commented 3 years ago

@inabdev30 Can you please try building the sample app after removing the following from the build.gradle file?

// Android Annotation

annotationProcessor 'org.androidannotations:androidannotations:4.4.0'

implementation 'org.androidannotations:androidannotations-api:4.4.0'
inabdev30 commented 3 years ago

@EarthyOrange Yes, it is working fine now. Thank you.